From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A71503938C2C; Thu, 11 Jun 2020 10:45:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A71503938C2C From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/26110] New: invalid command name in one test-case aborts entire test run Date: Thu, 11 Jun 2020 10:45:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Thu, 11 Jun 2020 10:45:11 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26110 Bug ID: 26110 Summary: invalid command name in one test-case aborts entire test run Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Say we mistakenly do: ... diff --git a/gdb/testsuite/gdb.ada/O2_float_param.exp b/gdb/testsuite/gdb.ada/O2_float_param.exp index 09ebeec405..87f344b1e8 100644 --- a/gdb/testsuite/gdb.ada/O2_float_param.exp +++ b/gdb/testsuite/gdb.ada/O2_float_param.exp @@ -29,3 +29,5 @@ runto "increment" gdb_test "frame" \ "#0\\s+callee\\.increment \\(val(=3Dval@entry)?=3D99\\.0, msg=3D\\.\\.\\.\\).*" + +foobar ... and try to run the test-suite, we have: ... Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for targ= et. Using /data/gdb_versions/devel/src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /data/gdb_versions/devel/src/gdb/testsuite/gdb.ada/O2_float_param.e= xp ... SOURCING: /data/gdb_versions/devel/src/gdb/testsuite/gdb.ada/O2_float_param= .exp ERROR: (DejaGnu) proc "foobar" does not exist. The error code is TCL LOOKUP COMMAND foobar The info on the error is: invalid command name "foobar" while executing "::tcl_unknown foobar" ("uplevel" body line 1) invoked from within "uplevel 1 ::tcl_unknown $args" =3D=3D=3D gdb Summary =3D=3D=3D # of expected passes 2 /data/gdb_versions/devel/build/gdb/gdb version 10.0.50.20200610-git -nw -nx -data-directory /data/gdb_versions/devel/build/gdb/testsuite/../data-direct= ory=20 ... So, the entire subsequent test run is aborted because of a mistake inside a single test-case. --=20 You are receiving this mail because: You are on the CC list for the bug.=