[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.
This commit is contained in:
Tom de Vries
2021-09-30 19:07:48 +02:00
parent 50f9e7d853
commit 243c0950e2

View File

@ -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
}