[committed,gdb/testsuite] Remove redundant FAIL in gdb.base/info-os.exp

Message ID 20210930171120.GA25282@delia
State New
Headers show
  • [committed,gdb/testsuite] Remove redundant FAIL in gdb.base/info-os.exp
Related show

Commit Message

Lancelot SIX via Gdb-patches Sept. 30, 2021, 5:11 p.m.

When running test-case gdb.base/info-os.exp with target board unix/-bad, I run
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.

Committed to trunk.

- Tom

[gdb/testsuite] Remove redundant FAIL in gdb.base/info-os.exp

 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