aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2024-06-11 20:31:54 +0200
committerHannes Domani <ssbssa@yahoo.de>2024-06-11 20:36:34 +0200
commit4bafd5b7f377bac19a6dad748f6a162556696c01 (patch)
tree6e2b86fa6439469c8d5be75a0f8f943856cebd1e /gdb
parent8130c1a430c952f65b621aee2c801316a61fab14 (diff)
downloadgdb-4bafd5b7f377bac19a6dad748f6a162556696c01.zip
gdb-4bafd5b7f377bac19a6dad748f6a162556696c01.tar.gz
gdb-4bafd5b7f377bac19a6dad748f6a162556696c01.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>
Diffstat (limited to 'gdb')
-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"