diff options
Diffstat (limited to 'gdb/testsuite/gdb.base')
108 files changed, 131 insertions, 133 deletions
diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index 38b594c..4d4ba29 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -34,7 +34,7 @@ set breakpoints_invalid "\r\n\032\032breakpoints-invalid\r\n" standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested annota1.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp index de11c4a..a472cb4 100644 --- a/gdb/testsuite/gdb.base/annota3.exp +++ b/gdb/testsuite/gdb.base/annota3.exp @@ -33,7 +33,7 @@ if [is_remote target] then { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested annota3.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/arrayidx.exp b/gdb/testsuite/gdb.base/arrayidx.exp index c7c707a..c9dc011 100644 --- a/gdb/testsuite/gdb.base/arrayidx.exp +++ b/gdb/testsuite/gdb.base/arrayidx.exp @@ -20,7 +20,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/assign.exp b/gdb/testsuite/gdb.base/assign.exp index 7f1484e..bd9afc9 100644 --- a/gdb/testsuite/gdb.base/assign.exp +++ b/gdb/testsuite/gdb.base/assign.exp @@ -28,7 +28,7 @@ standard_testfile all-types.c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested assign.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index bd0760c..99a1ae0 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -30,14 +30,14 @@ remote_exec build "rm -f ${binfile} ${binfile2}" # build the first test case # if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested attach.exp + untested "failed to compile" return -1 } # Build the in-system-call test if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug}] != "" } { - untested attach.exp + untested "failed to compile in-system-call test" return -1 } diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp index 484d201..6edb36d 100644 --- a/gdb/testsuite/gdb.base/auxv.exp +++ b/gdb/testsuite/gdb.base/auxv.exp @@ -33,7 +33,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ {debug additional_flags=-DUSE_RLIMIT}] != "" && [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ {debug}] != "" } { - untested "couldn't compile ${srcdir}/${subdir}/${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bang.exp b/gdb/testsuite/gdb.base/bang.exp index 26a4156..d9949cf 100644 --- a/gdb/testsuite/gdb.base/bang.exp +++ b/gdb/testsuite/gdb.base/bang.exp @@ -20,7 +20,7 @@ standard_testfile args.c if {[prepare_for_testing $testfile.exp ${testfile}! $srcfile \ {debug nowarnings}]} { - untested bang.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bfp-test.exp b/gdb/testsuite/gdb.base/bfp-test.exp index 91c7e51..2fc9877 100644 --- a/gdb/testsuite/gdb.base/bfp-test.exp +++ b/gdb/testsuite/gdb.base/bfp-test.exp @@ -19,7 +19,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bigcore.exp b/gdb/testsuite/gdb.base/bigcore.exp index 62ca2b1..14c6d76 100644 --- a/gdb/testsuite/gdb.base/bigcore.exp +++ b/gdb/testsuite/gdb.base/bigcore.exp @@ -42,7 +42,7 @@ standard_testfile .c set corefile [standard_output_file ${binfile}.corefile] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested bigcore.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/bitfields2.exp b/gdb/testsuite/gdb.base/bitfields2.exp index 0f7b7c7..b556eb9 100644 --- a/gdb/testsuite/gdb.base/bitfields2.exp +++ b/gdb/testsuite/gdb.base/bitfields2.exp @@ -26,7 +26,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested bitfields2.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/break-fun-addr.exp b/gdb/testsuite/gdb.base/break-fun-addr.exp index 938ec87..2983bb8 100644 --- a/gdb/testsuite/gdb.base/break-fun-addr.exp +++ b/gdb/testsuite/gdb.base/break-fun-addr.exp @@ -36,7 +36,7 @@ set srcfile1 ${testfile1}.c set binfile1 [standard_output_file ${testfile1}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile1}" + untested "failed to compile first testcase" return -1 } @@ -65,7 +65,7 @@ set srcfile2 ${testfile2}.c set binfile2 [standard_output_file ${testfile2}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile2}" + untested "failed to compile second testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/break-probes.exp b/gdb/testsuite/gdb.base/break-probes.exp index bb8eee0..6813043 100644 --- a/gdb/testsuite/gdb.base/break-probes.exp +++ b/gdb/testsuite/gdb.base/break-probes.exp @@ -28,7 +28,7 @@ set probes_bp "dl_main" if { [gdb_compile_shlib $srcfile_lib $binfile_lib \ [list additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib." + untested "failed to compile shared library" return -1 } diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp index 7120b8b..4351c41 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.exp +++ b/gdb/testsuite/gdb.base/call-rt-st.exp @@ -24,7 +24,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested "couldn't compile ${srcdir}/${subdir}/${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/callexit.exp b/gdb/testsuite/gdb.base/callexit.exp index e904200..c1e817a 100644 --- a/gdb/testsuite/gdb.base/callexit.exp +++ b/gdb/testsuite/gdb.base/callexit.exp @@ -17,7 +17,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested callexit.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/catch-fork-kill.exp b/gdb/testsuite/gdb.base/catch-fork-kill.exp index 29d2077..a25147e 100644 --- a/gdb/testsuite/gdb.base/catch-fork-kill.exp +++ b/gdb/testsuite/gdb.base/catch-fork-kill.exp @@ -41,7 +41,7 @@ foreach kind {"fork" "vfork"} { set testfile [set testfile_$kind] if {[build_executable $testfile.exp $testfile ${srcfile} \ ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } } diff --git a/gdb/testsuite/gdb.base/charset.exp b/gdb/testsuite/gdb.base/charset.exp index 5e930ef..7662937 100644 --- a/gdb/testsuite/gdb.base/charset.exp +++ b/gdb/testsuite/gdb.base/charset.exp @@ -146,7 +146,7 @@ gdb_expect { # sets: "auto" and the default. In this situation, this set of tests # is pointless. if {[llength [array names charsets]] < 3} { - untested charset.exp + untested "fewer than 3 charsets" return -1 } diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index 0c52092..73ea08a 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -38,7 +38,7 @@ if {[is_remote host]} { if {[prepare_for_testing ${testfile}.exp $testfile $srcfile \ [list debug "additional_flags=-DPI_TXT=\"$pi_txt\" -DCOPY1_TXT=\"$copy1_txt\""]]} { - untested checkpoint.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/comprdebug.exp b/gdb/testsuite/gdb.base/comprdebug.exp index 08d48ea..09d426c 100644 --- a/gdb/testsuite/gdb.base/comprdebug.exp +++ b/gdb/testsuite/gdb.base/comprdebug.exp @@ -18,7 +18,7 @@ standard_testfile average.c set ofile "${binfile}0.o" if {[gdb_compile $srcdir/$subdir/$srcfile $ofile \ object {debug}] != ""} { - untested comprdebug.exp + untested "failed to compile" return } @@ -30,7 +30,7 @@ verbose "result is $result" verbose "output is $output" if {$result == 1} { - untested comprdebug.exp + untested "failed to execute objcopy" return } diff --git a/gdb/testsuite/gdb.base/constvars.exp b/gdb/testsuite/gdb.base/constvars.exp index d6bae74..48cebe5 100644 --- a/gdb/testsuite/gdb.base/constvars.exp +++ b/gdb/testsuite/gdb.base/constvars.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug ] != "" } { - untested constvars.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/coredump-filter.exp b/gdb/testsuite/gdb.base/coredump-filter.exp index bf1e8a5..5749418 100644 --- a/gdb/testsuite/gdb.base/coredump-filter.exp +++ b/gdb/testsuite/gdb.base/coredump-filter.exp @@ -22,7 +22,7 @@ if ![istarget *-*-linux*] then { } if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } { - untested "could not compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/cursal.exp b/gdb/testsuite/gdb.base/cursal.exp index efaa7c7..6834d76 100644 --- a/gdb/testsuite/gdb.base/cursal.exp +++ b/gdb/testsuite/gdb.base/cursal.exp @@ -17,7 +17,7 @@ standard_testfile if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != ""} { - untested "couldn't compile $srcfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/cvexpr.exp b/gdb/testsuite/gdb.base/cvexpr.exp index 4bdda762..26dd714 100644 --- a/gdb/testsuite/gdb.base/cvexpr.exp +++ b/gdb/testsuite/gdb.base/cvexpr.exp @@ -25,7 +25,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested cvexpr.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/detach.exp b/gdb/testsuite/gdb.base/detach.exp index b9343ee..4095f90 100644 --- a/gdb/testsuite/gdb.base/detach.exp +++ b/gdb/testsuite/gdb.base/detach.exp @@ -26,7 +26,7 @@ standard_testfile attach.c set escapedbinfile [string_to_regexp ${binfile}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested detach.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/display.exp b/gdb/testsuite/gdb.base/display.exp index 9576be54..c02fcf5 100644 --- a/gdb/testsuite/gdb.base/display.exp +++ b/gdb/testsuite/gdb.base/display.exp @@ -20,7 +20,7 @@ standard_testfile if {[prepare_for_testing $testfile.exp $testfile $srcfile \ {debug nowarnings}]} { - untested display.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/dmsym.exp b/gdb/testsuite/gdb.base/dmsym.exp index b071424..3f59aea 100644 --- a/gdb/testsuite/gdb.base/dmsym.exp +++ b/gdb/testsuite/gdb.base/dmsym.exp @@ -26,7 +26,7 @@ set dmsym_o [standard_output_file dmsym.o] if {[gdb_compile "${srcdir}/${subdir}/dmsym.c" \ $dmsym_o \ object {}] != ""} { - untested dmsym.exp + untested "failed to compile object file" return -1 } @@ -34,7 +34,7 @@ if {[gdb_compile \ [list ${srcdir}/${subdir}/dmsym_main.c $dmsym_o] \ [standard_output_file ${testfile}] \ executable {debug}] != ""} { - untested dmsym.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/dprintf-pending.exp b/gdb/testsuite/gdb.base/dprintf-pending.exp index 10df3fb..4a5fa93 100644 --- a/gdb/testsuite/gdb.base/dprintf-pending.exp +++ b/gdb/testsuite/gdb.base/dprintf-pending.exp @@ -32,7 +32,7 @@ if { [get_compiler_info] } { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "failed to compile shared library" return -1 } diff --git a/gdb/testsuite/gdb.base/dso2dso.exp b/gdb/testsuite/gdb.base/dso2dso.exp index f620d2c..bcec731 100644 --- a/gdb/testsuite/gdb.base/dso2dso.exp +++ b/gdb/testsuite/gdb.base/dso2dso.exp @@ -41,13 +41,13 @@ set binfile_libdso1 [standard_output_file $libdso1.so] if { [gdb_compile_shlib $srcfile_libdso2 $binfile_libdso2 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_libdso2." + untested "failed to compile shared library 2" return -1 } if { [gdb_compile_shlib $srcfile_libdso1 $binfile_libdso1 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_libdso1." + untested "failed to compile shared library 1" return -1 } diff --git a/gdb/testsuite/gdb.base/dtrace-probe.exp b/gdb/testsuite/gdb.base/dtrace-probe.exp index c4f1a78..06a7ae0 100644 --- a/gdb/testsuite/gdb.base/dtrace-probe.exp +++ b/gdb/testsuite/gdb.base/dtrace-probe.exp @@ -23,7 +23,7 @@ proc dtrace_test {} { standard_testfile if {[dtrace_build_usdt_test_program] == -1} { - untested "could not compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp index a38f9d1..58b0121 100644 --- a/gdb/testsuite/gdb.base/dump.exp +++ b/gdb/testsuite/gdb.base/dump.exp @@ -37,7 +37,7 @@ if {[istarget "spu*-*-*"]} then { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } { - untested dump.exp + untested "failed to compile" return -1 } @@ -95,7 +95,7 @@ remote_exec host "rm -f $filenames" # Run target program until data structs are initialized. if { ! [ runto checkpoint1 ] } then { - untested dump.exp + untested "couldn't run to checkpoint" return -1 } diff --git a/gdb/testsuite/gdb.base/enum_cond.exp b/gdb/testsuite/gdb.base/enum_cond.exp index 4be8a8a..6626b01 100644 --- a/gdb/testsuite/gdb.base/enum_cond.exp +++ b/gdb/testsuite/gdb.base/enum_cond.exp @@ -21,7 +21,7 @@ standard_testfile .c set opts [list debug additional_flags=-fshort-enums] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } { - untested "could not compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/exe-lock.exp b/gdb/testsuite/gdb.base/exe-lock.exp index 8cb8f9d..b09609f 100644 --- a/gdb/testsuite/gdb.base/exe-lock.exp +++ b/gdb/testsuite/gdb.base/exe-lock.exp @@ -23,7 +23,7 @@ standard_testfile arrayidx.c append binfile $EXEEXT if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp b/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp index a089e89..b31da3d 100644 --- a/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp +++ b/gdb/testsuite/gdb.base/exec-invalid-sysroot.exp @@ -29,12 +29,12 @@ set compile_options debug # build the first test case if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable $compile_options] != "" } { - untested "could not compile test program ${binfile2}" + untested "failed to compile secondary testcase" return -1 } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $compile_options] != "" } { - untested "could not compile test program ${binfile}" + untested "failed to compile main testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/execl-update-breakpoints.exp b/gdb/testsuite/gdb.base/execl-update-breakpoints.exp index 1c2713f..ad648f0 100644 --- a/gdb/testsuite/gdb.base/execl-update-breakpoints.exp +++ b/gdb/testsuite/gdb.base/execl-update-breakpoints.exp @@ -28,7 +28,7 @@ set exec2 ${binfile}2 if { [gdb_compile [file join $srcdir $subdir $srcfile] $objfile \ object [list debug]] != "" } { - untested "compile failed" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/exprs.exp b/gdb/testsuite/gdb.base/exprs.exp index 446f8cc..2b17270 100644 --- a/gdb/testsuite/gdb.base/exprs.exp +++ b/gdb/testsuite/gdb.base/exprs.exp @@ -22,7 +22,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested exprs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp index 5dd2f20..2265a15 100644 --- a/gdb/testsuite/gdb.base/fileio.exp +++ b/gdb/testsuite/gdb.base/fileio.exp @@ -32,7 +32,7 @@ if {[is_remote host]} { if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ executable \ [list debug "additional_flags=-DOUTDIR=\"$outdir/\""]] != "" } { - untested fileio.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/find.exp b/gdb/testsuite/gdb.base/find.exp index c4bdfb7..b6e96af 100644 --- a/gdb/testsuite/gdb.base/find.exp +++ b/gdb/testsuite/gdb.base/find.exp @@ -18,7 +18,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested find.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/finish.exp b/gdb/testsuite/gdb.base/finish.exp index c5387bb..35294cc 100644 --- a/gdb/testsuite/gdb.base/finish.exp +++ b/gdb/testsuite/gdb.base/finish.exp @@ -90,7 +90,7 @@ proc finish_tests { } { global gdb_prompt skip_float_test if { ! [ runto_main ] } then { - untested finish.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/fixsection.exp b/gdb/testsuite/gdb.base/fixsection.exp index 5b7fdf6..c000562 100644 --- a/gdb/testsuite/gdb.base/fixsection.exp +++ b/gdb/testsuite/gdb.base/fixsection.exp @@ -34,7 +34,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile \ executable $exec_opts] != ""} { - untested "could not compile either $libsrc or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/foll-vfork.exp b/gdb/testsuite/gdb.base/foll-vfork.exp index 481dcb7..f3e4d0e 100644 --- a/gdb/testsuite/gdb.base/foll-vfork.exp +++ b/gdb/testsuite/gdb.base/foll-vfork.exp @@ -30,7 +30,7 @@ standard_testfile set compile_options debug if {[build_executable $testfile.exp $testfile $srcfile $compile_options] == -1} { - untested "failed to compile $testfile" + untested "failed to compile main testcase" return -1 } @@ -38,7 +38,7 @@ set testfile2 "vforked-prog" set srcfile2 ${testfile2}.c if {[build_executable $testfile.exp $testfile2 $srcfile2 $compile_options] == -1} { - untested "failed to compile $testfile2" + untested "failed to compile secondary testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/frame-args.exp b/gdb/testsuite/gdb.base/frame-args.exp index 08eb5d8..dbda4a9 100644 --- a/gdb/testsuite/gdb.base/frame-args.exp +++ b/gdb/testsuite/gdb.base/frame-args.exp @@ -15,7 +15,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/gcore.exp b/gdb/testsuite/gdb.base/gcore.exp index a41f8e5..9f27170 100644 --- a/gdb/testsuite/gdb.base/gcore.exp +++ b/gdb/testsuite/gdb.base/gcore.exp @@ -20,12 +20,12 @@ standard_testfile if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { - untested $testfile.exp + untested "failed to compile" return -1 } if { ! [ runto_main ] } then { - untested gcore.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/gdb1250.exp b/gdb/testsuite/gdb.base/gdb1250.exp index 1a7c8e4..3d5cf54 100644 --- a/gdb/testsuite/gdb.base/gdb1250.exp +++ b/gdb/testsuite/gdb.base/gdb1250.exp @@ -25,7 +25,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested gdb1250.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp index 7285962..2ce198e 100644 --- a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp +++ b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp @@ -29,13 +29,13 @@ set binfile_lib2 [standard_output_file $lib2name.so] if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib1." + untested "failed to compile shared library 1" return -1 } if { [gdb_compile_shlib $srcfile_lib2 $binfile_lib2 \ [list debug additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib2." + untested "failed to compile shared library 2" return -1 } diff --git a/gdb/testsuite/gdb.base/gnu-ifunc.exp b/gdb/testsuite/gdb.base/gnu-ifunc.exp index ce9e11f..4b0b162 100644 --- a/gdb/testsuite/gdb.base/gnu-ifunc.exp +++ b/gdb/testsuite/gdb.base/gnu-ifunc.exp @@ -52,7 +52,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcdir}/${subdir}/$libsrc $lib_so $lib_opts] != "" || [gdb_compile ${srcdir}/${subdir}/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile dynamic executable $binfile." + untested "failed to compile first testcase" return -1 } @@ -144,7 +144,7 @@ gdb_test "info sym $expect_out(1,string)" "gnu_ifunc in section .*" "info sym <g if { [gdb_compile ${srcdir}/${subdir}/$libsrc $lib_o object {}] != "" || [gdb_compile "${srcdir}/${subdir}/$srcfile $lib_o" $staticbinfile executable {debug}] != "" } { - untested "could not compile static executable $staticbinfile." + untested "failed to compile second testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/hashline1.exp b/gdb/testsuite/gdb.base/hashline1.exp index c57d4a6..d0e86ce 100644 --- a/gdb/testsuite/gdb.base/hashline1.exp +++ b/gdb/testsuite/gdb.base/hashline1.exp @@ -33,7 +33,7 @@ close $fd # the bug. Using $new_srcfile here won't trigger the bug. set compile_name [relative_filename $objdir $new_srcfile] if { [gdb_compile $compile_name "${binfile}" executable {debug}] != "" } { - untested hashline1.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/hashline2.exp b/gdb/testsuite/gdb.base/hashline2.exp index bbdb5bd6..fce6e7e 100644 --- a/gdb/testsuite/gdb.base/hashline2.exp +++ b/gdb/testsuite/gdb.base/hashline2.exp @@ -30,7 +30,7 @@ puts $fd "int main () { return 0; } /* set breakpoint here */" close $fd if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } { - untested hashline2.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/hashline3.exp b/gdb/testsuite/gdb.base/hashline3.exp index a2a9b3d..ace14dc 100644 --- a/gdb/testsuite/gdb.base/hashline3.exp +++ b/gdb/testsuite/gdb.base/hashline3.exp @@ -31,7 +31,7 @@ puts $fd "int main () { return 0; } /* set breakpoint here */" close $fd if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } { - untested hashline3.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp b/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp index 28ab3d6..dee3bca 100644 --- a/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp +++ b/gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib_src} ${lib_so} $lib_opts] != "" || [gdb_compile ${srcdir}/${subdir}/${main_src} ${binfile} executable $exec_opts] != ""} { - untested "could not compile ${subdir}/$lib_src or ${subdir}/$srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/huge.exp b/gdb/testsuite/gdb.base/huge.exp index 4dca89b..e95acd5 100644 --- a/gdb/testsuite/gdb.base/huge.exp +++ b/gdb/testsuite/gdb.base/huge.exp @@ -31,7 +31,7 @@ for { set size [expr 2 * 1024 * 1024] } { $size > 10 } { set size [expr $size / == "" } break } if { $size < 10 } { - untested huge.exp + untested "size less than 10" return -1 } @@ -43,7 +43,7 @@ set prev_timeout $timeout set timeout 30 if { ! [ runto_main ] } then { - untested huge.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/infcall-input.exp b/gdb/testsuite/gdb.base/infcall-input.exp index c970c0e..5e764f0 100644 --- a/gdb/testsuite/gdb.base/infcall-input.exp +++ b/gdb/testsuite/gdb.base/infcall-input.exp @@ -24,7 +24,7 @@ if [target_info exists gdb,cannot_call_functions] { } if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { - untested "compile failed" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/info-fun.exp b/gdb/testsuite/gdb.base/info-fun.exp index 2eec698..a5503e2 100644 --- a/gdb/testsuite/gdb.base/info-fun.exp +++ b/gdb/testsuite/gdb.base/info-fun.exp @@ -40,7 +40,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != "" || [gdb_compile $srcdir/$subdir/${srcfile} ${binfile} \ executable $bin_flags] != "" } { - untested "could not compile $binfile_lib or $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/info-shared.exp b/gdb/testsuite/gdb.base/info-shared.exp index 57aa1d0..e80326a 100644 --- a/gdb/testsuite/gdb.base/info-shared.exp +++ b/gdb/testsuite/gdb.base/info-shared.exp @@ -31,13 +31,13 @@ set define2 -DSHLIB2_NAME=\"$binfile_lib2\" if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \ [list additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib1." + untested "failed to compile shared library 1" return -1 } if { [gdb_compile_shlib $srcfile_lib2 $binfile_lib2 \ [list additional_flags=-fPIC]] != "" } { - untested "could not compile $binfile_lib2." + untested "failed to compile shared library 2" return -1 } diff --git a/gdb/testsuite/gdb.base/jit-simple.exp b/gdb/testsuite/gdb.base/jit-simple.exp index c1a079a..30e41e1 100644 --- a/gdb/testsuite/gdb.base/jit-simple.exp +++ b/gdb/testsuite/gdb.base/jit-simple.exp @@ -64,12 +64,12 @@ proc build_shared_jit {{options ""}} { } if {[build_standalone_jit] == -1} { - untested "could not compile $binfile" + untested "failed to compile standalone testcase" return } if {[build_shared_jit] == -1} { - untested "could not compile $binfile_lib" + untested "failed to compile shared library testcase" return } diff --git a/gdb/testsuite/gdb.base/jit-so.exp b/gdb/testsuite/gdb.base/jit-so.exp index b2e2955..f9c6e13 100644 --- a/gdb/testsuite/gdb.base/jit-so.exp +++ b/gdb/testsuite/gdb.base/jit-so.exp @@ -17,13 +17,12 @@ # library. if {[skip_shlib_tests]} { - untested jit-so.exp + untested "skipping shared library tests" return -1 } if {[get_compiler_info]} { - warning "Could not get compiler info" - untested jit-so.exp + untested "could not get compiler info" return 1 } @@ -35,7 +34,7 @@ set testfile jit-dlmain set srcfile ${testfile}.c set binfile [standard_output_file ${testfile}] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug shlib_load}] != "" } { - untested jit-so.exp + untested "failed to compile" return -1 } @@ -44,7 +43,7 @@ set srcfile2 ${testfile2}.c set binfile2 [standard_output_file ${testfile2}.so] set binfile2_dlopen [shlib_target_file ${testfile2}.so] if { [gdb_compile_shlib "${srcdir}/${subdir}/${srcfile2}" ${binfile2} {debug additional_flags="-DMAIN=jit_dl_main"}] != "" } { - untested jit.exp + untested "failed to compile main shared library" return -1 } @@ -57,7 +56,7 @@ set solib_binfile_test_msg "SHLIBDIR/${solib_testfile}.so" # renaming by munging on its symbol table, and that wouldn't work for .debug # sections. Also, output for "info function" changes when debug info is resent. if { [gdb_compile_shlib ${solib_srcfile} ${solib_binfile} {}] != "" } { - untested jit-so.exp + untested "failed to compile jit shared library" return -1 } diff --git a/gdb/testsuite/gdb.base/jit.exp b/gdb/testsuite/gdb.base/jit.exp index 528c330..689bc27 100644 --- a/gdb/testsuite/gdb.base/jit.exp +++ b/gdb/testsuite/gdb.base/jit.exp @@ -14,13 +14,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. if {[skip_shlib_tests]} { - untested jit.exp + untested "skipping shared library tests" return -1 } if {[get_compiler_info]} { - warning "Could not get compiler info" - untested jit.exp + untested "could not get compiler info" return 1 } diff --git a/gdb/testsuite/gdb.base/jump.exp b/gdb/testsuite/gdb.base/jump.exp index 7e03d90..37f56dd 100644 --- a/gdb/testsuite/gdb.base/jump.exp +++ b/gdb/testsuite/gdb.base/jump.exp @@ -20,7 +20,7 @@ standard_testfile .c # Build the test case if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested jump.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/label.exp b/gdb/testsuite/gdb.base/label.exp index 18b6f83..2901c33 100644 --- a/gdb/testsuite/gdb.base/label.exp +++ b/gdb/testsuite/gdb.base/label.exp @@ -26,7 +26,7 @@ if [is_remote target] then { standard_testfile .c if { [prepare_for_testing ${testfile}.exp $testfile ${srcfile} debug] } { - untested label.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/lineinc.exp b/gdb/testsuite/gdb.base/lineinc.exp index 4070f4e..97b61d4 100644 --- a/gdb/testsuite/gdb.base/lineinc.exp +++ b/gdb/testsuite/gdb.base/lineinc.exp @@ -81,7 +81,7 @@ standard_testfile .c if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" ${binfile} executable {debug}] != ""} { - untested lineinc.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/logical.exp b/gdb/testsuite/gdb.base/logical.exp index 1efc5f6..99e7a86 100644 --- a/gdb/testsuite/gdb.base/logical.exp +++ b/gdb/testsuite/gdb.base/logical.exp @@ -28,7 +28,7 @@ standard_testfile int-type.c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested logical.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/longjmp.exp b/gdb/testsuite/gdb.base/longjmp.exp index b8d67fd..e0e47a7 100644 --- a/gdb/testsuite/gdb.base/longjmp.exp +++ b/gdb/testsuite/gdb.base/longjmp.exp @@ -21,7 +21,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested longjmp.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp index aec18fb..a3246c5 100644 --- a/gdb/testsuite/gdb.base/macscp.exp +++ b/gdb/testsuite/gdb.base/macscp.exp @@ -30,7 +30,7 @@ if [test_compiler_info gcc*] { if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \ object $options] != "" || [gdb_compile "${objfile}" "${binfile}" executable $options] != "" } { - untested macscp.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/miscexprs.exp b/gdb/testsuite/gdb.base/miscexprs.exp index 059c434..297f792 100644 --- a/gdb/testsuite/gdb.base/miscexprs.exp +++ b/gdb/testsuite/gdb.base/miscexprs.exp @@ -40,7 +40,7 @@ set additional_flags "additional_flags=${storage}" standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug ${additional_flags} nowarnings]] != "" } { - untested miscexprs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/new-ui-echo.exp b/gdb/testsuite/gdb.base/new-ui-echo.exp index c182445..ab923da 100644 --- a/gdb/testsuite/gdb.base/new-ui-echo.exp +++ b/gdb/testsuite/gdb.base/new-ui-echo.exp @@ -24,7 +24,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/new-ui-pending-input.exp b/gdb/testsuite/gdb.base/new-ui-pending-input.exp index 325c30f..c51d878 100644 --- a/gdb/testsuite/gdb.base/new-ui-pending-input.exp +++ b/gdb/testsuite/gdb.base/new-ui-pending-input.exp @@ -21,7 +21,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/new-ui.exp b/gdb/testsuite/gdb.base/new-ui.exp index 22e8b79..52b81ec 100644 --- a/gdb/testsuite/gdb.base/new-ui.exp +++ b/gdb/testsuite/gdb.base/new-ui.exp @@ -17,7 +17,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp index e0dd0e1..ff69c04 100644 --- a/gdb/testsuite/gdb.base/nodebug.exp +++ b/gdb/testsuite/gdb.base/nodebug.exp @@ -31,7 +31,7 @@ if [test_compiler_info "xlc-*"] { } if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } { - untested "couldn't compile $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/nofield.exp b/gdb/testsuite/gdb.base/nofield.exp index 9b06ba1..b8837b7 100644 --- a/gdb/testsuite/gdb.base/nofield.exp +++ b/gdb/testsuite/gdb.base/nofield.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/offsets.exp b/gdb/testsuite/gdb.base/offsets.exp index b65fac7..9637eab 100644 --- a/gdb/testsuite/gdb.base/offsets.exp +++ b/gdb/testsuite/gdb.base/offsets.exp @@ -19,7 +19,7 @@ standard_testfile offsets.c if { [prepare_for_testing "failed to prepare for testing large offsets" \ ${testfile} ${srcfile}] } { - untested offsets.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/overlays.exp b/gdb/testsuite/gdb.base/overlays.exp index b76f445..6b02bdf 100644 --- a/gdb/testsuite/gdb.base/overlays.exp +++ b/gdb/testsuite/gdb.base/overlays.exp @@ -42,7 +42,7 @@ standard_testfile overlays.c ovlymgr.c foo.c bar.c baz.c grbx.c if {[build_executable $testfile.exp $testfile \ [list $srcfile $srcfile2 $srcfile3 $srcfile4 $srcfile5 $srcfile6] \ {debug ldscript=-Wl,-T$linker_script}] == -1} { - untested overlays.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp index e89f4a9..26f95a0 100644 --- a/gdb/testsuite/gdb.base/pending.exp +++ b/gdb/testsuite/gdb.base/pending.exp @@ -37,7 +37,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} { - untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/pointers.exp b/gdb/testsuite/gdb.base/pointers.exp index fa1fe3e..03e70ee 100644 --- a/gdb/testsuite/gdb.base/pointers.exp +++ b/gdb/testsuite/gdb.base/pointers.exp @@ -28,7 +28,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested pointers.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/pr11022.exp b/gdb/testsuite/gdb.base/pr11022.exp index c8b4be8..d6b6150 100644 --- a/gdb/testsuite/gdb.base/pr11022.exp +++ b/gdb/testsuite/gdb.base/pr11022.exp @@ -20,7 +20,7 @@ if {[skip_hw_watchpoint_tests]} { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested pr11022.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp index bdddde6..c0cfeb4 100644 --- a/gdb/testsuite/gdb.base/printcmds.exp +++ b/gdb/testsuite/gdb.base/printcmds.exp @@ -23,7 +23,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested printcmds.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/prologue.exp b/gdb/testsuite/gdb.base/prologue.exp index efd7e0c..f2412f1 100644 --- a/gdb/testsuite/gdb.base/prologue.exp +++ b/gdb/testsuite/gdb.base/prologue.exp @@ -19,7 +19,7 @@ if { [skip_cplus_tests] } { continue } standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested prologue.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/ptr-typedef.exp b/gdb/testsuite/gdb.base/ptr-typedef.exp index e9f925d..212b338 100644 --- a/gdb/testsuite/gdb.base/ptr-typedef.exp +++ b/gdb/testsuite/gdb.base/ptr-typedef.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/realname-expand.exp b/gdb/testsuite/gdb.base/realname-expand.exp index d21a403..3d6bf47 100644 --- a/gdb/testsuite/gdb.base/realname-expand.exp +++ b/gdb/testsuite/gdb.base/realname-expand.exp @@ -32,7 +32,7 @@ if { [file type $srcfilelink] != "link" } { if { [gdb_compile "${srcdir}/${subdir}/${srcfile} ${srcfilelink}" "${binfile}" \ executable {debug}] != "" } { - untested "cannot compile ${srcdir}/${subdir}/${srcfile} and ${srcfilelink}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/relativedebug.exp b/gdb/testsuite/gdb.base/relativedebug.exp index 9563576..677b301 100644 --- a/gdb/testsuite/gdb.base/relativedebug.exp +++ b/gdb/testsuite/gdb.base/relativedebug.exp @@ -21,7 +21,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile test program" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/relocate.exp b/gdb/testsuite/gdb.base/relocate.exp index 52fc3ce..62012c4 100644 --- a/gdb/testsuite/gdb.base/relocate.exp +++ b/gdb/testsuite/gdb.base/relocate.exp @@ -21,7 +21,7 @@ append binfile .o remote_exec build "rm -f ${binfile}" if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {debug}] != "" } { - untested relocate.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/remote.exp b/gdb/testsuite/gdb.base/remote.exp index b75540a..7bc54c3 100644 --- a/gdb/testsuite/gdb.base/remote.exp +++ b/gdb/testsuite/gdb.base/remote.exp @@ -26,7 +26,7 @@ gdb_start set result [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] if {$result != "" } then { - untested remote.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp index 3116dbf..376a1b4 100644 --- a/gdb/testsuite/gdb.base/reread.exp +++ b/gdb/testsuite/gdb.base/reread.exp @@ -23,7 +23,7 @@ set srcfile1 ${testfile1}.c set binfile1 [standard_output_file ${testfile1}$EXEEXT] if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug nowarnings}] != "" } { - untested reread.exp + untested "failed to compile first testcase" return -1 } @@ -35,7 +35,7 @@ set binfile2 [standard_output_file ${testfile2}$EXEEXT] if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug nowarnings}] != "" && [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug nowarnings additional_flags=-DNO_SECTIONS}] != ""} { - untested reread.exp + untested "failed to compile second testcase" return -1 } diff --git a/gdb/testsuite/gdb.base/return2.exp b/gdb/testsuite/gdb.base/return2.exp index 77be75e..520d685 100644 --- a/gdb/testsuite/gdb.base/return2.exp +++ b/gdb/testsuite/gdb.base/return2.exp @@ -19,7 +19,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested return2.exp + untested "failed to compile" return -1 } @@ -82,7 +82,7 @@ proc return2_tests { } { global gdb_prompt skip_float_test if { ! [ runto_main ] } then { - untested return2.exp + untested "couldn't run to main" return -1 } diff --git a/gdb/testsuite/gdb.base/savedregs.exp b/gdb/testsuite/gdb.base/savedregs.exp index 45174a5..b461782 100644 --- a/gdb/testsuite/gdb.base/savedregs.exp +++ b/gdb/testsuite/gdb.base/savedregs.exp @@ -33,7 +33,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sep.exp b/gdb/testsuite/gdb.base/sep.exp index dc860f6..3c96bb5 100644 --- a/gdb/testsuite/gdb.base/sep.exp +++ b/gdb/testsuite/gdb.base/sep.exp @@ -16,7 +16,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested sep.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp index c6694e6..77b46fc 100644 --- a/gdb/testsuite/gdb.base/sepdebug.exp +++ b/gdb/testsuite/gdb.base/sepdebug.exp @@ -32,7 +32,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { - untested sepdebug.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sepsymtab.exp b/gdb/testsuite/gdb.base/sepsymtab.exp index 4f9a682..7d72896 100644 --- a/gdb/testsuite/gdb.base/sepsymtab.exp +++ b/gdb/testsuite/gdb.base/sepsymtab.exp @@ -21,7 +21,7 @@ standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ executable {debug}] != "" } { - untested sepsymtab.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/set-inferior-tty.exp b/gdb/testsuite/gdb.base/set-inferior-tty.exp index 1a5f49c..97d2bc6 100644 --- a/gdb/testsuite/gdb.base/set-inferior-tty.exp +++ b/gdb/testsuite/gdb.base/set-inferior-tty.exp @@ -17,7 +17,7 @@ standard_testfile set compile_options "debug" if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/setshow.exp b/gdb/testsuite/gdb.base/setshow.exp index 93dd926..7db3c93 100644 --- a/gdb/testsuite/gdb.base/setshow.exp +++ b/gdb/testsuite/gdb.base/setshow.exp @@ -19,7 +19,7 @@ standard_testfile .c if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable {debug}] != "" } { - untested setshow.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index fff1471..762a3f3 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -50,7 +50,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${lib1src} ${lib1} $lib_opts] != "" || [gdb_compile_shlib ${lib2src} ${lib2} $lib_opts] != "" || [gdb_compile ${srcfile} ${binfile} executable $exec_opts] != ""} { - untested "could not compile $lib1, $lib2, or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp index 23373fc..1384642 100644 --- a/gdb/testsuite/gdb.base/sigaltstack.exp +++ b/gdb/testsuite/gdb.base/sigaltstack.exp @@ -31,7 +31,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}.c" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/siginfo-addr.exp b/gdb/testsuite/gdb.base/siginfo-addr.exp index 480110e..70900d4 100644 --- a/gdb/testsuite/gdb.base/siginfo-addr.exp +++ b/gdb/testsuite/gdb.base/siginfo-addr.exp @@ -28,7 +28,7 @@ if [target_info exists gdb,nosignals] { standard_testfile if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { - untested "couldn't compile ${srcfile}.c" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp index 677e77f..5d7fdd1 100644 --- a/gdb/testsuite/gdb.base/signals.exp +++ b/gdb/testsuite/gdb.base/signals.exp @@ -22,7 +22,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested signals.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/signull.exp b/gdb/testsuite/gdb.base/signull.exp index 5a14bff..7822510 100644 --- a/gdb/testsuite/gdb.base/signull.exp +++ b/gdb/testsuite/gdb.base/signull.exp @@ -36,7 +36,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested signull.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/sigrepeat.exp b/gdb/testsuite/gdb.base/sigrepeat.exp index 82a9e0b..d7dd791 100644 --- a/gdb/testsuite/gdb.base/sigrepeat.exp +++ b/gdb/testsuite/gdb.base/sigrepeat.exp @@ -28,7 +28,7 @@ if [target_info exists gdb,nosignals] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested "couldn't compile ${srcfile}" + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/so-impl-ld.exp b/gdb/testsuite/gdb.base/so-impl-ld.exp index 875242d..6c95c87 100644 --- a/gdb/testsuite/gdb.base/so-impl-ld.exp +++ b/gdb/testsuite/gdb.base/so-impl-ld.exp @@ -33,7 +33,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile \ executable $exec_opts] != ""} { - untested "couldn't compile $libsrc or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/solib-display.exp b/gdb/testsuite/gdb.base/solib-display.exp index f4d6bb8..bc6cfa1 100644 --- a/gdb/testsuite/gdb.base/solib-display.exp +++ b/gdb/testsuite/gdb.base/solib-display.exp @@ -74,7 +74,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" { } if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "could not compile $binfile_lib or $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/solib-overlap.exp b/gdb/testsuite/gdb.base/solib-overlap.exp index 5b90894..dec00be 100644 --- a/gdb/testsuite/gdb.base/solib-overlap.exp +++ b/gdb/testsuite/gdb.base/solib-overlap.exp @@ -70,7 +70,7 @@ foreach prelink_lib1 {0x40000000 0x50000000} { with_test_prefix "$prelink_lib1" if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib1} $lib_flags] != "" || [gdb_compile_shlib ${srcfile_lib} ${binfile_lib2} $lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "could not compile ${binfile_lib1_test_msg}, ${binfile_lib2_test_msg} or ${binfile_test_msg}." + untested "failed to compile" return -1 } @@ -92,7 +92,7 @@ foreach prelink_lib1 {0x40000000 0x50000000} { with_test_prefix "$prelink_lib1" if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib1} $lib_flags] != "" || [gdb_compile_shlib ${srcfile_lib} ${binfile_lib2} $lib_flags] != ""} { - untested "could not recompile ${binfile_lib1_test_msg} or ${binfile_lib2_test_msg}." + untested "failed to compile shared library" kill_wait_spawned_process $test_spawn_id return -1 } diff --git a/gdb/testsuite/gdb.base/solib-search.exp b/gdb/testsuite/gdb.base/solib-search.exp index 9acd347..a080f2b 100644 --- a/gdb/testsuite/gdb.base/solib-search.exp +++ b/gdb/testsuite/gdb.base/solib-search.exp @@ -69,7 +69,7 @@ if { [gdb_compile_shlib ${srcfile1_lib} ${wrong_binfile1_lib} $wrong_lib_flags] || [gdb_compile_shlib ${srcfile2_lib} ${wrong_binfile2_lib} $wrong_lib_flags] != "" || [gdb_compile_shlib ${srcfile1_lib} ${right_binfile1_lib} $right_lib_flags] != "" || [gdb_compile_shlib ${srcfile2_lib} ${right_binfile2_lib} $right_lib_flags] != "" } { - untested "could not compile libs." + untested "failed to compile shared library" return -1 } @@ -78,7 +78,7 @@ remote_exec build "ln -sf ${right_lib_subdir}/${libname1}.so ${binfile1_lib}" remote_exec build "ln -sf ${right_lib_subdir}/${libname2}.so ${binfile2_lib}" if { [gdb_compile $srcdir/$subdir/${srcfile} ${binfile} \ executable $bin_flags] != "" } { - untested "could not compile $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/solib-symbol.exp b/gdb/testsuite/gdb.base/solib-symbol.exp index 2d5631f..f74b90f 100644 --- a/gdb/testsuite/gdb.base/solib-symbol.exp +++ b/gdb/testsuite/gdb.base/solib-symbol.exp @@ -36,7 +36,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $lib_flags] != "" || [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } { - untested "could not compile $binfile_lib or $binfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp index 912eb82..505894f 100644 --- a/gdb/testsuite/gdb.base/structs.exp +++ b/gdb/testsuite/gdb.base/structs.exp @@ -70,7 +70,7 @@ proc start_structs_test { types } { # built the second test case since we can't use prototypes warning "Prototypes not supported, rebuilding with -DNO_PROTOTYPES" if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable "${flags} additional_flags=-DNO_PROTOTYPES"] != "" } { - untested structs.exp + untested "failed to compile" return -1 } } diff --git a/gdb/testsuite/gdb.base/structs2.exp b/gdb/testsuite/gdb.base/structs2.exp index 5eaf936..fb20cd0 100644 --- a/gdb/testsuite/gdb.base/structs2.exp +++ b/gdb/testsuite/gdb.base/structs2.exp @@ -27,7 +27,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb # built the second test case since we can't use prototypes warning "Prototypes not supported, rebuilding with -DNO_PROTOTYPES" if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DNO_PROTOTYPES}] != "" } { - untested structs2.exp + untested "failed to compile" return -1 } set prototypes 0 diff --git a/gdb/testsuite/gdb.base/symtab-search-order.exp b/gdb/testsuite/gdb.base/symtab-search-order.exp index c8d058a..d4cf731 100644 --- a/gdb/testsuite/gdb.base/symtab-search-order.exp +++ b/gdb/testsuite/gdb.base/symtab-search-order.exp @@ -33,7 +33,7 @@ if [get_compiler_info] { if { [gdb_compile_shlib $lib1src $lib1 $lib_opts] != "" || [gdb_compile [list $srcfile $srcfile2] $binfile executable \ $exec_opts] != ""} { - untested "could not compile $lib1, or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/twice.exp b/gdb/testsuite/gdb.base/twice.exp index c0e8318..cd5b2ef 100644 --- a/gdb/testsuite/gdb.base/twice.exp +++ b/gdb/testsuite/gdb.base/twice.exp @@ -26,7 +26,7 @@ close $fileid gdb_remote_download host ${srcdir}/${subdir}/twice.c if { [gdb_compile $local_srcfile "${binfile}" executable $options] != "" } { - untested twice.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/unload.exp b/gdb/testsuite/gdb.base/unload.exp index aa25697..6644724 100644 --- a/gdb/testsuite/gdb.base/unload.exp +++ b/gdb/testsuite/gdb.base/unload.exp @@ -52,7 +52,7 @@ set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlope if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != "" || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { - untested "couldn't compile $libsrc or $libsrc2 or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/varargs.exp b/gdb/testsuite/gdb.base/varargs.exp index 36b0107..33e6b0e 100644 --- a/gdb/testsuite/gdb.base/varargs.exp +++ b/gdb/testsuite/gdb.base/varargs.exp @@ -47,7 +47,7 @@ if [support_complex_tests] { # build the first test case if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ executable ${additional_flags}] != "" } { - untested varargs.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/watchpoint-solib.exp b/gdb/testsuite/gdb.base/watchpoint-solib.exp index 1ae972f..5626975 100644 --- a/gdb/testsuite/gdb.base/watchpoint-solib.exp +++ b/gdb/testsuite/gdb.base/watchpoint-solib.exp @@ -42,7 +42,7 @@ set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlope if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { - untested "couldn't compile $libsrc or $srcfile." + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp index fb20a0a..f8d20e0 100644 --- a/gdb/testsuite/gdb.base/watchpoint.exp +++ b/gdb/testsuite/gdb.base/watchpoint.exp @@ -23,7 +23,7 @@ if [get_compiler_info] { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested watchpoint.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/whatis.exp b/gdb/testsuite/gdb.base/whatis.exp index 0cdcf5b..9971968 100644 --- a/gdb/testsuite/gdb.base/whatis.exp +++ b/gdb/testsuite/gdb.base/whatis.exp @@ -28,7 +28,7 @@ if [target_info exists no_long_long] { standard_testfile .c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $exec_opts] != "" } { - untested whatis.exp + untested "failed to compile" return -1 } diff --git a/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp b/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp index cc4d879..589ed55 100644 --- a/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp +++ b/gdb/testsuite/gdb.base/wrong_frame_bt_full.exp @@ -28,7 +28,7 @@ set opaque_objfile [standard_output_file "$opaque_testfile.o"] if {[gdb_compile "${srcdir}/${subdir}/$opaque_testfile.c" \ $opaque_objfile \ object {}] != ""} { - untested "failed to compile $opaque_testfile.c" + untested "failed to compile" return -1 } |