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
This commit is contained in:
parent
fb9feb3591
commit
84c93cd5f1
@ -1,3 +1,201 @@
|
||||
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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user