From 243c0950e2ce716ed41a950ac0b523c1aef3d1b5 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 30 Sep 2021 19:07:48 +0200 Subject: [PATCH] [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. --- gdb/testsuite/gdb.base/info-os.exp | 1 - 1 file changed, 1 deletion(-) 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 } -- 2.30.2