diff options
author | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 14:47:50 -0600 |
---|---|---|
committer | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 14:47:50 -0600 |
commit | 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e (patch) | |
tree | a0be40c6b39646cbb41a2e1f8cf61e60f192aa56 /gdb/testsuite | |
parent | Fix test names starting with uppercase using multi-line gdb_test_multiple (diff) | |
download | binutils-gdb-84c93cd5f1ff869eb8c04314738eaa2cddb3c29e.tar.gz binutils-gdb-84c93cd5f1ff869eb8c04314738eaa2cddb3c29e.tar.bz2 binutils-gdb-84c93cd5f1ff869eb8c04314738eaa2cddb3c29e.zip |
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 <lgustavo@codesourcery.com>
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
Diffstat (limited to 'gdb/testsuite')
193 files changed, 434 insertions, 238 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c1b04bea5cc..4060ea64092 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,203 @@ 2016-12-01 Luis Machado <lgustavo@codesourcery.com> + 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 <lgustavo@codesourcery.com> + * gdb.cp/gdb2495.exp: Replace gdb_test_multiple with gdb_test_no_output. Use command as test name. 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 <g if { [gdb_compile ${srcdir}/${subdir}/$libsrc $lib_o object {}] != "" || [gdb_compile "${srcdir}/${subdir}/$srcfile $lib_o" $staticbinfile executable {debug}] != "" } { - untested "could not compile static executable $staticbinfile." + untested "failed to compile second testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/hashline1.exp b/gdb/testsuite/gdb.base/hashline1.exp index c57d4a6d0b4..d0e86ce21f1 100644 --- a/gdb/testsuite/gdb.base/hashline1.exp +++ b/gdb/testsuite/gdb.base/hashline1.exp @@ -33,7 +33,7 @@ close $fd # the bug. Using $new_srcfile here won't trigger the bug. set compile_name [relative_filename $objdir $new_srcfile] if { [gdb_compile $compile_name "${binfile}" executable {debug}] != "" } { - untested hashline1.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/hashline2.exp b/gdb/testsuite/gdb.base/hashline2.exp index bbdb5bd680b..fce6e7e80f0 100644 --- a/gdb/testsuite/gdb.base/hashline2.exp +++ b/gdb/testsuite/gdb.base/hashline2.exp @@ -30,7 +30,7 @@ puts $fd "int main () { return 0; } /* set breakpoint here */" close $fd if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } { - untested hashline2.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/hashline3.exp b/gdb/testsuite/gdb.base/hashline3.exp index a2a9b3db78e..ace14dc8340 100644 --- a/gdb/testsuite/gdb.base/hashline3.exp +++ b/gdb/testsuite/gdb.base/hashline3.exp @@ -31,7 +31,7 @@ puts $fd "int main () { return 0; } /* set breakpoint here */" close $fd if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } { - untested hashline3.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp b/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp index 28ab3d6952a..dee3bcaa8af 100644 --- a/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp +++ b/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib_src} ${lib_so} $lib_opts] != "" || [gdb_compile ${srcdir}/${subdir}/${main_src} ${binfile} executable $exec_opts] != ""} { - untested "could not compile ${subdir}/$lib_src or ${subdir}/$srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/huge.exp b/gdb/testsuite/gdb.base/huge.exp index 4dca89b12b6..e95acd554d6 100644 --- a/gdb/testsuite/gdb.base/huge.exp +++ b/gdb/testsuite/gdb.base/huge.exp @@ -31,7 +31,7 @@ for { set size [expr 2 * 1024 * 1024] } { $size > 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 <http://www.gnu.org/licenses/>. 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))" "= #<gdb:symtab .*gdb.guile/scm-symbo # C++ tests # Recompile binary. if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" executable "debug c++"] != "" } { - untested "couldn't compile ${srcfile} in c++ mode" + untested "failed to compile in C++ mode" return -1 } diff --git a/gdb/testsuite/gdb.guile/scm-type.exp b/gdb/testsuite/gdb.guile/scm-type.exp index 455d948cbe5..604cf45f2ec 100644 --- a/gdb/testsuite/gdb.guile/scm-type.exp +++ b/gdb/testsuite/gdb.guile/scm-type.exp @@ -30,7 +30,7 @@ proc build_inferior {exefile lang} { global srcdir subdir srcfile 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 -1 } return 0 diff --git a/gdb/testsuite/gdb.guile/scm-value.exp b/gdb/testsuite/gdb.guile/scm-value.exp index 76ec990d9b6..062f2d1cdba 100644 --- a/gdb/testsuite/gdb.guile/scm-value.exp +++ b/gdb/testsuite/gdb.guile/scm-value.exp @@ -39,7 +39,7 @@ proc build_inferior {exefile lang} { if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object "debug $lang"] != "" || [gdb_compile "${objfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "couldn't compile ${srcfile} in $lang mode" + untested "failed to compile in $lang mode" return -1 } return 0 diff --git a/gdb/testsuite/gdb.linespec/linespec.exp b/gdb/testsuite/gdb.linespec/linespec.exp index 2fe4312db96..223d7d7a5a6 100644 --- a/gdb/testsuite/gdb.linespec/linespec.exp +++ b/gdb/testsuite/gdb.linespec/linespec.exp @@ -23,7 +23,7 @@ set baseone base/one/thefile.cc set basetwo base/two/thefile.cc if {[skip_cplus_tests]} { - unsupported linespec.exp + unsupported "skipping c++ tests" return } diff --git a/gdb/testsuite/gdb.mi/gdb701.exp b/gdb/testsuite/gdb.mi/gdb701.exp index be1fb85f142..65f6686fd4f 100644 --- a/gdb/testsuite/gdb.mi/gdb701.exp +++ b/gdb/testsuite/gdb.mi/gdb701.exp @@ -28,7 +28,7 @@ if [mi_gdb_start] { standard_testfile if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable debug] != ""} { - untested gdb701.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/gdb792.exp b/gdb/testsuite/gdb.mi/gdb792.exp index 7dfd08a18cf..e723800adf2 100644 --- a/gdb/testsuite/gdb.mi/gdb792.exp +++ b/gdb/testsuite/gdb.mi/gdb792.exp @@ -34,7 +34,7 @@ if [get_compiler_info "c++"] { } if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable {debug c++}] != ""} { - untested gdb792.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp index dc427209a89..c49c5c88fb5 100644 --- a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp +++ b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp @@ -31,7 +31,7 @@ set lib_opts "debug" if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} { - untested "could not compile either $libsrc1 or $libsrc2" + untested "failed to compile shared library" return -1 } @@ -39,7 +39,7 @@ set MIFLAGS "-i=mi" set exec_opts [list debug shlib=$lib_sl1 shlib_load] if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "failed to compile $srcfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp b/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp index b1c870ef98c..2f556d81a36 100644 --- a/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp @@ -36,12 +36,12 @@ if {[get_compiler_info]} { } if {[gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""} { - untested "could not compile $libsrc1" + untested "failed to compile shared library" return -1 } if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile $srcdir/$subdir/$srcfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-dprintf.exp b/gdb/testsuite/gdb.mi/mi-dprintf.exp index 760c75613ad..4a3429fd705 100644 --- a/gdb/testsuite/gdb.mi/mi-dprintf.exp +++ b/gdb/testsuite/gdb.mi/mi-dprintf.exp @@ -25,7 +25,7 @@ if [mi_gdb_start] { standard_testfile if {[build_executable $testfile.exp $testfile $srcfile {debug}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-exit-code.exp b/gdb/testsuite/gdb.mi/mi-exit-code.exp index 2700c0a50e8..dbbdbb4a1b2 100644 --- a/gdb/testsuite/gdb.mi/mi-exit-code.exp +++ b/gdb/testsuite/gdb.mi/mi-exit-code.exp @@ -24,7 +24,7 @@ if [mi_gdb_start] { standard_testfile if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp index 1a277335787..f10fd4de2a3 100644 --- a/gdb/testsuite/gdb.mi/mi-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-pending.exp @@ -41,12 +41,12 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} { - untested "could not compile either $libsrc1 or $libsrc2" + untested "failed to compile shared library" return -1 } if { [gdb_compile_pthreads $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile $srcdir/$subdir/$srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/mi-solib.exp b/gdb/testsuite/gdb.mi/mi-solib.exp index 6ac8c3a36a9..e4936c4c521 100644 --- a/gdb/testsuite/gdb.mi/mi-solib.exp +++ b/gdb/testsuite/gdb.mi/mi-solib.exp @@ -42,7 +42,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $lib_flags] != "" || [gdb_compile ${srcfile_main} ${binfile} executable $bin_flags] != "" } { - untested "could not compile $binfile_lib or $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp index b0f6c31e354..89c9a92c9df 100644 --- a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp +++ b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp @@ -25,7 +25,7 @@ load_lib mi-support.exp standard_testfile if {[build_executable $testfile.exp $testfile ${srcfile} "debug"] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.mi/pr11022.exp b/gdb/testsuite/gdb.mi/pr11022.exp index 6f6902b5463..d59fa68d15e 100644 --- a/gdb/testsuite/gdb.mi/pr11022.exp +++ b/gdb/testsuite/gdb.mi/pr11022.exp @@ -23,7 +23,7 @@ set MIFLAGS "-i=mi" standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested pr11022.exp + untested "failed to compile" return } diff --git a/gdb/testsuite/gdb.mi/user-selected-context-sync.exp b/gdb/testsuite/gdb.mi/user-selected-context-sync.exp index 6b6ec2d1c9a..8c9e4e054a4 100644 --- a/gdb/testsuite/gdb.mi/user-selected-context-sync.exp +++ b/gdb/testsuite/gdb.mi/user-selected-context-sync.exp @@ -42,7 +42,7 @@ if [use_gdb_stub] { set compile_options "debug pthreads" 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.opt/solib-intra-step.exp b/gdb/testsuite/gdb.opt/solib-intra-step.exp index d6ec6323551..8453324efe3 100644 --- a/gdb/testsuite/gdb.opt/solib-intra-step.exp +++ b/gdb/testsuite/gdb.opt/solib-intra-step.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.python/py-events.exp b/gdb/testsuite/gdb.python/py-events.exp index 144cc4b513a..449062ffb1e 100644 --- a/gdb/testsuite/gdb.python/py-events.exp +++ b/gdb/testsuite/gdb.python/py-events.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 $srcdir/$subdir/$srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp index 218baed540b..03341f57d07 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.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.python/py-mi.exp b/gdb/testsuite/gdb.python/py-mi.exp index 6bbc51026a8..3272f21f63a 100644 --- a/gdb/testsuite/gdb.python/py-mi.exp +++ b/gdb/testsuite/gdb.python/py-mi.exp @@ -321,7 +321,7 @@ mi_gdb_test "-var-update c" \ gdb_exit if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" \ executable {debug c++ additional_flags=-DMI}] != "" } { - untested "couldn't compile ${srcfile} in c++ mode" + untested "failed to compile in C++ mode" return -1 } diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp index 86491e4e5e3..9a1ed1f35a3 100644 --- a/gdb/testsuite/gdb.python/py-prettyprint.exp +++ b/gdb/testsuite/gdb.python/py-prettyprint.exp @@ -30,7 +30,7 @@ if { [skip_python_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 -1 } diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp index 3e049b32495..d3ac90680f6 100644 --- a/gdb/testsuite/gdb.python/py-shared.exp +++ b/gdb/testsuite/gdb.python/py-shared.exp @@ -28,14 +28,14 @@ set libsrc ${libfile}.c set library [standard_output_file ${libfile}.sl] if { [gdb_compile_shlib ${srcdir}/${subdir}/${libsrc} ${library} "debug"] != "" } { - untested "could not compile shared library." + untested "failed to compile shared library" return -1 } set exec_opts [list debug shlib=${library}] if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } { - untested "could not compile $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.python/py-symbol.exp b/gdb/testsuite/gdb.python/py-symbol.exp index c4b3f2e4a3f..79abe646ca9 100644 --- a/gdb/testsuite/gdb.python/py-symbol.exp +++ b/gdb/testsuite/gdb.python/py-symbol.exp @@ -127,7 +127,7 @@ gdb_test "python print (t\[0\].symtab)" "${py_symbol_c}" "get symtab" # C++ tests # Recompile binary. if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" executable "debug c++"] != "" } { - untested "couldn't compile ${srcfile} in c++ mode" + untested "failed to compile in C++ mode" return -1 } diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp index 28a5177850b..63f0bddb90a 100644 --- a/gdb/testsuite/gdb.python/py-template.exp +++ b/gdb/testsuite/gdb.python/py-template.exp @@ -21,7 +21,7 @@ if { [skip_cplus_tests] } { continue } standard_testfile .cc if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ {debug c++}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.python/py-type.exp b/gdb/testsuite/gdb.python/py-type.exp index 782bd431dbb..4a63f73df8c 100644 --- a/gdb/testsuite/gdb.python/py-type.exp +++ b/gdb/testsuite/gdb.python/py-type.exp @@ -29,7 +29,7 @@ proc build_inferior {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 -1 } diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index fb489e1f219..0585f8ceaf7 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -39,7 +39,7 @@ proc build_inferior {exefile lang} { if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object "debug $lang"] != "" || [gdb_compile "${objfile}" "${exefile}" executable "debug $lang"] != "" } { - untested "couldn't compile ${srcfile} in $lang mode" + untested "failed to compile in $lang mode" return -1 } return 0 diff --git a/gdb/testsuite/gdb.reverse/solib-precsave.exp b/gdb/testsuite/gdb.reverse/solib-precsave.exp index 1db4f3fb4f7..6f33fbf86d2 100644 --- a/gdb/testsuite/gdb.reverse/solib-precsave.exp +++ b/gdb/testsuite/gdb.reverse/solib-precsave.exp @@ -40,12 +40,12 @@ if [get_compiler_info] { # Compile the first without debug info so that # stepping and reverse stepping doesn't end up inside them. if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib1src} ${library1} ""] != "" } { - untested "could not compile shared library1." + untested "failed to compile shared library 1" return -1 } if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib2src} ${library2} "debug"] != "" } { - untested "could not compile shared library2." + untested "failed to compile shared library 2" return -1 } @@ -58,7 +58,7 @@ set exec_opts [list debug shlib=${library1} shlib=${library2}] if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable \ [concat $exec_opts additional_flags=-Wl,-z,norelro]] != "" && [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } { - untested "could not compile $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.reverse/solib-reverse.exp b/gdb/testsuite/gdb.reverse/solib-reverse.exp index 61c76d39ee0..a90c4d2e4bb 100644 --- a/gdb/testsuite/gdb.reverse/solib-reverse.exp +++ b/gdb/testsuite/gdb.reverse/solib-reverse.exp @@ -38,19 +38,19 @@ if [get_compiler_info] { # Compile the first without debug info so that # stepping and reverse stepping doesn't end up inside them. if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib1src} ${library1} ""] != "" } { - untested "could not compile shared library1." + untested "failed to compile shared library 1" return -1 } if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib2src} ${library2} "debug"] != "" } { - untested "could not compile shared library2." + untested "failed to compile shared library 2" return -1 } set exec_opts [list debug shlib=${library1} shlib=${library2}] if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } { - untested "could not compile $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.server/solib-list.exp b/gdb/testsuite/gdb.server/solib-list.exp index 57647e1a2e1..50edf6fa380 100644 --- a/gdb/testsuite/gdb.server/solib-list.exp +++ b/gdb/testsuite/gdb.server/solib-list.exp @@ -34,7 +34,7 @@ set binlibfile [standard_output_file ${testfile}.so] if { [get_compiler_info] || [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" "${binlibfile}" {debug}] != "" || [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable "shlib=${binlibfile}"] != "" } { - untested "could not compile sources" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index b8c72daf3c2..af512521a07 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -271,7 +271,7 @@ if { [lindex $exec_output 0] != 0 } { } if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } { - untested weird.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.threads/reconnect-signal.exp b/gdb/testsuite/gdb.threads/reconnect-signal.exp index 1d134e209a1..0a3c17db914 100644 --- a/gdb/testsuite/gdb.threads/reconnect-signal.exp +++ b/gdb/testsuite/gdb.threads/reconnect-signal.exp @@ -27,7 +27,7 @@ if { [gdb_compile_pthreads \ "${srcdir}/${subdir}/${srcfile}" \ "${binfile}" \ executable {debug}] != "" } { - untested "couldn't compile test program." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.threads/stepi-random-signal.exp b/gdb/testsuite/gdb.threads/stepi-random-signal.exp index 5e558ddc21a..2e28209a420 100644 --- a/gdb/testsuite/gdb.threads/stepi-random-signal.exp +++ b/gdb/testsuite/gdb.threads/stepi-random-signal.exp @@ -20,7 +20,7 @@ if { [gdb_compile_pthreads \ "${srcdir}/${subdir}/${srcfile}" \ "${binfile}" \ executable {debug}] != "" } { - untested "couldn't compile test program." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.trace/actions.exp b/gdb/testsuite/gdb.trace/actions.exp index 46890f5a919..cd23cb4ff8e 100644 --- a/gdb/testsuite/gdb.trace/actions.exp +++ b/gdb/testsuite/gdb.trace/actions.exp @@ -24,7 +24,7 @@ gdb_start standard_testfile if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested actions.exp + untested "failed to compile" return -1 } gdb_reinitialize_dir $srcdir/$subdir diff --git a/gdb/testsuite/gdb.trace/ax.exp b/gdb/testsuite/gdb.trace/ax.exp index 5e9783f7282..979a5f33ee1 100644 --- a/gdb/testsuite/gdb.trace/ax.exp +++ b/gdb/testsuite/gdb.trace/ax.exp @@ -26,7 +26,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested ax.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.trace/backtrace.exp b/gdb/testsuite/gdb.trace/backtrace.exp index 44a76579711..bdebc2e745a 100644 --- a/gdb/testsuite/gdb.trace/backtrace.exp +++ b/gdb/testsuite/gdb.trace/backtrace.exp @@ -91,13 +91,13 @@ gdb_test_multiple "list $baseline, +12" "all tests in this module will fail" { } -re ".*$gdb_prompt $" { if { ($testline1 == 0) || ($testline2 == 0) || ($testline3 == 0) || ($testline4 == 0) || ($testline5 == 0) || ($testline6 == 0) } { - untested backtrace.exp + untested "unexpected testline values" set return_me 1 all tests in this module will fail." } } default { - untested backtrace.exp + untested "couldn't match pattern" set return_me 1 all tests in this module will fail." } diff --git a/gdb/testsuite/gdb.trace/change-loc.exp b/gdb/testsuite/gdb.trace/change-loc.exp index 118060a8251..e57930153ac 100644 --- a/gdb/testsuite/gdb.trace/change-loc.exp +++ b/gdb/testsuite/gdb.trace/change-loc.exp @@ -39,7 +39,7 @@ set additional_flags [list debug shlib=$lib_sl1 shlib_load [gdb_target_symbol_pr if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $additional_flags] != ""} { - untested "could not compile either $libsrc1 or $srcdir/$subdir/$srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.trace/deltrace.exp b/gdb/testsuite/gdb.trace/deltrace.exp index bffd5759dd5..04e7f5afb2c 100644 --- a/gdb/testsuite/gdb.trace/deltrace.exp +++ b/gdb/testsuite/gdb.trace/deltrace.exp @@ -24,7 +24,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested deltrace.exp + untested "failed to compile" return -1 } gdb_reinitialize_dir $srcdir/$subdir diff --git a/gdb/testsuite/gdb.trace/ftrace-lock.exp b/gdb/testsuite/gdb.trace/ftrace-lock.exp index b48d9699301..436062cdac2 100644 --- a/gdb/testsuite/gdb.trace/ftrace-lock.exp +++ b/gdb/testsuite/gdb.trace/ftrace-lock.exp @@ -30,7 +30,7 @@ set options [list debug [gdb_target_symbol_prefix_flags] \ # Check that the target supports trace. if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } @@ -53,7 +53,7 @@ set remote_libipa [gdb_load_shlib $libipa] lappend options shlib=$libipa if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "couldn't compile test program with in-process agent library" + untested "failed to compile with in-process agent library" return -1 } diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp index 8b720d42e10..97dff8c2d87 100644 --- a/gdb/testsuite/gdb.trace/ftrace.exp +++ b/gdb/testsuite/gdb.trace/ftrace.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.trace/infotrace.exp b/gdb/testsuite/gdb.trace/infotrace.exp index 1561ead24b0..be78d4c9b5d 100644 --- a/gdb/testsuite/gdb.trace/infotrace.exp +++ b/gdb/testsuite/gdb.trace/infotrace.exp @@ -24,7 +24,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested infotrace.exp + untested "failed to compile" return -1 } gdb_reinitialize_dir $srcdir/$subdir diff --git a/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp b/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp index 43b34c99663..370c89ff7e7 100644 --- a/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp +++ b/gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp @@ -32,13 +32,13 @@ set lib_opts [gdb_target_symbol_prefix_flags] if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} { - untested "could not compile either $libsrc1 or $libsrc2" + untested "failed to compile shared library" return -1 } set exec_opts [list debug shlib=$lib_sl1 shlib_load] if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "failed to compile $srcfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.trace/packetlen.exp b/gdb/testsuite/gdb.trace/packetlen.exp index a790063c438..25b73550520 100644 --- a/gdb/testsuite/gdb.trace/packetlen.exp +++ b/gdb/testsuite/gdb.trace/packetlen.exp @@ -24,7 +24,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested packetlen.exp + untested "failed to compile" return -1 } gdb_load $binfile diff --git a/gdb/testsuite/gdb.trace/passcount.exp b/gdb/testsuite/gdb.trace/passcount.exp index df7e39d1655..0774a4ecf14 100644 --- a/gdb/testsuite/gdb.trace/passcount.exp +++ b/gdb/testsuite/gdb.trace/passcount.exp @@ -23,7 +23,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested passcount.exp + untested "failed to compile" return -1 } gdb_reinitialize_dir $srcdir/$subdir diff --git a/gdb/testsuite/gdb.trace/pending.exp b/gdb/testsuite/gdb.trace/pending.exp index 28ffc2859a5..30d14faf3ac 100644 --- a/gdb/testsuite/gdb.trace/pending.exp +++ b/gdb/testsuite/gdb.trace/pending.exp @@ -31,13 +31,13 @@ set lib_opts [gdb_target_symbol_prefix_flags] if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} { - untested "could not compile either $libsrc1 or $libsrc2" + untested "failed to compile shared library" return -1 } set exec_opts [list debug shlib=$lib_sl1 shlib_load] if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "failed to compile $srcfile" + untested "failed to compile" return -1 } @@ -508,7 +508,7 @@ gdb_load_shlib $libipa lappend exec_opts "shlib=$libipa" if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "failed to compile $srcfile" + untested "failed to compile with in-process agent library" return -1 } diff --git a/gdb/testsuite/gdb.trace/range-stepping.exp b/gdb/testsuite/gdb.trace/range-stepping.exp index 81da27d2cde..88aa3ff21fe 100644 --- a/gdb/testsuite/gdb.trace/range-stepping.exp +++ b/gdb/testsuite/gdb.trace/range-stepping.exp @@ -71,7 +71,7 @@ set remote_libipa [gdb_load_shlib $libipa] if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable [list debug nowarnings shlib=$libipa] ] != "" } { - untested "failed to compile ftrace tests" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.trace/report.exp b/gdb/testsuite/gdb.trace/report.exp index f487ec6507f..ef7ef6259a1 100644 --- a/gdb/testsuite/gdb.trace/report.exp +++ b/gdb/testsuite/gdb.trace/report.exp @@ -24,7 +24,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested report.exp + untested "failed to compile" return -1 } gdb_load $binfile @@ -97,13 +97,13 @@ gdb_test_multiple "list $gdb_recursion_test_baseline, +12" "" { } -re ".*$gdb_prompt $" { if { ($testline1 == 0) || ($testline2 == 0) || ($testline3 == 0) || ($testline4 == 0) || ($testline5 == 0) || ($testline6 == 0) } { - untested report.exp + untested "unexpected testline values" set return_me 1 all tests in this module will fail." } } default { - untested report.exp + untested "couldn't match pattern" set return_me 1 all tests in this module will fail." } diff --git a/gdb/testsuite/gdb.trace/stap-trace.exp b/gdb/testsuite/gdb.trace/stap-trace.exp index 4cb05d512f3..44583d106a9 100644 --- a/gdb/testsuite/gdb.trace/stap-trace.exp +++ b/gdb/testsuite/gdb.trace/stap-trace.exp @@ -42,7 +42,7 @@ proc compile_stap_bin {exec_name {arg ""}} { if { [gdb_compile "$srcdir/$subdir/$srcfile" \ [standard_output_file $exec_name] \ executable [concat $arg debug nowarnings]] != "" } { - untested "could not compile ${srcfile}" + untested "failed to compile" return 0 } diff --git a/gdb/testsuite/gdb.trace/tfind.exp b/gdb/testsuite/gdb.trace/tfind.exp index cfd7db350cc..39c54a16a4c 100644 --- a/gdb/testsuite/gdb.trace/tfind.exp +++ b/gdb/testsuite/gdb.trace/tfind.exp @@ -25,7 +25,7 @@ standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" "$binfile" \ executable {debug nowarnings}] != "" } { - untested tfind.exp + untested "failed to compile" return -1 } gdb_load $binfile diff --git a/gdb/testsuite/gdb.trace/trace-break.exp b/gdb/testsuite/gdb.trace/trace-break.exp index b7b2ea1491a..facf0618edd 100644 --- a/gdb/testsuite/gdb.trace/trace-break.exp +++ b/gdb/testsuite/gdb.trace/trace-break.exp @@ -357,7 +357,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.trace/trace-condition.exp b/gdb/testsuite/gdb.trace/trace-condition.exp index 0e93e517125..02a0c0c8705 100644 --- a/gdb/testsuite/gdb.trace/trace-condition.exp +++ b/gdb/testsuite/gdb.trace/trace-condition.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 } diff --git a/gdb/testsuite/gdb.trace/trace-enable-disable.exp b/gdb/testsuite/gdb.trace/trace-enable-disable.exp index 43891fa99c8..27c43f42136 100644 --- a/gdb/testsuite/gdb.trace/trace-enable-disable.exp +++ b/gdb/testsuite/gdb.trace/trace-enable-disable.exp @@ -23,7 +23,7 @@ set options [list debug [gdb_target_symbol_prefix_flags]] # Check that the target supports trace. if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } @@ -46,7 +46,7 @@ gdb_load_shlib $libipa lappend options shlib=$libipa if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { - untested "couldn't compile test program with in-process agent library" + untested "failed to compile with in-process agent library" return -1 } diff --git a/gdb/testsuite/gdb.trace/trace-mt.exp b/gdb/testsuite/gdb.trace/trace-mt.exp index bab2a615682..795c65e89a6 100644 --- a/gdb/testsuite/gdb.trace/trace-mt.exp +++ b/gdb/testsuite/gdb.trace/trace-mt.exp @@ -23,7 +23,7 @@ set additional_flags [gdb_target_symbol_prefix_flags] if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \ executable [list debug $additional_flags] ] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } @@ -112,7 +112,7 @@ set remote_libipa [gdb_load_shlib $libipa] # Compile test case again with IPA. if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \ executable [list debug $additional_flags shlib=$libipa] ] != "" } { - untested "failed to compile ftrace tests" + untested "failed to compile with in-process agent library" return -1 } clean_restart ${executable} diff --git a/gdb/testsuite/gdb.trace/tracecmd.exp b/gdb/testsuite/gdb.trace/tracecmd.exp index 7ad6c914d7f..6266e273f21 100644 --- a/gdb/testsuite/gdb.trace/tracecmd.exp +++ b/gdb/testsuite/gdb.trace/tracecmd.exp @@ -23,7 +23,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested tracecmd.exp + untested "failed to compile" return -1 } gdb_reinitialize_dir $srcdir/$subdir diff --git a/gdb/testsuite/gdb.trace/tspeed.exp b/gdb/testsuite/gdb.trace/tspeed.exp index 885fe23a3d7..8a9917c8e04 100644 --- a/gdb/testsuite/gdb.trace/tspeed.exp +++ b/gdb/testsuite/gdb.trace/tspeed.exp @@ -22,7 +22,7 @@ set ipalib [get_in_proc_agent] if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable [concat {debug nowarnings c} shlib=$ipalib]] != "" } { - untested tspeed.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.trace/tsv.exp b/gdb/testsuite/gdb.trace/tsv.exp index a9764802312..a2e808a06ac 100644 --- a/gdb/testsuite/gdb.trace/tsv.exp +++ b/gdb/testsuite/gdb.trace/tsv.exp @@ -21,7 +21,7 @@ gdb_start standard_testfile actions.c if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ executable {debug nowarnings}] != "" } { - untested tsv.exp + untested "failed to compile" return -1 } gdb_load $binfile diff --git a/gdb/testsuite/lib/perftest.exp b/gdb/testsuite/lib/perftest.exp index 2f8da14217c..082c10d6d46 100644 --- a/gdb/testsuite/lib/perftest.exp +++ b/gdb/testsuite/lib/perftest.exp @@ -90,7 +90,7 @@ namespace eval PerfTest { if { [string compare $GDB_PERFTEST_MODE "run"] != 0 } { if { [eval compile {$compile}] } { - untested "could not compile source files." + untested "failed to compile" return } } |