From 7264ba83317a0cdb8ffd9e07dda7892bf0f6fcf2 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 30 Sep 2021 19:07:48 +0200 Subject: [PATCH] [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. --- gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.30.2