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

Message ID 20210930171120.GA25282@delia
State New
Headers show
Series
  • [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.
Hi,

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.

Committed to trunk.

Thanks,
- 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(-)

Patch

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
 }