From: Hannes Domani Date: Tue, 11 Jun 2024 18:31:54 +0000 (+0200) Subject: Restore bitshift.exp tests X-Git-Tag: binutils-2_43~446 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bafd5b7f377bac19a6dad748f6a162556696c01;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/gdb/testsuite/gdb.base/bitshift.exp b/gdb/testsuite/gdb.base/bitshift.exp index cfb1e7b9820..61c7eca2747 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"