aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2024-06-11 20:31:54 +0200
committerHannes Domani <ssbssa@yahoo.de>2024-07-05 21:42:49 +0200
commit041fb9da7dc674bb335a0a26443a4b4339e995f9 (patch)
treea0241dc2a496e3eb6e1e967ada3664a6a7c972b6
parentb1f7227b7e6cfa64c0876b1a34cde9d823d94ff0 (diff)
downloadgdb-041fb9da7dc674bb335a0a26443a4b4339e995f9.zip
gdb-041fb9da7dc674bb335a0a26443a4b4339e995f9.tar.gz
gdb-041fb9da7dc674bb335a0a26443a4b4339e995f9.tar.bz2
Restore bitshift.exp tests
Commit cdd4206647 unintentionally disabled all tests of bitshift.exp, so it actually just does this: Running /c/src/repos/binutils-gdb.git/gdb/testsuite/gdb.base/bitshift.exp ... PASS: gdb.base/bitshift.exp: complete set language === gdb Summary === # of expected passes 1 It changed the 'continue' of unsupported languages to 'return', and since ada is the first language and is unsupported, no tests were run. This changes it back to 'continue', and the following patches fix the regressions that were introduced since then unnoticed. Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/testsuite/gdb.base/bitshift.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/bitshift.exp b/gdb/testsuite/gdb.base/bitshift.exp
index cfb1e7b..61c7eca 100644
--- a/gdb/testsuite/gdb.base/bitshift.exp
+++ b/gdb/testsuite/gdb.base/bitshift.exp
@@ -178,7 +178,7 @@ proc test_shifts {} {
"unknown" "ada" "modula-2" "pascal" "fortran"
}
if {[lsearch -exact $skip_langs $lang] >= 0} {
- return
+ continue
}
gdb_test_no_output "set language $lang"