[gdb/testsuite] Use untested in gdb.debuginfod/fetch_src_and_symbols.exp
authorTom de Vries <tdevries@suse.de>
Thu, 30 Sep 2021 17:07:48 +0000 (19:07 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 30 Sep 2021 17:07:48 +0000 (19:07 +0200)
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.

gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp

index 81d4791eb6d7aa9b4bc16484249c1181164ad2fd..93490fce41efe6df23d7e400c14ea159e16020f5 100644 (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
 }