From: Tom de Vries Date: Thu, 30 Sep 2021 17:07:48 +0000 (+0200) Subject: [gdb/testsuite] Remove redundant FAIL in gdb.base/info-os.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=243c0950e2ce716ed41a950ac0b523c1aef3d1b5;p=binutils-gdb.git [gdb/testsuite] Remove redundant FAIL in gdb.base/info-os.exp When running test-case gdb.base/info-os.exp with target board unix/-bad, I run into: ... gdb compile failed, gcc: error: unrecognized command line option '-bad' UNTESTED: gdb.base/info-os.exp: failed to prepare FAIL: gdb.base/info-os.exp: cannot compile test program ... Remove the redundant FAIL. Tested on x86_64-linux. --- diff --git a/gdb/testsuite/gdb.base/info-os.exp b/gdb/testsuite/gdb.base/info-os.exp index 14bbbd95a07..c33b47692b5 100644 --- a/gdb/testsuite/gdb.base/info-os.exp +++ b/gdb/testsuite/gdb.base/info-os.exp @@ -29,7 +29,6 @@ if [gdb_skip_xml_test] then { # Compile test program. if { [prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads}] } { - fail "cannot compile test program" return -1 }