[gdb/testsuite] Use untested in gdb.debuginfod/fetch_src_and_symbols.exp

With running test-case gdb.debuginfod/fetch_src_and_symbols.exp with target
board unix/-bad, I get:
...
gcc: error: unrecognized command line option '-bad'^M
compiler exited with status 1
gdb compile failed, gcc: error: unrecognized command line option '-bad'
FAIL: gdb.debuginfod/fetch_src_and_symbols.exp: compile
...

Replace the FAIL with the usual:
...
UNTESTED: gdb.debuginfod/fetch_src_and_symbols.exp: failed to compile
...

Tested on x86_64-linux.
This commit is contained in:
Tom de Vries 2021-09-30 19:07:48 +02:00
parent 243c0950e2
commit 7264ba8331

View File

@ -54,7 +54,7 @@ if { [catch {file copy -force ${srcdir}/${subdir}/${srcfile} \
}
if { [gdb_compile "$sourcetmp" "$binfile" executable {debug}] != "" } {
fail "compile"
untested "failed to compile"
return -1
}