diff options
author | Lancelot SIX <lsix@lancelotsix.com> | 2021-11-19 23:27:18 +0000 |
---|---|---|
committer | Lancelot SIX <lsix@lancelotsix.com> | 2022-01-07 22:43:32 +0000 |
commit | 1182b42df6b11fc9fe1619139a3ee80457d9d37e (patch) | |
tree | 8351743b5f4e085ec9684419d9e9dae940e6b0c0 /gdb | |
parent | 08c8808ae274801163a259bdc425165ac8fbf097 (diff) | |
download | gdb-1182b42df6b11fc9fe1619139a3ee80457d9d37e.zip gdb-1182b42df6b11fc9fe1619139a3ee80457d9d37e.tar.gz gdb-1182b42df6b11fc9fe1619139a3ee80457d9d37e.tar.bz2 |
gdb/testsuite: Remove duplicates from gdb.base/decl-before-def.exp
When running the testsuite, I have:
Running .../gdb/testsuite/gdb.base/decl-before-def.exp ...
DUPLICATE: gdb.base/decl-before-def.exp: p a
Fix by giving explicit names to the two tests that use the same command.
Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.base/decl-before-def.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/decl-before-def.exp b/gdb/testsuite/gdb.base/decl-before-def.exp index 970cdcc..c4120a2 100644 --- a/gdb/testsuite/gdb.base/decl-before-def.exp +++ b/gdb/testsuite/gdb.base/decl-before-def.exp @@ -23,10 +23,10 @@ if {[prepare_for_testing "failed to prepare" $testfile $sources]} { # This is required due to PR25764. gdb_test "maint expand-symtabs" -gdb_test "p a" { = \{1, 2\}} +gdb_test "p a" { = \{1, 2\}} "no running process: p a" if ![runto_main] then { return 0 } -gdb_test "p a" { = \{1, 2\}} +gdb_test "p a" { = \{1, 2\}} "running process: p a" |