From: Luis Machado Date: Thu, 1 Dec 2016 20:47:50 +0000 (-0600) Subject: Fixup testcases outputting own name as a test name and standardize failed compilation... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84c93cd5f1ff869eb8c04314738eaa2cddb3c29e;p=binutils-gdb.git Fixup testcases outputting own name as a test name and standardize failed compilation messages Changes in v3: - Adjusted some testcases where the message "failed to compile" was not unique. Changes in v2: - Addressed comments from reviewers. - Fixed spurious whitespaces. - Changed compilation failure messages that included source/binary paths to ones that are short and deterministic. --- Another bit of cleanup to the testsuite. We have a number of tests that are not honoring the rule of not outputting their own name as a test name. I fixed up all the offenders i could find with the following regular expression: "(xfail|kfail|kpass|fail|pass|unsupported|untested) ([A-Za-z0-9]+|\\\$(.)*testfile(.)*)\.exp$" gdb/testsuite/ChangeLog: 2016-12-01 Luis Machado Fix test names and standardize compilation error messages throughout the following files: * gdb.ada/start.exp * gdb.arch/alpha-step.exp * gdb.arch/e500-prologue.exp * gdb.arch/ftrace-insn-reloc.exp * gdb.arch/gdb1291.exp * gdb.arch/gdb1431.exp * gdb.arch/gdb1558.exp * gdb.arch/i386-dr3-watch.exp * gdb.arch/i386-sse-stack-align.exp * gdb.arch/ia64-breakpoint-shadow.exp * gdb.arch/pa-nullify.exp * gdb.arch/powerpc-aix-prologue.exp * gdb.arch/thumb-bx-pc.exp * gdb.base/annota1.exp * gdb.base/annota3.exp * gdb.base/arrayidx.exp * gdb.base/assign.exp * gdb.base/attach.exp * gdb.base/auxv.exp * gdb.base/bang.exp * gdb.base/bfp-test.exp * gdb.base/bigcore.exp * gdb.base/bitfields2.exp * gdb.base/break-fun-addr.exp * gdb.base/break-probes.exp * gdb.base/call-rt-st.exp * gdb.base/callexit.exp * gdb.base/catch-fork-kill.exp * gdb.base/charset.exp * gdb.base/checkpoint.exp * gdb.base/comprdebug.exp * gdb.base/constvars.exp * gdb.base/coredump-filter.exp * gdb.base/cursal.exp * gdb.base/cvexpr.exp * gdb.base/detach.exp * gdb.base/display.exp * gdb.base/dmsym.exp * gdb.base/dprintf-pending.exp * gdb.base/dso2dso.exp * gdb.base/dtrace-probe.exp * gdb.base/dump.exp * gdb.base/enum_cond.exp * gdb.base/exe-lock.exp * gdb.base/exec-invalid-sysroot.exp * gdb.base/execl-update-breakpoints.exp * gdb.base/exprs.exp * gdb.base/fileio.exp * gdb.base/find.exp * gdb.base/finish.exp * gdb.base/fixsection.exp * gdb.base/foll-vfork.exp * gdb.base/frame-args.exp * gdb.base/gcore.exp * gdb.base/gdb1250.exp * gdb.base/global-var-nested-by-dso.exp * gdb.base/gnu-ifunc.exp * gdb.base/hashline1.exp * gdb.base/hashline2.exp * gdb.base/hashline3.exp * gdb.base/hbreak-in-shr-unsupported.exp * gdb.base/huge.exp * gdb.base/infcall-input.exp * gdb.base/info-fun.exp * gdb.base/info-shared.exp * gdb.base/jit-simple.exp * gdb.base/jit-so.exp * gdb.base/jit.exp * gdb.base/jump.exp * gdb.base/label.exp * gdb.base/lineinc.exp * gdb.base/logical.exp * gdb.base/longjmp.exp * gdb.base/macscp.exp * gdb.base/miscexprs.exp * gdb.base/new-ui-echo.exp * gdb.base/new-ui-pending-input.exp * gdb.base/new-ui.exp * gdb.base/nodebug.exp * gdb.base/nofield.exp * gdb.base/offsets.exp * gdb.base/overlays.exp * gdb.base/pending.exp * gdb.base/pointers.exp * gdb.base/pr11022.exp * gdb.base/printcmds.exp * gdb.base/prologue.exp * gdb.base/ptr-typedef.exp * gdb.base/realname-expand.exp * gdb.base/relativedebug.exp * gdb.base/relocate.exp * gdb.base/remote.exp * gdb.base/reread.exp * gdb.base/return2.exp * gdb.base/savedregs.exp * gdb.base/sep.exp * gdb.base/sepdebug.exp * gdb.base/sepsymtab.exp * gdb.base/set-inferior-tty.exp * gdb.base/setshow.exp * gdb.base/shlib-call.exp * gdb.base/sigaltstack.exp * gdb.base/siginfo-addr.exp * gdb.base/signals.exp * gdb.base/signull.exp * gdb.base/sigrepeat.exp * gdb.base/so-impl-ld.exp * gdb.base/solib-display.exp * gdb.base/solib-overlap.exp * gdb.base/solib-search.exp * gdb.base/solib-symbol.exp * gdb.base/structs.exp * gdb.base/structs2.exp * gdb.base/symtab-search-order.exp * gdb.base/twice.exp * gdb.base/unload.exp * gdb.base/varargs.exp * gdb.base/watchpoint-solib.exp * gdb.base/watchpoint.exp * gdb.base/whatis.exp * gdb.base/wrong_frame_bt_full.exp * gdb.btrace/dlopen.exp * gdb.cell/ea-standalone.exp * gdb.cell/ea-test.exp * gdb.cp/dispcxx.exp * gdb.cp/gdb2384.exp * gdb.cp/method2.exp * gdb.cp/nextoverthrow.exp * gdb.cp/pr10728.exp * gdb.disasm/am33.exp * gdb.disasm/h8300s.exp * gdb.disasm/mn10300.exp * gdb.disasm/sh3.exp * gdb.dwarf2/dw2-dir-file-name.exp * gdb.fortran/complex.exp * gdb.fortran/library-module.exp * gdb.guile/scm-pretty-print.exp * gdb.guile/scm-symbol.exp * gdb.guile/scm-type.exp * gdb.guile/scm-value.exp * gdb.linespec/linespec.exp * gdb.mi/gdb701.exp * gdb.mi/gdb792.exp * gdb.mi/mi-breakpoint-changed.exp * gdb.mi/mi-dprintf-pending.exp * gdb.mi/mi-dprintf.exp * gdb.mi/mi-exit-code.exp * gdb.mi/mi-pending.exp * gdb.mi/mi-solib.exp * gdb.mi/new-ui-mi-sync.exp * gdb.mi/pr11022.exp * gdb.mi/user-selected-context-sync.exp * gdb.opt/solib-intra-step.exp * gdb.python/py-events.exp * gdb.python/py-finish-breakpoint.exp * gdb.python/py-mi.exp * gdb.python/py-prettyprint.exp * gdb.python/py-shared.exp * gdb.python/py-symbol.exp * gdb.python/py-template.exp * gdb.python/py-type.exp * gdb.python/py-value.exp * gdb.reverse/solib-precsave.exp * gdb.reverse/solib-reverse.exp * gdb.server/solib-list.exp * gdb.stabs/weird.exp * gdb.threads/reconnect-signal.exp * gdb.threads/stepi-random-signal.exp * gdb.trace/actions.exp * gdb.trace/ax.exp * gdb.trace/backtrace.exp * gdb.trace/change-loc.exp * gdb.trace/deltrace.exp * gdb.trace/ftrace-lock.exp * gdb.trace/ftrace.exp * gdb.trace/infotrace.exp * gdb.trace/mi-tracepoint-changed.exp * gdb.trace/packetlen.exp * gdb.trace/passcount.exp * gdb.trace/pending.exp * gdb.trace/range-stepping.exp * gdb.trace/report.exp * gdb.trace/stap-trace.exp * gdb.trace/tfind.exp * gdb.trace/trace-break.exp * gdb.trace/trace-condition.exp * gdb.trace/trace-enable-disable.exp * gdb.trace/trace-mt.exp * gdb.trace/tracecmd.exp * gdb.trace/tspeed.exp * gdb.trace/tsv.exp * lib/perftest.exp --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c1b04bea5cc..4060ea64092 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,201 @@ +2016-12-01 Luis Machado + + Fix test names and standardize compilation error messages throughout + the following files: + + * gdb.ada/start.exp + * gdb.arch/alpha-step.exp + * gdb.arch/e500-prologue.exp + * gdb.arch/ftrace-insn-reloc.exp + * gdb.arch/gdb1291.exp + * gdb.arch/gdb1431.exp + * gdb.arch/gdb1558.exp + * gdb.arch/i386-dr3-watch.exp + * gdb.arch/i386-sse-stack-align.exp + * gdb.arch/ia64-breakpoint-shadow.exp + * gdb.arch/pa-nullify.exp + * gdb.arch/powerpc-aix-prologue.exp + * gdb.arch/thumb-bx-pc.exp + * gdb.base/annota1.exp + * gdb.base/annota3.exp + * gdb.base/arrayidx.exp + * gdb.base/assign.exp + * gdb.base/attach.exp + * gdb.base/auxv.exp + * gdb.base/bang.exp + * gdb.base/bfp-test.exp + * gdb.base/bigcore.exp + * gdb.base/bitfields2.exp + * gdb.base/break-fun-addr.exp + * gdb.base/break-probes.exp + * gdb.base/call-rt-st.exp + * gdb.base/callexit.exp + * gdb.base/catch-fork-kill.exp + * gdb.base/charset.exp + * gdb.base/checkpoint.exp + * gdb.base/comprdebug.exp + * gdb.base/constvars.exp + * gdb.base/coredump-filter.exp + * gdb.base/cursal.exp + * gdb.base/cvexpr.exp + * gdb.base/detach.exp + * gdb.base/display.exp + * gdb.base/dmsym.exp + * gdb.base/dprintf-pending.exp + * gdb.base/dso2dso.exp + * gdb.base/dtrace-probe.exp + * gdb.base/dump.exp + * gdb.base/enum_cond.exp + * gdb.base/exe-lock.exp + * gdb.base/exec-invalid-sysroot.exp + * gdb.base/execl-update-breakpoints.exp + * gdb.base/exprs.exp + * gdb.base/fileio.exp + * gdb.base/find.exp + * gdb.base/finish.exp + * gdb.base/fixsection.exp + * gdb.base/foll-vfork.exp + * gdb.base/frame-args.exp + * gdb.base/gcore.exp + * gdb.base/gdb1250.exp + * gdb.base/global-var-nested-by-dso.exp + * gdb.base/gnu-ifunc.exp + * gdb.base/hashline1.exp + * gdb.base/hashline2.exp + * gdb.base/hashline3.exp + * gdb.base/hbreak-in-shr-unsupported.exp + * gdb.base/huge.exp + * gdb.base/infcall-input.exp + * gdb.base/info-fun.exp + * gdb.base/info-shared.exp + * gdb.base/jit-simple.exp + * gdb.base/jit-so.exp + * gdb.base/jit.exp + * gdb.base/jump.exp + * gdb.base/label.exp + * gdb.base/lineinc.exp + * gdb.base/logical.exp + * gdb.base/longjmp.exp + * gdb.base/macscp.exp + * gdb.base/miscexprs.exp + * gdb.base/new-ui-echo.exp + * gdb.base/new-ui-pending-input.exp + * gdb.base/new-ui.exp + * gdb.base/nodebug.exp + * gdb.base/nofield.exp + * gdb.base/offsets.exp + * gdb.base/overlays.exp + * gdb.base/pending.exp + * gdb.base/pointers.exp + * gdb.base/pr11022.exp + * gdb.base/printcmds.exp + * gdb.base/prologue.exp + * gdb.base/ptr-typedef.exp + * gdb.base/realname-expand.exp + * gdb.base/relativedebug.exp + * gdb.base/relocate.exp + * gdb.base/remote.exp + * gdb.base/reread.exp + * gdb.base/return2.exp + * gdb.base/savedregs.exp + * gdb.base/sep.exp + * gdb.base/sepdebug.exp + * gdb.base/sepsymtab.exp + * gdb.base/set-inferior-tty.exp + * gdb.base/setshow.exp + * gdb.base/shlib-call.exp + * gdb.base/sigaltstack.exp + * gdb.base/siginfo-addr.exp + * gdb.base/signals.exp + * gdb.base/signull.exp + * gdb.base/sigrepeat.exp + * gdb.base/so-impl-ld.exp + * gdb.base/solib-display.exp + * gdb.base/solib-overlap.exp + * gdb.base/solib-search.exp + * gdb.base/solib-symbol.exp + * gdb.base/structs.exp + * gdb.base/structs2.exp + * gdb.base/symtab-search-order.exp + * gdb.base/twice.exp + * gdb.base/unload.exp + * gdb.base/varargs.exp + * gdb.base/watchpoint-solib.exp + * gdb.base/watchpoint.exp + * gdb.base/whatis.exp + * gdb.base/wrong_frame_bt_full.exp + * gdb.btrace/dlopen.exp + * gdb.cell/ea-standalone.exp + * gdb.cell/ea-test.exp + * gdb.cp/dispcxx.exp + * gdb.cp/gdb2384.exp + * gdb.cp/method2.exp + * gdb.cp/nextoverthrow.exp + * gdb.cp/pr10728.exp + * gdb.disasm/am33.exp + * gdb.disasm/h8300s.exp + * gdb.disasm/mn10300.exp + * gdb.disasm/sh3.exp + * gdb.dwarf2/dw2-dir-file-name.exp + * gdb.fortran/complex.exp + * gdb.fortran/library-module.exp + * gdb.guile/scm-pretty-print.exp + * gdb.guile/scm-symbol.exp + * gdb.guile/scm-type.exp + * gdb.guile/scm-value.exp + * gdb.linespec/linespec.exp + * gdb.mi/gdb701.exp + * gdb.mi/gdb792.exp + * gdb.mi/mi-breakpoint-changed.exp + * gdb.mi/mi-dprintf-pending.exp + * gdb.mi/mi-dprintf.exp + * gdb.mi/mi-exit-code.exp + * gdb.mi/mi-pending.exp + * gdb.mi/mi-solib.exp + * gdb.mi/new-ui-mi-sync.exp + * gdb.mi/pr11022.exp + * gdb.mi/user-selected-context-sync.exp + * gdb.opt/solib-intra-step.exp + * gdb.python/py-events.exp + * gdb.python/py-finish-breakpoint.exp + * gdb.python/py-mi.exp + * gdb.python/py-prettyprint.exp + * gdb.python/py-shared.exp + * gdb.python/py-symbol.exp + * gdb.python/py-template.exp + * gdb.python/py-type.exp + * gdb.python/py-value.exp + * gdb.reverse/solib-precsave.exp + * gdb.reverse/solib-reverse.exp + * gdb.server/solib-list.exp + * gdb.stabs/weird.exp + * gdb.threads/reconnect-signal.exp + * gdb.threads/stepi-random-signal.exp + * gdb.trace/actions.exp + * gdb.trace/ax.exp + * gdb.trace/backtrace.exp + * gdb.trace/change-loc.exp + * gdb.trace/deltrace.exp + * gdb.trace/ftrace-lock.exp + * gdb.trace/ftrace.exp + * gdb.trace/infotrace.exp + * gdb.trace/mi-tracepoint-changed.exp + * gdb.trace/packetlen.exp + * gdb.trace/passcount.exp + * gdb.trace/pending.exp + * gdb.trace/range-stepping.exp + * gdb.trace/report.exp + * gdb.trace/stap-trace.exp + * gdb.trace/tfind.exp + * gdb.trace/trace-break.exp + * gdb.trace/trace-condition.exp + * gdb.trace/trace-enable-disable.exp + * gdb.trace/trace-mt.exp + * gdb.trace/tracecmd.exp + * gdb.trace/tspeed.exp + * gdb.trace/tsv.exp + * lib/perftest.exp + 2016-12-01 Luis Machado * gdb.cp/gdb2495.exp: Replace gdb_test_multiple diff --git a/gdb/testsuite/gdb.ada/start.exp b/gdb/testsuite/gdb.ada/start.exp index 9a55f8f63f6..b01731ef292 100644 --- a/gdb/testsuite/gdb.ada/start.exp +++ b/gdb/testsuite/gdb.ada/start.exp @@ -20,7 +20,7 @@ if { [skip_ada_tests] } { return -1 } # This testcase verifies the behavior of the `start' command, which # does not work when we use the gdb stub... if [target_info exists use_gdb_stub] { - untested start.exp + untested "skipping test due to gdb stub" return } @@ -34,7 +34,7 @@ clean_restart ${testfile} # Verify that "start" lands inside the right procedure. if { [gdb_start_cmd] < 0 } { - untested start + untested "start failed to land inside the right procedure" return -1 } diff --git a/gdb/testsuite/gdb.arch/alpha-step.exp b/gdb/testsuite/gdb.arch/alpha-step.exp index 16743fba1a8..5395a0dacb3 100644 --- a/gdb/testsuite/gdb.arch/alpha-step.exp +++ b/gdb/testsuite/gdb.arch/alpha-step.exp @@ -24,7 +24,7 @@ set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "testcase compile failed." + unsupported "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/e500-prologue.exp b/gdb/testsuite/gdb.arch/e500-prologue.exp index 68e6664ba66..47f5d5fe864 100644 --- a/gdb/testsuite/gdb.arch/e500-prologue.exp +++ b/gdb/testsuite/gdb.arch/e500-prologue.exp @@ -27,7 +27,7 @@ set testfile "e500-prologue" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "testcase compile failed." + unsupported "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp index edf767fbb90..106261a6a88 100644 --- a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp +++ b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp @@ -46,7 +46,7 @@ set remote_libipa [gdb_load_shlib $libipa] if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable [list debug $additional_flags shlib=$libipa] ] != "" } { - untested "failed to compile ftrace tests" + untested "failed to compile" return -1 } clean_restart ${executable} diff --git a/gdb/testsuite/gdb.arch/gdb1291.exp b/gdb/testsuite/gdb.arch/gdb1291.exp index 35c9ef061bb..ea61b397ae5 100644 --- a/gdb/testsuite/gdb.arch/gdb1291.exp +++ b/gdb/testsuite/gdb.arch/gdb1291.exp @@ -33,7 +33,7 @@ set testfile "gdb1291" set srcfile ${testfile}.s set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ""] != "" } { - untested gdb1291.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/gdb1431.exp b/gdb/testsuite/gdb.arch/gdb1431.exp index c35cc5dcba8..31bfb0a60e8 100644 --- a/gdb/testsuite/gdb.arch/gdb1431.exp +++ b/gdb/testsuite/gdb.arch/gdb1431.exp @@ -35,7 +35,7 @@ set testfile "gdb1431" set srcfile ${testfile}.s set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ""] != "" } { - untested gdb1431.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/gdb1558.exp b/gdb/testsuite/gdb.arch/gdb1558.exp index 8cea6d3988a..cd24bd56462 100644 --- a/gdb/testsuite/gdb.arch/gdb1558.exp +++ b/gdb/testsuite/gdb.arch/gdb1558.exp @@ -32,7 +32,7 @@ set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} # Note we have to compile WITH optimization and WITHOUT debugging information to expose the bug. if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {"additional_flags=-O2"}] != "" } { - untested gdb1558.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/i386-dr3-watch.exp b/gdb/testsuite/gdb.arch/i386-dr3-watch.exp index 80acdb45ae7..bdab7bf320e 100644 --- a/gdb/testsuite/gdb.arch/i386-dr3-watch.exp +++ b/gdb/testsuite/gdb.arch/i386-dr3-watch.exp @@ -26,7 +26,7 @@ if { ![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] } then { standard_testfile if [prepare_for_testing ${testfile}.exp ${binfile} ${srcfile} {debug $additional_flags}] { - untested "failed to compile ${testfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/i386-sse-stack-align.exp b/gdb/testsuite/gdb.arch/i386-sse-stack-align.exp index 525cbd2ef01..14ce9228996 100644 --- a/gdb/testsuite/gdb.arch/i386-sse-stack-align.exp +++ b/gdb/testsuite/gdb.arch/i386-sse-stack-align.exp @@ -31,7 +31,7 @@ if [info exists COMPILE] { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } { - unsupported "cannot compile ${srcfile}" + unsupported "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp b/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp index 32367c9d5af..60b983035d4 100644 --- a/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp +++ b/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp @@ -22,7 +22,7 @@ set testfile ia64-breakpoint-shadow set srcfile ${testfile}.S set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/pa-nullify.exp b/gdb/testsuite/gdb.arch/pa-nullify.exp index 9a98fe48f1a..55d38f8da91 100644 --- a/gdb/testsuite/gdb.arch/pa-nullify.exp +++ b/gdb/testsuite/gdb.arch/pa-nullify.exp @@ -36,7 +36,7 @@ set binfile ${objdir}/${subdir}/${testfile} set gcorefile ${objdir}/${subdir}/${testfile}.gcore if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "testcase compile failed." + unsupported "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp b/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp index f028e943484..ed0c4a32558 100644 --- a/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp +++ b/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp @@ -27,7 +27,7 @@ set testfile "powerpc-aix-prologue" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } { - unsupported "testcase compile failed." + unsupported "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.arch/thumb-bx-pc.exp b/gdb/testsuite/gdb.arch/thumb-bx-pc.exp index b00571be2a8..0e80a903467 100644 --- a/gdb/testsuite/gdb.arch/thumb-bx-pc.exp +++ b/gdb/testsuite/gdb.arch/thumb-bx-pc.exp @@ -25,7 +25,7 @@ set srcfile ${testfile}.S set opts {} if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $opts] { - untested "failed to compile $srcfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index 38b594c42dd..4d4ba298ef6 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -34,7 +34,7 @@ set breakpoints_invalid "\r\n\032\032breakpoints-invalid\r\n" standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested annota1.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp index de11c4a22fb..a472cb46074 100644 --- a/gdb/testsuite/gdb.base/annota3.exp +++ b/gdb/testsuite/gdb.base/annota3.exp @@ -33,7 +33,7 @@ if [is_remote target] then { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested annota3.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/arrayidx.exp b/gdb/testsuite/gdb.base/arrayidx.exp index c7c707adbc5..c9dc0113916 100644 --- a/gdb/testsuite/gdb.base/arrayidx.exp +++ b/gdb/testsuite/gdb.base/arrayidx.exp @@ -20,7 +20,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/assign.exp b/gdb/testsuite/gdb.base/assign.exp index 7f1484e6865..bd9afc9426a 100644 --- a/gdb/testsuite/gdb.base/assign.exp +++ b/gdb/testsuite/gdb.base/assign.exp @@ -28,7 +28,7 @@ standard_testfile all-types.c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested assign.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index bd0760c1141..99a1ae01ed2 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -30,14 +30,14 @@ remote_exec build "rm -f ${binfile} ${binfile2}" # build the first test case # if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested attach.exp + untested "failed to compile" return -1 } # Build the in-system-call test if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug}] != "" } { - untested attach.exp + untested "failed to compile in-system-call test" return -1 } diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp index 484d2012c1c..6edb36d95df 100644 --- a/gdb/testsuite/gdb.base/auxv.exp +++ b/gdb/testsuite/gdb.base/auxv.exp @@ -33,7 +33,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ {debug additional_flags=-DUSE_RLIMIT}] != "" && [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ {debug}] != "" } { - untested "couldn't compile ${srcdir}/${subdir}/${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bang.exp b/gdb/testsuite/gdb.base/bang.exp index 26a4156f14f..d9949cf688c 100644 --- a/gdb/testsuite/gdb.base/bang.exp +++ b/gdb/testsuite/gdb.base/bang.exp @@ -20,7 +20,7 @@ standard_testfile args.c if {[prepare_for_testing $testfile.exp ${testfile}! $srcfile \ {debug nowarnings}]} { - untested bang.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bfp-test.exp b/gdb/testsuite/gdb.base/bfp-test.exp index 91c7e513baa..2fc98774c09 100644 --- a/gdb/testsuite/gdb.base/bfp-test.exp +++ b/gdb/testsuite/gdb.base/bfp-test.exp @@ -19,7 +19,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bigcore.exp b/gdb/testsuite/gdb.base/bigcore.exp index 62ca2b124b1..14c6d76523e 100644 --- a/gdb/testsuite/gdb.base/bigcore.exp +++ b/gdb/testsuite/gdb.base/bigcore.exp @@ -42,7 +42,7 @@ standard_testfile .c set corefile [standard_output_file ${binfile}.corefile] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested bigcore.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bitfields2.exp b/gdb/testsuite/gdb.base/bitfields2.exp index 0f7b7c77880..b556eb93f45 100644 --- a/gdb/testsuite/gdb.base/bitfields2.exp +++ b/gdb/testsuite/gdb.base/bitfields2.exp @@ -26,7 +26,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested bitfields2.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/break-fun-addr.exp b/gdb/testsuite/gdb.base/break-fun-addr.exp index 938ec87c31f..2983bb84de0 100644 --- a/gdb/testsuite/gdb.base/break-fun-addr.exp +++ b/gdb/testsuite/gdb.base/break-fun-addr.exp @@ -36,7 +36,7 @@ set srcfile1 ${testfile1}.c set binfile1 [standard_output_file ${testfile1}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile1}" + untested "failed to compile first testcase" return -1 } @@ -65,7 +65,7 @@ set srcfile2 ${testfile2}.c set binfile2 [standard_output_file ${testfile2}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile2}" + untested "failed to compile second testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/break-probes.exp b/gdb/testsuite/gdb.base/break-probes.exp index bb8eee0b406..68130435dcd 100644 --- a/gdb/testsuite/gdb.base/break-probes.exp +++ b/gdb/testsuite/gdb.base/break-probes.exp @@ -28,7 +28,7 @@ set probes_bp "dl_main" if { [gdb_compile_shlib $srcfile_lib $binfile_lib \ [list additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib." + untested "failed to compile shared library" return -1 } diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp index 7120b8b8d21..4351c412539 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.exp +++ b/gdb/testsuite/gdb.base/call-rt-st.exp @@ -24,7 +24,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested "couldn't compile ${srcdir}/${subdir}/${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/callexit.exp b/gdb/testsuite/gdb.base/callexit.exp index e904200d483..c1e817a18bf 100644 --- a/gdb/testsuite/gdb.base/callexit.exp +++ b/gdb/testsuite/gdb.base/callexit.exp @@ -17,7 +17,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested callexit.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/catch-fork-kill.exp b/gdb/testsuite/gdb.base/catch-fork-kill.exp index 29d20771a0a..a25147e60cc 100644 --- a/gdb/testsuite/gdb.base/catch-fork-kill.exp +++ b/gdb/testsuite/gdb.base/catch-fork-kill.exp @@ -41,7 +41,7 @@ foreach kind {"fork" "vfork"} { set testfile [set testfile_$kind] if {[build_executable $testfile.exp $testfile ${srcfile} \ ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } } diff --git a/gdb/testsuite/gdb.base/charset.exp b/gdb/testsuite/gdb.base/charset.exp index 5e930efd415..7662937181c 100644 --- a/gdb/testsuite/gdb.base/charset.exp +++ b/gdb/testsuite/gdb.base/charset.exp @@ -146,7 +146,7 @@ gdb_expect { # sets: "auto" and the default. In this situation, this set of tests # is pointless. if {[llength [array names charsets]] < 3} { - untested charset.exp + untested "fewer than 3 charsets" return -1 } diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index 0c52092cee3..73ea08a92c8 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -38,7 +38,7 @@ if {[is_remote host]} { if {[prepare_for_testing ${testfile}.exp $testfile $srcfile \ [list debug "additional_flags=-DPI_TXT=\"$pi_txt\" -DCOPY1_TXT=\"$copy1_txt\""]]} { - untested checkpoint.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/comprdebug.exp b/gdb/testsuite/gdb.base/comprdebug.exp index 08d48ea6abf..09d426c4984 100644 --- a/gdb/testsuite/gdb.base/comprdebug.exp +++ b/gdb/testsuite/gdb.base/comprdebug.exp @@ -18,7 +18,7 @@ standard_testfile average.c set ofile "${binfile}0.o" if {[gdb_compile $srcdir/$subdir/$srcfile $ofile \ object {debug}] != ""} { - untested comprdebug.exp + untested "failed to compile" return } @@ -30,7 +30,7 @@ verbose "result is $result" verbose "output is $output" if {$result == 1} { - untested comprdebug.exp + untested "failed to execute objcopy" return } diff --git a/gdb/testsuite/gdb.base/constvars.exp b/gdb/testsuite/gdb.base/constvars.exp index d6bae743ec9..48cebe50ecd 100644 --- a/gdb/testsuite/gdb.base/constvars.exp +++ b/gdb/testsuite/gdb.base/constvars.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug ] != "" } { - untested constvars.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/coredump-filter.exp b/gdb/testsuite/gdb.base/coredump-filter.exp index bf1e8a5acd7..574941847df 100644 --- a/gdb/testsuite/gdb.base/coredump-filter.exp +++ b/gdb/testsuite/gdb.base/coredump-filter.exp @@ -22,7 +22,7 @@ if ![istarget *-*-linux*] then { } if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } { - untested "could not compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/cursal.exp b/gdb/testsuite/gdb.base/cursal.exp index efaa7c7dfee..6834d76a8cd 100644 --- a/gdb/testsuite/gdb.base/cursal.exp +++ b/gdb/testsuite/gdb.base/cursal.exp @@ -17,7 +17,7 @@ standard_testfile if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != ""} { - untested "couldn't compile $srcfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/cvexpr.exp b/gdb/testsuite/gdb.base/cvexpr.exp index 4bdda7623bd..26dd714181e 100644 --- a/gdb/testsuite/gdb.base/cvexpr.exp +++ b/gdb/testsuite/gdb.base/cvexpr.exp @@ -25,7 +25,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested cvexpr.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/detach.exp b/gdb/testsuite/gdb.base/detach.exp index b9343ee255a..4095f90bb7f 100644 --- a/gdb/testsuite/gdb.base/detach.exp +++ b/gdb/testsuite/gdb.base/detach.exp @@ -26,7 +26,7 @@ standard_testfile attach.c set escapedbinfile [string_to_regexp ${binfile}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested detach.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/display.exp b/gdb/testsuite/gdb.base/display.exp index 9576be54c30..c02fcf5d134 100644 --- a/gdb/testsuite/gdb.base/display.exp +++ b/gdb/testsuite/gdb.base/display.exp @@ -20,7 +20,7 @@ standard_testfile if {[prepare_for_testing $testfile.exp $testfile $srcfile \ {debug nowarnings}]} { - untested display.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/dmsym.exp b/gdb/testsuite/gdb.base/dmsym.exp index b07142432e1..3f59aead1db 100644 --- a/gdb/testsuite/gdb.base/dmsym.exp +++ b/gdb/testsuite/gdb.base/dmsym.exp @@ -26,7 +26,7 @@ set dmsym_o [standard_output_file dmsym.o] if {[gdb_compile "${srcdir}/${subdir}/dmsym.c" \ $dmsym_o \ object {}] != ""} { - untested dmsym.exp + untested "failed to compile object file" return -1 } @@ -34,7 +34,7 @@ if {[gdb_compile \ [list ${srcdir}/${subdir}/dmsym_main.c $dmsym_o] \ [standard_output_file ${testfile}] \ executable {debug}] != ""} { - untested dmsym.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/dprintf-pending.exp b/gdb/testsuite/gdb.base/dprintf-pending.exp index 10df3fb8bde..4a5fa930992 100644 --- a/gdb/testsuite/gdb.base/dprintf-pending.exp +++ b/gdb/testsuite/gdb.base/dprintf-pending.exp @@ -32,7 +32,7 @@ if { [get_compiler_info] } { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "failed to compile shared library" return -1 } diff --git a/gdb/testsuite/gdb.base/dso2dso.exp b/gdb/testsuite/gdb.base/dso2dso.exp index f620d2c7a72..bcec7312f7c 100644 --- a/gdb/testsuite/gdb.base/dso2dso.exp +++ b/gdb/testsuite/gdb.base/dso2dso.exp @@ -41,13 +41,13 @@ set binfile_libdso1 [standard_output_file $libdso1.so] if { [gdb_compile_shlib $srcfile_libdso2 $binfile_libdso2 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_libdso2." + untested "failed to compile shared library 2" return -1 } if { [gdb_compile_shlib $srcfile_libdso1 $binfile_libdso1 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_libdso1." + untested "failed to compile shared library 1" return -1 } diff --git a/gdb/testsuite/gdb.base/dtrace-probe.exp b/gdb/testsuite/gdb.base/dtrace-probe.exp index c4f1a78b068..06a7ae05e33 100644 --- a/gdb/testsuite/gdb.base/dtrace-probe.exp +++ b/gdb/testsuite/gdb.base/dtrace-probe.exp @@ -23,7 +23,7 @@ proc dtrace_test {} { standard_testfile if {[dtrace_build_usdt_test_program] == -1} { - untested "could not compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp index a38f9d1c5cf..58b01217444 100644 --- a/gdb/testsuite/gdb.base/dump.exp +++ b/gdb/testsuite/gdb.base/dump.exp @@ -37,7 +37,7 @@ if {[istarget "spu*-*-*"]} then { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } { - untested dump.exp + untested "failed to compile" return -1 } @@ -95,7 +95,7 @@ remote_exec host "rm -f $filenames" # Run target program until data structs are initialized. if { ! [ runto checkpoint1 ] } then { - untested dump.exp + untested "couldn't run to checkpoint" return -1 } diff --git a/gdb/testsuite/gdb.base/enum_cond.exp b/gdb/testsuite/gdb.base/enum_cond.exp index 4be8a8ad009..6626b019a56 100644 --- a/gdb/testsuite/gdb.base/enum_cond.exp +++ b/gdb/testsuite/gdb.base/enum_cond.exp @@ -21,7 +21,7 @@ standard_testfile .c set opts [list debug additional_flags=-fshort-enums] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } { - untested "could not compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/exe-lock.exp b/gdb/testsuite/gdb.base/exe-lock.exp index 8cb8f9d3073..b09609f3c1f 100644 --- a/gdb/testsuite/gdb.base/exe-lock.exp +++ b/gdb/testsuite/gdb.base/exe-lock.exp @@ -23,7 +23,7 @@ standard_testfile arrayidx.c append binfile $EXEEXT if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp b/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp index a089e894204..b31da3db31e 100644 --- a/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp +++ b/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp @@ -29,12 +29,12 @@ set compile_options debug # build the first test case if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable $compile_options] != "" } { - untested "could not compile test program ${binfile2}" + untested "failed to compile secondary testcase" return -1 } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $compile_options] != "" } { - untested "could not compile test program ${binfile}" + untested "failed to compile main testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/execl-update-breakpoints.exp b/gdb/testsuite/gdb.base/execl-update-breakpoints.exp index 1c2713f2702..ad648f0d402 100644 --- a/gdb/testsuite/gdb.base/execl-update-breakpoints.exp +++ b/gdb/testsuite/gdb.base/execl-update-breakpoints.exp @@ -28,7 +28,7 @@ set exec2 ${binfile}2 if { [gdb_compile [file join $srcdir $subdir $srcfile] $objfile \ object [list debug]] != "" } { - untested "compile failed" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/exprs.exp b/gdb/testsuite/gdb.base/exprs.exp index 446f8cca12e..2b172708507 100644 --- a/gdb/testsuite/gdb.base/exprs.exp +++ b/gdb/testsuite/gdb.base/exprs.exp @@ -22,7 +22,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested exprs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp index 5dd2f2053a3..2265a15eeb4 100644 --- a/gdb/testsuite/gdb.base/fileio.exp +++ b/gdb/testsuite/gdb.base/fileio.exp @@ -32,7 +32,7 @@ if {[is_remote host]} { if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ executable \ [list debug "additional_flags=-DOUTDIR=\"$outdir/\""]] != "" } { - untested fileio.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/find.exp b/gdb/testsuite/gdb.base/find.exp index c4bdfb76dd7..b6e96afca17 100644 --- a/gdb/testsuite/gdb.base/find.exp +++ b/gdb/testsuite/gdb.base/find.exp @@ -18,7 +18,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested find.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/finish.exp b/gdb/testsuite/gdb.base/finish.exp index c5387bb2d00..35294ccb6e3 100644 --- a/gdb/testsuite/gdb.base/finish.exp +++ b/gdb/testsuite/gdb.base/finish.exp @@ -90,7 +90,7 @@ proc finish_tests { } { global gdb_prompt skip_float_test if { ! [ runto_main ] } then { - untested finish.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/fixsection.exp b/gdb/testsuite/gdb.base/fixsection.exp index 5b7fdf6a356..c00056219b6 100644 --- a/gdb/testsuite/gdb.base/fixsection.exp +++ b/gdb/testsuite/gdb.base/fixsection.exp @@ -34,7 +34,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile \ executable $exec_opts] != ""} { - untested "could not compile either $libsrc or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/foll-vfork.exp b/gdb/testsuite/gdb.base/foll-vfork.exp index 481dcb7d6e1..f3e4d0e6fcf 100644 --- a/gdb/testsuite/gdb.base/foll-vfork.exp +++ b/gdb/testsuite/gdb.base/foll-vfork.exp @@ -30,7 +30,7 @@ standard_testfile set compile_options debug if {[build_executable $testfile.exp $testfile $srcfile $compile_options] == -1} { - untested "failed to compile $testfile" + untested "failed to compile main testcase" return -1 } @@ -38,7 +38,7 @@ set testfile2 "vforked-prog" set srcfile2 ${testfile2}.c if {[build_executable $testfile.exp $testfile2 $srcfile2 $compile_options] == -1} { - untested "failed to compile $testfile2" + untested "failed to compile secondary testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/frame-args.exp b/gdb/testsuite/gdb.base/frame-args.exp index 08eb5d80f16..dbda4a9dbc0 100644 --- a/gdb/testsuite/gdb.base/frame-args.exp +++ b/gdb/testsuite/gdb.base/frame-args.exp @@ -15,7 +15,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/gcore.exp b/gdb/testsuite/gdb.base/gcore.exp index a41f8e5b9f0..9f271702a11 100644 --- a/gdb/testsuite/gdb.base/gcore.exp +++ b/gdb/testsuite/gdb.base/gcore.exp @@ -20,12 +20,12 @@ standard_testfile if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { - untested $testfile.exp + untested "failed to compile" return -1 } if { ! [ runto_main ] } then { - untested gcore.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/gdb1250.exp b/gdb/testsuite/gdb.base/gdb1250.exp index 1a7c8e46ee8..3d5cf54f2e6 100644 --- a/gdb/testsuite/gdb.base/gdb1250.exp +++ b/gdb/testsuite/gdb.base/gdb1250.exp @@ -25,7 +25,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested gdb1250.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp index 728596213d9..2ce198e3b41 100644 --- a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp +++ b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp @@ -29,13 +29,13 @@ set binfile_lib2 [standard_output_file $lib2name.so] if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib1." + untested "failed to compile shared library 1" return -1 } if { [gdb_compile_shlib $srcfile_lib2 $binfile_lib2 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib2." + untested "failed to compile shared library 2" return -1 } diff --git a/gdb/testsuite/gdb.base/gnu-ifunc.exp b/gdb/testsuite/gdb.base/gnu-ifunc.exp index ce9e11f4625..4b0b162ce8f 100644 --- a/gdb/testsuite/gdb.base/gnu-ifunc.exp +++ b/gdb/testsuite/gdb.base/gnu-ifunc.exp @@ -52,7 +52,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcdir}/${subdir}/$libsrc $lib_so $lib_opts] != "" || [gdb_compile ${srcdir}/${subdir}/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile dynamic executable $binfile." + untested "failed to compile first testcase" return -1 } @@ -144,7 +144,7 @@ gdb_test "info sym $expect_out(1,string)" "gnu_ifunc in section .*" "info sym 10 } { set size [expr $size / == "" } break } if { $size < 10 } { - untested huge.exp + untested "size less than 10" return -1 } @@ -43,7 +43,7 @@ set prev_timeout $timeout set timeout 30 if { ! [ runto_main ] } then { - untested huge.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/infcall-input.exp b/gdb/testsuite/gdb.base/infcall-input.exp index c970c0e81e2..5e764f09336 100644 --- a/gdb/testsuite/gdb.base/infcall-input.exp +++ b/gdb/testsuite/gdb.base/infcall-input.exp @@ -24,7 +24,7 @@ if [target_info exists gdb,cannot_call_functions] { } if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { - untested "compile failed" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/info-fun.exp b/gdb/testsuite/gdb.base/info-fun.exp index 2eec698ec13..a5503e293f9 100644 --- a/gdb/testsuite/gdb.base/info-fun.exp +++ b/gdb/testsuite/gdb.base/info-fun.exp @@ -40,7 +40,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != "" || [gdb_compile $srcdir/$subdir/${srcfile} ${binfile} \ executable $bin_flags] != "" } { - untested "could not compile $binfile_lib or $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/info-shared.exp b/gdb/testsuite/gdb.base/info-shared.exp index 57aa1d0aba0..e80326ae5a7 100644 --- a/gdb/testsuite/gdb.base/info-shared.exp +++ b/gdb/testsuite/gdb.base/info-shared.exp @@ -31,13 +31,13 @@ set define2 -DSHLIB2_NAME=\"$binfile_lib2\" if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \ [list additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib1." + untested "failed to compile shared library 1" return -1 } if { [gdb_compile_shlib $srcfile_lib2 $binfile_lib2 \ [list additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib2." + untested "failed to compile shared library 2" return -1 } diff --git a/gdb/testsuite/gdb.base/jit-simple.exp b/gdb/testsuite/gdb.base/jit-simple.exp index c1a079a67a8..30e41e14a14 100644 --- a/gdb/testsuite/gdb.base/jit-simple.exp +++ b/gdb/testsuite/gdb.base/jit-simple.exp @@ -64,12 +64,12 @@ proc build_shared_jit {{options ""}} { } if {[build_standalone_jit] == -1} { - untested "could not compile $binfile" + untested "failed to compile standalone testcase" return } if {[build_shared_jit] == -1} { - untested "could not compile $binfile_lib" + untested "failed to compile shared library testcase" return } diff --git a/gdb/testsuite/gdb.base/jit-so.exp b/gdb/testsuite/gdb.base/jit-so.exp index b2e2955bbf5..f9c6e13be15 100644 --- a/gdb/testsuite/gdb.base/jit-so.exp +++ b/gdb/testsuite/gdb.base/jit-so.exp @@ -17,13 +17,12 @@ # library. if {[skip_shlib_tests]} { - untested jit-so.exp + untested "skipping shared library tests" return -1 } if {[get_compiler_info]} { - warning "Could not get compiler info" - untested jit-so.exp + untested "could not get compiler info" return 1 } @@ -35,7 +34,7 @@ set testfile jit-dlmain set srcfile ${testfile}.c set binfile [standard_output_file ${testfile}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug shlib_load}] != "" } { - untested jit-so.exp + untested "failed to compile" return -1 } @@ -44,7 +43,7 @@ set srcfile2 ${testfile2}.c set binfile2 [standard_output_file ${testfile2}.so] set binfile2_dlopen [shlib_target_file ${testfile2}.so] if { [gdb_compile_shlib "${srcdir}/${subdir}/${srcfile2}" ${binfile2} {debug additional_flags="-DMAIN=jit_dl_main"}] != "" } { - untested jit.exp + untested "failed to compile main shared library" return -1 } @@ -57,7 +56,7 @@ set solib_binfile_test_msg "SHLIBDIR/${solib_testfile}.so" # renaming by munging on its symbol table, and that wouldn't work for .debug # sections. Also, output for "info function" changes when debug info is resent. if { [gdb_compile_shlib ${solib_srcfile} ${solib_binfile} {}] != "" } { - untested jit-so.exp + untested "failed to compile jit shared library" return -1 } diff --git a/gdb/testsuite/gdb.base/jit.exp b/gdb/testsuite/gdb.base/jit.exp index 528c330703d..689bc27e749 100644 --- a/gdb/testsuite/gdb.base/jit.exp +++ b/gdb/testsuite/gdb.base/jit.exp @@ -14,13 +14,12 @@ # along with this program. If not, see . if {[skip_shlib_tests]} { - untested jit.exp + untested "skipping shared library tests" return -1 } if {[get_compiler_info]} { - warning "Could not get compiler info" - untested jit.exp + untested "could not get compiler info" return 1 } diff --git a/gdb/testsuite/gdb.base/jump.exp b/gdb/testsuite/gdb.base/jump.exp index 7e03d907896..37f56dd04e1 100644 --- a/gdb/testsuite/gdb.base/jump.exp +++ b/gdb/testsuite/gdb.base/jump.exp @@ -20,7 +20,7 @@ standard_testfile .c # Build the test case if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested jump.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/label.exp b/gdb/testsuite/gdb.base/label.exp index 18b6f83bd4b..2901c332e74 100644 --- a/gdb/testsuite/gdb.base/label.exp +++ b/gdb/testsuite/gdb.base/label.exp @@ -26,7 +26,7 @@ if [is_remote target] then { standard_testfile .c if { [prepare_for_testing ${testfile}.exp $testfile ${srcfile} debug] } { - untested label.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/lineinc.exp b/gdb/testsuite/gdb.base/lineinc.exp index 4070f4e91f8..97b61d452b8 100644 --- a/gdb/testsuite/gdb.base/lineinc.exp +++ b/gdb/testsuite/gdb.base/lineinc.exp @@ -81,7 +81,7 @@ standard_testfile .c if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" ${binfile} executable {debug}] != ""} { - untested lineinc.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/logical.exp b/gdb/testsuite/gdb.base/logical.exp index 1efc5f68253..99e7a86ddf0 100644 --- a/gdb/testsuite/gdb.base/logical.exp +++ b/gdb/testsuite/gdb.base/logical.exp @@ -28,7 +28,7 @@ standard_testfile int-type.c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested logical.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/longjmp.exp b/gdb/testsuite/gdb.base/longjmp.exp index b8d67fdaad5..e0e47a7129b 100644 --- a/gdb/testsuite/gdb.base/longjmp.exp +++ b/gdb/testsuite/gdb.base/longjmp.exp @@ -21,7 +21,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested longjmp.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp index aec18fb083c..a3246c59681 100644 --- a/gdb/testsuite/gdb.base/macscp.exp +++ b/gdb/testsuite/gdb.base/macscp.exp @@ -30,7 +30,7 @@ if [test_compiler_info gcc*] { if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \ object $options] != "" || [gdb_compile "${objfile}" "${binfile}" executable $options] != "" } { - untested macscp.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/miscexprs.exp b/gdb/testsuite/gdb.base/miscexprs.exp index 059c4341feb..297f792ca35 100644 --- a/gdb/testsuite/gdb.base/miscexprs.exp +++ b/gdb/testsuite/gdb.base/miscexprs.exp @@ -40,7 +40,7 @@ set additional_flags "additional_flags=${storage}" standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug ${additional_flags} nowarnings]] != "" } { - untested miscexprs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/new-ui-echo.exp b/gdb/testsuite/gdb.base/new-ui-echo.exp index c18244554b7..ab923dab7a1 100644 --- a/gdb/testsuite/gdb.base/new-ui-echo.exp +++ b/gdb/testsuite/gdb.base/new-ui-echo.exp @@ -24,7 +24,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/new-ui-pending-input.exp b/gdb/testsuite/gdb.base/new-ui-pending-input.exp index 325c30f7b53..c51d878b8da 100644 --- a/gdb/testsuite/gdb.base/new-ui-pending-input.exp +++ b/gdb/testsuite/gdb.base/new-ui-pending-input.exp @@ -21,7 +21,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/new-ui.exp b/gdb/testsuite/gdb.base/new-ui.exp index 22e8b79151d..52b81ec307c 100644 --- a/gdb/testsuite/gdb.base/new-ui.exp +++ b/gdb/testsuite/gdb.base/new-ui.exp @@ -17,7 +17,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp index e0dd0e12a4e..ff69c04dd44 100644 --- a/gdb/testsuite/gdb.base/nodebug.exp +++ b/gdb/testsuite/gdb.base/nodebug.exp @@ -31,7 +31,7 @@ if [test_compiler_info "xlc-*"] { } if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "couldn't compile $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/nofield.exp b/gdb/testsuite/gdb.base/nofield.exp index 9b06ba12df0..b8837b72c1b 100644 --- a/gdb/testsuite/gdb.base/nofield.exp +++ b/gdb/testsuite/gdb.base/nofield.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/offsets.exp b/gdb/testsuite/gdb.base/offsets.exp index b65fac7902c..9637eabe86c 100644 --- a/gdb/testsuite/gdb.base/offsets.exp +++ b/gdb/testsuite/gdb.base/offsets.exp @@ -19,7 +19,7 @@ standard_testfile offsets.c if { [prepare_for_testing "failed to prepare for testing large offsets" \ ${testfile} ${srcfile}] } { - untested offsets.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/overlays.exp b/gdb/testsuite/gdb.base/overlays.exp index b76f445a2d5..6b02bdfda20 100644 --- a/gdb/testsuite/gdb.base/overlays.exp +++ b/gdb/testsuite/gdb.base/overlays.exp @@ -42,7 +42,7 @@ standard_testfile overlays.c ovlymgr.c foo.c bar.c baz.c grbx.c if {[build_executable $testfile.exp $testfile \ [list $srcfile $srcfile2 $srcfile3 $srcfile4 $srcfile5 $srcfile6] \ {debug ldscript=-Wl,-T$linker_script}] == -1} { - untested overlays.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp index e89f4a96ced..26f95a0ad3a 100644 --- a/gdb/testsuite/gdb.base/pending.exp +++ b/gdb/testsuite/gdb.base/pending.exp @@ -37,7 +37,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/pointers.exp b/gdb/testsuite/gdb.base/pointers.exp index fa1fe3e4d65..03e70ee9fcf 100644 --- a/gdb/testsuite/gdb.base/pointers.exp +++ b/gdb/testsuite/gdb.base/pointers.exp @@ -28,7 +28,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested pointers.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/pr11022.exp b/gdb/testsuite/gdb.base/pr11022.exp index c8b4be80cf7..d6b6150335d 100644 --- a/gdb/testsuite/gdb.base/pr11022.exp +++ b/gdb/testsuite/gdb.base/pr11022.exp @@ -20,7 +20,7 @@ if {[skip_hw_watchpoint_tests]} { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested pr11022.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp index bdddde68410..c0cfeb47f2d 100644 --- a/gdb/testsuite/gdb.base/printcmds.exp +++ b/gdb/testsuite/gdb.base/printcmds.exp @@ -23,7 +23,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested printcmds.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/prologue.exp b/gdb/testsuite/gdb.base/prologue.exp index efd7e0c6cf3..f2412f1589f 100644 --- a/gdb/testsuite/gdb.base/prologue.exp +++ b/gdb/testsuite/gdb.base/prologue.exp @@ -19,7 +19,7 @@ if { [skip_cplus_tests] } { continue } standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested prologue.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/ptr-typedef.exp b/gdb/testsuite/gdb.base/ptr-typedef.exp index e9f925de478..212b33803fb 100644 --- a/gdb/testsuite/gdb.base/ptr-typedef.exp +++ b/gdb/testsuite/gdb.base/ptr-typedef.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/realname-expand.exp b/gdb/testsuite/gdb.base/realname-expand.exp index d21a4030a9a..3d6bf470a7d 100644 --- a/gdb/testsuite/gdb.base/realname-expand.exp +++ b/gdb/testsuite/gdb.base/realname-expand.exp @@ -32,7 +32,7 @@ if { [file type $srcfilelink] != "link" } { if { [gdb_compile "${srcdir}/${subdir}/${srcfile} ${srcfilelink}" "${binfile}" \ executable {debug}] != "" } { - untested "cannot compile ${srcdir}/${subdir}/${srcfile} and ${srcfilelink}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/relativedebug.exp b/gdb/testsuite/gdb.base/relativedebug.exp index 9563576816d..677b3018e4d 100644 --- a/gdb/testsuite/gdb.base/relativedebug.exp +++ b/gdb/testsuite/gdb.base/relativedebug.exp @@ -21,7 +21,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/relocate.exp b/gdb/testsuite/gdb.base/relocate.exp index 52fc3ceccaf..62012c4774f 100644 --- a/gdb/testsuite/gdb.base/relocate.exp +++ b/gdb/testsuite/gdb.base/relocate.exp @@ -21,7 +21,7 @@ append binfile .o remote_exec build "rm -f ${binfile}" if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {debug}] != "" } { - untested relocate.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/remote.exp b/gdb/testsuite/gdb.base/remote.exp index b75540aeca1..7bc54c3e861 100644 --- a/gdb/testsuite/gdb.base/remote.exp +++ b/gdb/testsuite/gdb.base/remote.exp @@ -26,7 +26,7 @@ gdb_start set result [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] if {$result != "" } then { - untested remote.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp index 3116dbff7a4..376a1b4c72f 100644 --- a/gdb/testsuite/gdb.base/reread.exp +++ b/gdb/testsuite/gdb.base/reread.exp @@ -23,7 +23,7 @@ set srcfile1 ${testfile1}.c set binfile1 [standard_output_file ${testfile1}$EXEEXT] if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug nowarnings}] != "" } { - untested reread.exp + untested "failed to compile first testcase" return -1 } @@ -35,7 +35,7 @@ set binfile2 [standard_output_file ${testfile2}$EXEEXT] if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug nowarnings}] != "" && [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug nowarnings additional_flags=-DNO_SECTIONS}] != ""} { - untested reread.exp + untested "failed to compile second testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/return2.exp b/gdb/testsuite/gdb.base/return2.exp index 77be75eb716..520d685e59b 100644 --- a/gdb/testsuite/gdb.base/return2.exp +++ b/gdb/testsuite/gdb.base/return2.exp @@ -19,7 +19,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested return2.exp + untested "failed to compile" return -1 } @@ -82,7 +82,7 @@ proc return2_tests { } { global gdb_prompt skip_float_test if { ! [ runto_main ] } then { - untested return2.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/savedregs.exp b/gdb/testsuite/gdb.base/savedregs.exp index 45174a57495..b461782f638 100644 --- a/gdb/testsuite/gdb.base/savedregs.exp +++ b/gdb/testsuite/gdb.base/savedregs.exp @@ -33,7 +33,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sep.exp b/gdb/testsuite/gdb.base/sep.exp index dc860f612ff..3c96bb55d49 100644 --- a/gdb/testsuite/gdb.base/sep.exp +++ b/gdb/testsuite/gdb.base/sep.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested sep.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp index c6694e6db6f..77b46fcdfeb 100644 --- a/gdb/testsuite/gdb.base/sepdebug.exp +++ b/gdb/testsuite/gdb.base/sepdebug.exp @@ -32,7 +32,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested sepdebug.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sepsymtab.exp b/gdb/testsuite/gdb.base/sepsymtab.exp index 4f9a6821de3..7d7289648be 100644 --- a/gdb/testsuite/gdb.base/sepsymtab.exp +++ b/gdb/testsuite/gdb.base/sepsymtab.exp @@ -21,7 +21,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ executable {debug}] != "" } { - untested sepsymtab.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/set-inferior-tty.exp b/gdb/testsuite/gdb.base/set-inferior-tty.exp index 1a5f49c0745..97d2bc69561 100644 --- a/gdb/testsuite/gdb.base/set-inferior-tty.exp +++ b/gdb/testsuite/gdb.base/set-inferior-tty.exp @@ -17,7 +17,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/setshow.exp b/gdb/testsuite/gdb.base/setshow.exp index 93dd92653ba..7db3c9357ed 100644 --- a/gdb/testsuite/gdb.base/setshow.exp +++ b/gdb/testsuite/gdb.base/setshow.exp @@ -19,7 +19,7 @@ standard_testfile .c if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable {debug}] != "" } { - untested setshow.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index fff147142d7..762a3f38c0c 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -50,7 +50,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${lib1src} ${lib1} $lib_opts] != "" || [gdb_compile_shlib ${lib2src} ${lib2} $lib_opts] != "" || [gdb_compile ${srcfile} ${binfile} executable $exec_opts] != ""} { - untested "could not compile $lib1, $lib2, or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp index 23373fc4bfc..1384642acf9 100644 --- a/gdb/testsuite/gdb.base/sigaltstack.exp +++ b/gdb/testsuite/gdb.base/sigaltstack.exp @@ -31,7 +31,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}.c" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/siginfo-addr.exp b/gdb/testsuite/gdb.base/siginfo-addr.exp index 480110e6fd0..70900d42663 100644 --- a/gdb/testsuite/gdb.base/siginfo-addr.exp +++ b/gdb/testsuite/gdb.base/siginfo-addr.exp @@ -28,7 +28,7 @@ if [target_info exists gdb,nosignals] { standard_testfile if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { - untested "couldn't compile ${srcfile}.c" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp index 677e77fe87f..5d7fdd1590e 100644 --- a/gdb/testsuite/gdb.base/signals.exp +++ b/gdb/testsuite/gdb.base/signals.exp @@ -22,7 +22,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested signals.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/signull.exp b/gdb/testsuite/gdb.base/signull.exp index 5a14bffb0a8..78225108c5f 100644 --- a/gdb/testsuite/gdb.base/signull.exp +++ b/gdb/testsuite/gdb.base/signull.exp @@ -36,7 +36,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested signull.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sigrepeat.exp b/gdb/testsuite/gdb.base/sigrepeat.exp index 82a9e0b6a1a..d7dd791abcb 100644 --- a/gdb/testsuite/gdb.base/sigrepeat.exp +++ b/gdb/testsuite/gdb.base/sigrepeat.exp @@ -28,7 +28,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/so-impl-ld.exp b/gdb/testsuite/gdb.base/so-impl-ld.exp index 875242de1ac..6c95c875819 100644 --- a/gdb/testsuite/gdb.base/so-impl-ld.exp +++ b/gdb/testsuite/gdb.base/so-impl-ld.exp @@ -33,7 +33,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile \ executable $exec_opts] != ""} { - untested "couldn't compile $libsrc or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/solib-display.exp b/gdb/testsuite/gdb.base/solib-display.exp index f4d6bb82174..bc6cfa1a22b 100644 --- a/gdb/testsuite/gdb.base/solib-display.exp +++ b/gdb/testsuite/gdb.base/solib-display.exp @@ -74,7 +74,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { } if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "could not compile $binfile_lib or $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/solib-overlap.exp b/gdb/testsuite/gdb.base/solib-overlap.exp index 5b90894a6a5..dec00be615c 100644 --- a/gdb/testsuite/gdb.base/solib-overlap.exp +++ b/gdb/testsuite/gdb.base/solib-overlap.exp @@ -70,7 +70,7 @@ foreach prelink_lib1 {0x40000000 0x50000000} { with_test_prefix "$prelink_lib1" if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib1} $lib_flags] != "" || [gdb_compile_shlib ${srcfile_lib} ${binfile_lib2} $lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "could not compile ${binfile_lib1_test_msg}, ${binfile_lib2_test_msg} or ${binfile_test_msg}." + untested "failed to compile" return -1 } @@ -92,7 +92,7 @@ foreach prelink_lib1 {0x40000000 0x50000000} { with_test_prefix "$prelink_lib1" if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib1} $lib_flags] != "" || [gdb_compile_shlib ${srcfile_lib} ${binfile_lib2} $lib_flags] != ""} { - untested "could not recompile ${binfile_lib1_test_msg} or ${binfile_lib2_test_msg}." + untested "failed to compile shared library" kill_wait_spawned_process $test_spawn_id return -1 } diff --git a/gdb/testsuite/gdb.base/solib-search.exp b/gdb/testsuite/gdb.base/solib-search.exp index 9acd34772aa..a080f2b714d 100644 --- a/gdb/testsuite/gdb.base/solib-search.exp +++ b/gdb/testsuite/gdb.base/solib-search.exp @@ -69,7 +69,7 @@ if { [gdb_compile_shlib ${srcfile1_lib} ${wrong_binfile1_lib} $wrong_lib_flags] || [gdb_compile_shlib ${srcfile2_lib} ${wrong_binfile2_lib} $wrong_lib_flags] != "" || [gdb_compile_shlib ${srcfile1_lib} ${right_binfile1_lib} $right_lib_flags] != "" || [gdb_compile_shlib ${srcfile2_lib} ${right_binfile2_lib} $right_lib_flags] != "" } { - untested "could not compile libs." + untested "failed to compile shared library" return -1 } @@ -78,7 +78,7 @@ remote_exec build "ln -sf ${right_lib_subdir}/${libname1}.so ${binfile1_lib}" remote_exec build "ln -sf ${right_lib_subdir}/${libname2}.so ${binfile2_lib}" if { [gdb_compile $srcdir/$subdir/${srcfile} ${binfile} \ executable $bin_flags] != "" } { - untested "could not compile $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/solib-symbol.exp b/gdb/testsuite/gdb.base/solib-symbol.exp index 2d5631f306a..f74b90f9783 100644 --- a/gdb/testsuite/gdb.base/solib-symbol.exp +++ b/gdb/testsuite/gdb.base/solib-symbol.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "could not compile $binfile_lib or $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp index 912eb82584a..505894f6956 100644 --- a/gdb/testsuite/gdb.base/structs.exp +++ b/gdb/testsuite/gdb.base/structs.exp @@ -70,7 +70,7 @@ proc start_structs_test { types } { # built the second test case since we can't use prototypes warning "Prototypes not supported, rebuilding with -DNO_PROTOTYPES" if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable "${flags} additional_flags=-DNO_PROTOTYPES"] != "" } { - untested structs.exp + untested "failed to compile" return -1 } } diff --git a/gdb/testsuite/gdb.base/structs2.exp b/gdb/testsuite/gdb.base/structs2.exp index 5eaf936e921..fb20cd05fdb 100644 --- a/gdb/testsuite/gdb.base/structs2.exp +++ b/gdb/testsuite/gdb.base/structs2.exp @@ -27,7 +27,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb # built the second test case since we can't use prototypes warning "Prototypes not supported, rebuilding with -DNO_PROTOTYPES" if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DNO_PROTOTYPES}] != "" } { - untested structs2.exp + untested "failed to compile" return -1 } set prototypes 0 diff --git a/gdb/testsuite/gdb.base/symtab-search-order.exp b/gdb/testsuite/gdb.base/symtab-search-order.exp index c8d058a663b..d4cf7314ec6 100644 --- a/gdb/testsuite/gdb.base/symtab-search-order.exp +++ b/gdb/testsuite/gdb.base/symtab-search-order.exp @@ -33,7 +33,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $lib1src $lib1 $lib_opts] != "" || [gdb_compile [list $srcfile $srcfile2] $binfile executable \ $exec_opts] != ""} { - untested "could not compile $lib1, or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/twice.exp b/gdb/testsuite/gdb.base/twice.exp index c0e8318f6d6..cd5b2ef5d1c 100644 --- a/gdb/testsuite/gdb.base/twice.exp +++ b/gdb/testsuite/gdb.base/twice.exp @@ -26,7 +26,7 @@ close $fileid gdb_remote_download host ${srcdir}/${subdir}/twice.c if { [gdb_compile $local_srcfile "${binfile}" executable $options] != "" } { - untested twice.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/unload.exp b/gdb/testsuite/gdb.base/unload.exp index aa256972f47..66447246614 100644 --- a/gdb/testsuite/gdb.base/unload.exp +++ b/gdb/testsuite/gdb.base/unload.exp @@ -52,7 +52,7 @@ set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlope if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != "" || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { - untested "couldn't compile $libsrc or $libsrc2 or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/varargs.exp b/gdb/testsuite/gdb.base/varargs.exp index 36b01078bc7..33e6b0e554a 100644 --- a/gdb/testsuite/gdb.base/varargs.exp +++ b/gdb/testsuite/gdb.base/varargs.exp @@ -47,7 +47,7 @@ if [support_complex_tests] { # build the first test case if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ executable ${additional_flags}] != "" } { - untested varargs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/watchpoint-solib.exp b/gdb/testsuite/gdb.base/watchpoint-solib.exp index 1ae972f5d54..5626975375c 100644 --- a/gdb/testsuite/gdb.base/watchpoint-solib.exp +++ b/gdb/testsuite/gdb.base/watchpoint-solib.exp @@ -42,7 +42,7 @@ set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlope if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { - untested "couldn't compile $libsrc or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp index fb20a0a14b4..f8d20e0fd23 100644 --- a/gdb/testsuite/gdb.base/watchpoint.exp +++ b/gdb/testsuite/gdb.base/watchpoint.exp @@ -23,7 +23,7 @@ if [get_compiler_info] { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested watchpoint.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/whatis.exp b/gdb/testsuite/gdb.base/whatis.exp index 0cdcf5b53da..99719685d79 100644 --- a/gdb/testsuite/gdb.base/whatis.exp +++ b/gdb/testsuite/gdb.base/whatis.exp @@ -28,7 +28,7 @@ if [target_info exists no_long_long] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $exec_opts] != "" } { - untested whatis.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp b/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp index cc4d87955bc..589ed558bb8 100644 --- a/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp +++ b/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp @@ -28,7 +28,7 @@ set opaque_objfile [standard_output_file "$opaque_testfile.o"] if {[gdb_compile "${srcdir}/${subdir}/$opaque_testfile.c" \ $opaque_objfile \ object {}] != ""} { - untested "failed to compile $opaque_testfile.c" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.btrace/dlopen.exp b/gdb/testsuite/gdb.btrace/dlopen.exp index 05354f526fe..1e5b4f13c74 100644 --- a/gdb/testsuite/gdb.btrace/dlopen.exp +++ b/gdb/testsuite/gdb.btrace/dlopen.exp @@ -26,7 +26,7 @@ set binfile_lib [standard_output_file $basename_lib.so] if { [gdb_compile_shlib $srcfile_lib $binfile_lib \ [list additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib." + untested "failed to compile shared library" return -1 } diff --git a/gdb/testsuite/gdb.cell/ea-standalone.exp b/gdb/testsuite/gdb.cell/ea-standalone.exp index 9f8f81c469b..7bd37ff7671 100644 --- a/gdb/testsuite/gdb.cell/ea-standalone.exp +++ b/gdb/testsuite/gdb.cell/ea-standalone.exp @@ -30,7 +30,7 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $srcfile $binary executable {debug}] != "" } { - unsupported "compile spu binary failed, so all tests in this file will automatically fail." + unsupported "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.cell/ea-test.exp b/gdb/testsuite/gdb.cell/ea-test.exp index 57ed9e2d015..853e4922f02 100644 --- a/gdb/testsuite/gdb.cell/ea-test.exp +++ b/gdb/testsuite/gdb.cell/ea-test.exp @@ -30,7 +30,7 @@ if {[skip_cell_tests]} { # Compile SPU binary. if { [gdb_compile_cell_spu $source $binary executable {debug}] != "" } { - unsupported "compile spu binary failed, so all tests in this file will automatically fail." + unsupported "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.cp/dispcxx.exp b/gdb/testsuite/gdb.cp/dispcxx.exp index 3ca4c2ba69f..0be6b78087d 100644 --- a/gdb/testsuite/gdb.cp/dispcxx.exp +++ b/gdb/testsuite/gdb.cp/dispcxx.exp @@ -18,7 +18,7 @@ if { [skip_cplus_tests] } { continue } standard_testfile .cc if [get_compiler_info "c++"] { - untested dispcxx.exp + untested "couldn't find a valid c++ compiler" return -1 } diff --git a/gdb/testsuite/gdb.cp/gdb2384.exp b/gdb/testsuite/gdb.cp/gdb2384.exp index 66c6cb100a8..75ee14b08c8 100644 --- a/gdb/testsuite/gdb.cp/gdb2384.exp +++ b/gdb/testsuite/gdb.cp/gdb2384.exp @@ -36,7 +36,7 @@ if [get_compiler_info "c++"] { if { [gdb_compile_shlib $srcdir/$subdir/$srcfile2 $sofile {debug c++}] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable [list debug "c++" shlib=${sofile}]] != ""} { - untested gdb2384.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.cp/method2.exp b/gdb/testsuite/gdb.cp/method2.exp index a163b0c5be6..5204a3988b3 100644 --- a/gdb/testsuite/gdb.cp/method2.exp +++ b/gdb/testsuite/gdb.cp/method2.exp @@ -23,7 +23,7 @@ if { [skip_cplus_tests] } { continue } standard_testfile .cc if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { - untested method2.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.cp/nextoverthrow.exp b/gdb/testsuite/gdb.cp/nextoverthrow.exp index 0a9973dba26..6d36c3fa833 100644 --- a/gdb/testsuite/gdb.cp/nextoverthrow.exp +++ b/gdb/testsuite/gdb.cp/nextoverthrow.exp @@ -21,7 +21,7 @@ standard_testfile .cc # Create and source the file that provides information about the compiler # used to compile the test case. if [get_compiler_info "c++"] { - untested nextoverthrow.exp + untested "couldn't find a valid c++ compiler" return -1 } diff --git a/gdb/testsuite/gdb.cp/pr10728.exp b/gdb/testsuite/gdb.cp/pr10728.exp index 39d1140f106..0696005cb5b 100644 --- a/gdb/testsuite/gdb.cp/pr10728.exp +++ b/gdb/testsuite/gdb.cp/pr10728.exp @@ -26,17 +26,17 @@ set tfx [standard_output_file pr10728-x.o] set tfy [standard_output_file pr10728-y.o] if { [gdb_compile "${srcdir}/${subdir}/$srcfile2" "${tfy}.o" object {c++}] != "" } { - untested pr10728.exp + untested "failed to compile second object file" return -1 } if { [gdb_compile "${srcdir}/${subdir}/$srcfile" "${tfx}.o" object {debug c++}] != "" } { - untested pr10728.exp + untested "failed to compile first object file" return -1 } if { [gdb_compile "${tfx}.o ${tfy}.o" ${binfile} executable {debug c++}] != "" } { - untested pr10728.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.disasm/am33.exp b/gdb/testsuite/gdb.disasm/am33.exp index 73ad07f71c1..7bc6d1b4510 100644 --- a/gdb/testsuite/gdb.disasm/am33.exp +++ b/gdb/testsuite/gdb.disasm/am33.exp @@ -27,7 +27,7 @@ set testfile "am33" set srcfile ${srcdir}/${subdir}/${testfile}.s set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } { - untested am33.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.disasm/h8300s.exp b/gdb/testsuite/gdb.disasm/h8300s.exp index 2d2c3d52b41..ee9cea48d1a 100644 --- a/gdb/testsuite/gdb.disasm/h8300s.exp +++ b/gdb/testsuite/gdb.disasm/h8300s.exp @@ -25,7 +25,7 @@ set testfile "h8300s" set srcfile ${srcdir}/${subdir}/${testfile}.s set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcfile}" "${binfile}" executable {debug additional_flags=-ms}] != "" } { - untested h8300s.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.disasm/mn10300.exp b/gdb/testsuite/gdb.disasm/mn10300.exp index 477211b36e8..3e99d6df3fd 100644 --- a/gdb/testsuite/gdb.disasm/mn10300.exp +++ b/gdb/testsuite/gdb.disasm/mn10300.exp @@ -27,7 +27,7 @@ set testfile "mn10300" set srcfile ${srcdir}/${subdir}/${testfile}.s set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcfile}" "${binfile}" executable ""] != "" } { - untested mn10300.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.disasm/sh3.exp b/gdb/testsuite/gdb.disasm/sh3.exp index 9e6e9f19eea..1f5ff649ec4 100644 --- a/gdb/testsuite/gdb.disasm/sh3.exp +++ b/gdb/testsuite/gdb.disasm/sh3.exp @@ -25,7 +25,7 @@ set testfile "sh3" set srcfile ${srcdir}/${subdir}/${testfile}.s set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcfile}" "${binfile}" executable ""] != "" } { - untested sh3.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp index 313b56f5bbc..2d1223e6ed0 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp @@ -327,7 +327,7 @@ lappend opts "additional_flags=-DFDIR=\"fdir\"" lappend opts "additional_flags=-DFILE=\"${srctmpfile}\"" if { [gdb_compile "${asmsrcfile} ${srcdir}/${subdir}/$srcfile" "${binfile}" executable $opts] != "" } { - untested "cannot compile ${asmsrcfile} or $srcfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.fortran/complex.exp b/gdb/testsuite/gdb.fortran/complex.exp index 7046ba2cc17..961e4276043 100644 --- a/gdb/testsuite/gdb.fortran/complex.exp +++ b/gdb/testsuite/gdb.fortran/complex.exp @@ -16,7 +16,7 @@ standard_testfile .f if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug f90 quiet}]} { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.fortran/library-module.exp b/gdb/testsuite/gdb.fortran/library-module.exp index e2f03c32d8a..b7ffad98d63 100644 --- a/gdb/testsuite/gdb.fortran/library-module.exp +++ b/gdb/testsuite/gdb.fortran/library-module.exp @@ -24,7 +24,7 @@ if [get_compiler_info] { } if { [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" $libfile {debug f90}] != "" } { - untested "couldn't compile ${srclibfile}" + untested "failed to compile shared library" return -1 } @@ -33,7 +33,7 @@ if { [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" $libfile {debug f90 # warnings on ignored $libfile abort the process. if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable [list debug f90 shlib=$libfile]] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.guile/scm-pretty-print.exp b/gdb/testsuite/gdb.guile/scm-pretty-print.exp index f17d827d103..2f7438da414 100644 --- a/gdb/testsuite/gdb.guile/scm-pretty-print.exp +++ b/gdb/testsuite/gdb.guile/scm-pretty-print.exp @@ -30,7 +30,7 @@ if { [skip_guile_tests] } { continue } proc run_lang_tests {exefile lang} { global srcdir subdir srcfile testfile hex if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "couldn't compile ${srcfile} in $lang mode" + untested "failed to compile in $lang mode" return } diff --git a/gdb/testsuite/gdb.guile/scm-symbol.exp b/gdb/testsuite/gdb.guile/scm-symbol.exp index e143045159b..3a7476df51c 100644 --- a/gdb/testsuite/gdb.guile/scm-symbol.exp +++ b/gdb/testsuite/gdb.guile/scm-symbol.exp @@ -138,7 +138,7 @@ gdb_test "guile (print (symbol-symtab t))" "= #