From: Tom de Vries Date: Thu, 30 Sep 2021 17:07:48 +0000 (+0200) Subject: [gdb/testsuite] Use untested in gdb.debuginfod/fetch_src_and_symbols.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7264ba83317a0cdb8ffd9e07dda7892bf0f6fcf2;p=binutils-gdb.git [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. --- diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp index 81d4791eb6d..93490fce41e 100644 --- a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp +++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp @@ -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 }