From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C878C3850430; Tue, 1 Dec 2020 13:54:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C878C3850430 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/26991] FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue to a bnd violation Date: Tue, 01 Dec 2020 13:54:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2020 13:54:07 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26991 --- Comment #1 from Tom de Vries --- With this tentative patch: ... diff --git a/gdb/testsuite/gdb.arch/i386-mpx-call.exp b/gdb/testsuite/gdb.arch/i386-mpx-cal l.exp index 41abbeebcf..5347eaecc2 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx-call.exp +++ b/gdb/testsuite/gdb.arch/i386-mpx-call.exp @@ -138,7 +138,17 @@ proc check_bound_violation {parm parm_type is_positive= } { global u_fault - gdb_test "continue" "$u_fault.*" "continue to a bnd violation" + set have_violation 0 + gdb_test_multiple "continue" "continue to a bnd violation" { + -wrap -re "$u_fault.*" { + set have_violation 1 + pass $gdb_test_name + } + } + + if { ! $have_violation } { + return + } set message "access only one position" if {$is_positive =3D=3D 1} { ... we have instead just: ... Running /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.arch/i386-mpx-call.exp= ... FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd1: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: chars_up: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: chars_low: continue to a bnd violation FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: continue to a bnd violation =3D=3D=3D gdb Summary =3D=3D=3D # of expected passes 137 # of unexpected failures 11 ... --=20 You are receiving this mail because: You are on the CC list for the bug.=