aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-09-30 19:07:48 +0200
committerTom de Vries <tdevries@suse.de>2021-09-30 19:07:48 +0200
commit7264ba83317a0cdb8ffd9e07dda7892bf0f6fcf2 (patch)
treeed24481aafe03f1bf6f406290122d37dc0e78e03
parent243c0950e2ce716ed41a950ac0b523c1aef3d1b5 (diff)
downloadgdb-7264ba83317a0cdb8ffd9e07dda7892bf0f6fcf2.zip
gdb-7264ba83317a0cdb8ffd9e07dda7892bf0f6fcf2.tar.gz
gdb-7264ba83317a0cdb8ffd9e07dda7892bf0f6fcf2.tar.bz2
[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.
-rw-r--r--gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp
index 81d4791..93490fc 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
}