+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
# 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
}
# 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
}
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
- unsupported "testcase compile failed."
+ unsupported "failed to compile"
return -1
}
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
}
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}
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
}
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
}
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
}
standard_testfile
if [prepare_for_testing ${testfile}.exp ${binfile} ${srcfile} {debug $additional_flags}] {
- untested "failed to compile ${testfile}"
+ untested "failed to compile"
return -1
}
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } {
- unsupported "cannot compile ${srcfile}"
+ unsupported "failed to compile"
return -1
}
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
}
set gcorefile ${objdir}/${subdir}/${testfile}.gcore
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
- unsupported "testcase compile failed."
+ unsupported "failed to compile"
return -1
}
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
}
set opts {}
if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $opts] {
- untested "failed to compile $srcfile"
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested annota1.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested annota3.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
standard_testfile all-types.c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested assign.exp
+ untested "failed to compile"
return -1
}
# 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
}
{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
}
if {[prepare_for_testing $testfile.exp ${testfile}! $srcfile \
{debug nowarnings}]} {
- untested bang.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
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
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested bitfields2.exp
+ untested "failed to compile"
return -1
}
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
}
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
}
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
}
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
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested callexit.exp
+ untested "failed to compile"
return -1
}
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
}
}
# 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
}
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
}
set ofile "${binfile}0.o"
if {[gdb_compile $srcdir/$subdir/$srcfile $ofile \
object {debug}] != ""} {
- untested comprdebug.exp
+ untested "failed to compile"
return
}
verbose "output is $output"
if {$result == 1} {
- untested comprdebug.exp
+ untested "failed to execute objcopy"
return
}
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug ] != "" } {
- untested constvars.exp
+ untested "failed to compile"
return -1
}
}
if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } {
- untested "could not compile test program"
+ untested "failed to compile"
return -1
}
standard_testfile
if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != ""} {
- untested "couldn't compile $srcfile"
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested cvexpr.exp
+ untested "failed to compile"
return -1
}
set escapedbinfile [string_to_regexp ${binfile}]
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested detach.exp
+ untested "failed to compile"
return -1
}
if {[prepare_for_testing $testfile.exp $testfile $srcfile \
{debug nowarnings}]} {
- untested display.exp
+ untested "failed to compile"
return -1
}
if {[gdb_compile "${srcdir}/${subdir}/dmsym.c" \
$dmsym_o \
object {}] != ""} {
- untested dmsym.exp
+ untested "failed to compile object file"
return -1
}
[list ${srcdir}/${subdir}/dmsym_main.c $dmsym_o] \
[standard_output_file ${testfile}] \
executable {debug}] != ""} {
- untested dmsym.exp
+ untested "failed to compile"
return -1
}
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
}
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
}
standard_testfile
if {[dtrace_build_usdt_test_program] == -1} {
- untested "could not compile test program"
+ untested "failed to compile"
return -1
}
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } {
- untested dump.exp
+ untested "failed to compile"
return -1
}
# Run target program until data structs are initialized.
if { ! [ runto checkpoint1 ] } then {
- untested dump.exp
+ untested "couldn't run to checkpoint"
return -1
}
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
}
append binfile $EXEEXT
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
# 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
}
if { [gdb_compile [file join $srcdir $subdir $srcfile] $objfile \
object [list debug]] != "" } {
- untested "compile failed"
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested exprs.exp
+ untested "failed to compile"
return -1
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable \
[list debug "additional_flags=-DOUTDIR=\"$outdir/\""]] != "" } {
- untested fileio.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested find.exp
+ untested "failed to compile"
return -1
}
global gdb_prompt skip_float_test
if { ! [ runto_main ] } then {
- untested finish.exp
+ untested "couldn't run to main"
return -1
}
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
}
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
}
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
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
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
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested gdb1250.exp
+ untested "failed to compile"
return -1
}
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
}
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
}
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
}
# 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
}
close $fd
if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } {
- untested hashline2.exp
+ untested "failed to compile"
return -1
}
close $fd
if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } {
- untested hashline3.exp
+ untested "failed to compile"
return -1
}
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
}
== "" } break
}
if { $size < 10 } {
- untested huge.exp
+ untested "size less than 10"
return -1
}
set timeout 30
if { ! [ runto_main ] } then {
- untested huge.exp
+ untested "couldn't run to main"
return -1
}
}
if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
- untested "compile failed"
+ untested "failed to compile"
return -1
}
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
}
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
}
}
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
}
# 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
}
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
}
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
}
# 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
}
# 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
}
# Build the test case
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested jump.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [prepare_for_testing ${testfile}.exp $testfile ${srcfile} debug] } {
- untested label.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" ${binfile} executable {debug}] != ""} {
- untested lineinc.exp
+ untested "failed to compile"
return -1
}
standard_testfile int-type.c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested logical.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested longjmp.exp
+ untested "failed to compile"
return -1
}
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
}
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
}
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
}
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
}
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
}
}
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } {
- untested "couldn't compile $srcfile."
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
if { [prepare_for_testing "failed to prepare for testing large offsets" \
${testfile} ${srcfile}] } {
- untested offsets.exp
+ untested "failed to compile"
return -1
}
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
}
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
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested pointers.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested pr11022.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested printcmds.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested prologue.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile} ${srcfilelink}" "${binfile}" \
executable {debug}] != "" } {
- untested "cannot compile ${srcdir}/${subdir}/${srcfile} and ${srcfilelink}"
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
remote_exec build "rm -f ${binfile}"
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {debug}] != "" } {
- untested relocate.exp
+ untested "failed to compile"
return -1
}
set result [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}]
if {$result != "" } then {
- untested remote.exp
+ untested "failed to compile"
return -1
}
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
}
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
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested return2.exp
+ untested "failed to compile"
return -1
}
global gdb_prompt skip_float_test
if { ! [ runto_main ] } then {
- untested return2.exp
+ untested "couldn't run to main"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested sep.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested sepdebug.exp
+ untested "failed to compile"
return -1
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable {debug}] != "" } {
- untested sepsymtab.exp
+ untested "failed to compile"
return -1
}
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
}
standard_testfile .c
if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable {debug}] != "" } {
- untested setshow.exp
+ untested "failed to compile"
return -1
}
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
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}.c"
+ untested "failed to compile"
return -1
}
standard_testfile
if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
- untested "couldn't compile ${srcfile}.c"
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested signals.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested signull.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
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
}
}
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
}
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
}
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
}
|| [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
}
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
}
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
}
# 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
}
}
# 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
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
}
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
}
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
}
# build the first test case
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable ${additional_flags}] != "" } {
- untested varargs.exp
+ untested "failed to compile"
return -1
}
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
}
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested watchpoint.exp
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $exec_opts] != "" } {
- untested whatis.exp
+ untested "failed to compile"
return -1
}
if {[gdb_compile "${srcdir}/${subdir}/$opaque_testfile.c" \
$opaque_objfile \
object {}] != ""} {
- untested "failed to compile $opaque_testfile.c"
+ untested "failed to compile"
return -1
}
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
}
# 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
}
# 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
}
standard_testfile .cc
if [get_compiler_info "c++"] {
- untested dispcxx.exp
+ untested "couldn't find a valid c++ compiler"
return -1
}
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
}
standard_testfile .cc
if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
- untested method2.exp
+ untested "failed to compile"
return -1
}
# 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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
}
if { [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" $libfile {debug f90}] != "" } {
- untested "couldn't compile ${srclibfile}"
+ untested "failed to compile shared library"
return -1
}
# 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
}
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
}
# 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
}
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
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
set basetwo base/two/thefile.cc
if {[skip_cplus_tests]} {
- unsupported linespec.exp
+ unsupported "skipping c++ tests"
return
}
standard_testfile
if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable debug] != ""} {
- untested gdb701.exp
+ untested "failed to compile"
return -1
}
}
if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable {debug c++}] != ""} {
- untested gdb792.exp
+ untested "failed to compile"
return -1
}
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
}
}
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
}
standard_testfile
if {[build_executable $testfile.exp $testfile $srcfile {debug}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
standard_testfile
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
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
}
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
}
standard_testfile
if {[build_executable $testfile.exp $testfile ${srcfile} "debug"] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested pr11022.exp
+ untested "failed to compile"
return
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
# 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
}
standard_testfile .cc
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \
{debug c++}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
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
}
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
# 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
}
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
}
# 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
}
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
}
}
if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } {
- untested weird.exp
+ untested "failed to compile"
return -1
}
"${srcdir}/${subdir}/${srcfile}" \
"${binfile}" \
executable {debug}] != "" } {
- untested "couldn't compile test program."
+ untested "failed to compile"
return -1
}
"${srcdir}/${subdir}/${srcfile}" \
"${binfile}" \
executable {debug}] != "" } {
- untested "couldn't compile test program."
+ untested "failed to compile"
return -1
}
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
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested ax.exp
+ untested "failed to compile"
return -1
}
}
-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."
}
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
}
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
# 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
}
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
}
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}
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
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
}
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
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
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
}
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
}
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
}
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
}
-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."
}
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
}
if { [gdb_compile "$srcdir/$subdir/$srcfile" "$binfile" \
executable {debug nowarnings}] != "" } {
- untested tfind.exp
+ untested "failed to compile"
return -1
}
gdb_load $binfile
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}
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
}
# 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
}
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
}
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
}
# 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}
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
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [concat {debug nowarnings c} shlib=$ipalib]] != "" } {
- untested tspeed.exp
+ untested "failed to compile"
return -1
}
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
if { [string compare $GDB_PERFTEST_MODE "run"] != 0 } {
if { [eval compile {$compile}] } {
- untested "could not compile source files."
+ untested "failed to compile"
return
}
}