@@ -20,7 +20,7 @@ if { [skip_ada_tests] } { return -1 }
# This testcase verifies the behavior of the `start' command, which
# does not work when we use the gdb stub...
if [target_info exists use_gdb_stub] {
- untested start.exp
+ untested "skipping test due to gdb stub"
return
}
@@ -34,7 +34,7 @@ clean_restart ${testfile}
# Verify that "start" lands inside the right procedure.
if { [gdb_start_cmd] < 0 } {
- untested start
+ untested "start failed to land inside the right procedure"
return -1
}
@@ -24,7 +24,7 @@ set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
- unsupported "testcase compile failed."
+ unsupported "failed to compile"
return -1
}
@@ -27,7 +27,7 @@ set testfile "e500-prologue"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
- unsupported "testcase compile failed."
+ unsupported "failed to compile"
return -1
}
@@ -46,7 +46,7 @@ set remote_libipa [gdb_load_shlib $libipa]
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug $additional_flags shlib=$libipa] ] != "" } {
- untested "failed to compile ftrace tests"
+ untested "failed to compile"
return -1
}
clean_restart ${executable}
@@ -33,7 +33,7 @@ set testfile "gdb1291"
set srcfile ${testfile}.s
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ""] != "" } {
- untested gdb1291.exp
+ untested "failed to compile"
return -1
}
@@ -35,7 +35,7 @@ set testfile "gdb1431"
set srcfile ${testfile}.s
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ""] != "" } {
- untested gdb1431.exp
+ untested "failed to compile"
return -1
}
@@ -32,7 +32,7 @@ set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
# Note we have to compile WITH optimization and WITHOUT debugging information to expose the bug.
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {"additional_flags=-O2"}] != "" } {
- untested gdb1558.exp
+ untested "failed to compile"
return -1
}
@@ -26,7 +26,7 @@ if { ![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] } then {
standard_testfile
if [prepare_for_testing ${testfile}.exp ${binfile} ${srcfile} {debug $additional_flags}] {
- untested "failed to compile ${testfile}"
+ untested "failed to compile"
return -1
}
@@ -31,7 +31,7 @@ if [info exists COMPILE] {
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } {
- unsupported "cannot compile ${srcfile}"
+ unsupported "failed to compile"
return -1
}
@@ -22,7 +22,7 @@ set testfile ia64-breakpoint-shadow
set srcfile ${testfile}.S
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
@@ -36,7 +36,7 @@ set binfile ${objdir}/${subdir}/${testfile}
set gcorefile ${objdir}/${subdir}/${testfile}.gcore
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
- unsupported "testcase compile failed."
+ unsupported "failed to compile"
return -1
}
@@ -27,7 +27,7 @@ set testfile "powerpc-aix-prologue"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
- unsupported "testcase compile failed."
+ unsupported "failed to compile"
return -1
}
@@ -25,7 +25,7 @@ set srcfile ${testfile}.S
set opts {}
if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $opts] {
- untested "failed to compile $srcfile"
+ untested "failed to compile"
return -1
}
@@ -34,7 +34,7 @@ set breakpoints_invalid "\r\n\032\032breakpoints-invalid\r\n"
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested annota1.exp
+ untested "failed to compile"
return -1
}
@@ -33,7 +33,7 @@ if [is_remote target] then {
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested annota3.exp
+ untested "failed to compile"
return -1
}
@@ -20,7 +20,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -28,7 +28,7 @@
standard_testfile all-types.c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested assign.exp
+ untested "failed to compile"
return -1
}
@@ -30,14 +30,14 @@ remote_exec build "rm -f ${binfile} ${binfile2}"
# build the first test case
#
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested attach.exp
+ untested "failed to compile"
return -1
}
# Build the in-system-call test
if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug}] != "" } {
- untested attach.exp
+ untested "failed to compile"
return -1
}
@@ -33,7 +33,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \
{debug additional_flags=-DUSE_RLIMIT}] != ""
&& [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \
{debug}] != "" } {
- untested "couldn't compile ${srcdir}/${subdir}/${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -20,7 +20,7 @@ standard_testfile args.c
if {[prepare_for_testing $testfile.exp ${testfile}! $srcfile \
{debug nowarnings}]} {
- untested bang.exp
+ untested "failed to compile"
return -1
}
@@ -19,7 +19,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -42,7 +42,7 @@ standard_testfile .c
set corefile [standard_output_file ${binfile}.corefile]
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested bigcore.exp
+ untested "failed to compile"
return -1
}
@@ -26,7 +26,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested bitfields2.exp
+ untested "failed to compile"
return -1
}
@@ -36,7 +36,7 @@ set srcfile1 ${testfile1}.c
set binfile1 [standard_output_file ${testfile1}]
if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile1}"
+ untested "failed to compile"
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"
return -1
}
@@ -28,7 +28,7 @@ set probes_bp "dl_main"
if { [gdb_compile_shlib $srcfile_lib $binfile_lib \
[list additional_flags=-fPIC]] != "" } {
- untested "could not compile $binfile_lib."
+ untested "failed to compile shared library"
return -1
}
@@ -24,7 +24,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested "couldn't compile ${srcdir}/${subdir}/${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -17,7 +17,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested callexit.exp
+ untested "failed to compile"
return -1
}
@@ -41,7 +41,7 @@ foreach kind {"fork" "vfork"} {
set testfile [set testfile_$kind]
if {[build_executable $testfile.exp $testfile ${srcfile} \
${compile_options}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
}
@@ -146,7 +146,7 @@ gdb_expect {
# sets: "auto" and the default. In this situation, this set of tests
# is pointless.
if {[llength [array names charsets]] < 3} {
- untested charset.exp
+ untested "fewer than 3 charsets"
return -1
}
@@ -38,7 +38,7 @@ if {[is_remote host]} {
if {[prepare_for_testing ${testfile}.exp $testfile $srcfile \
[list debug "additional_flags=-DPI_TXT=\"$pi_txt\" -DCOPY1_TXT=\"$copy1_txt\""]]} {
- untested checkpoint.exp
+ untested "failed to compile"
return -1
}
@@ -18,7 +18,7 @@ standard_testfile average.c
set ofile "${binfile}0.o"
if {[gdb_compile $srcdir/$subdir/$srcfile $ofile \
object {debug}] != ""} {
- untested comprdebug.exp
+ untested "failed to compile"
return
}
@@ -30,7 +30,7 @@ verbose "result is $result"
verbose "output is $output"
if {$result == 1} {
- untested comprdebug.exp
+ untested "failed to execute objcopy"
return
}
@@ -36,7 +36,7 @@ if [get_compiler_info] {
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug ] != "" } {
- untested constvars.exp
+ untested "failed to compile"
return -1
}
@@ -22,7 +22,7 @@ if ![istarget *-*-linux*] then {
}
if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } {
- untested "could not compile test program"
+ untested "failed to compile"
return -1
}
@@ -17,7 +17,7 @@
standard_testfile
if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != ""} {
- untested "couldn't compile $srcfile"
+ untested "failed to compile"
return -1
}
@@ -25,7 +25,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested cvexpr.exp
+ untested "failed to compile"
return -1
}
@@ -26,7 +26,7 @@ standard_testfile attach.c
set escapedbinfile [string_to_regexp ${binfile}]
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested detach.exp
+ untested "failed to compile"
return -1
}
@@ -20,7 +20,7 @@ standard_testfile
if {[prepare_for_testing $testfile.exp $testfile $srcfile \
{debug nowarnings}]} {
- untested display.exp
+ untested "failed to compile"
return -1
}
@@ -26,7 +26,7 @@ set dmsym_o [standard_output_file dmsym.o]
if {[gdb_compile "${srcdir}/${subdir}/dmsym.c" \
$dmsym_o \
object {}] != ""} {
- untested dmsym.exp
+ untested "failed to compile"
return -1
}
@@ -34,7 +34,7 @@ if {[gdb_compile \
[list ${srcdir}/${subdir}/dmsym_main.c $dmsym_o] \
[standard_output_file ${testfile}] \
executable {debug}] != ""} {
- untested dmsym.exp
+ untested "failed to compile"
return -1
}
@@ -32,7 +32,7 @@ if { [get_compiler_info] } {
if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != ""
|| [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} {
- untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile."
+ untested "failed to compile shared library"
return -1
}
@@ -41,13 +41,13 @@ set binfile_libdso1 [standard_output_file $libdso1.so]
if { [gdb_compile_shlib $srcfile_libdso2 $binfile_libdso2 \
[list debug additional_flags=-fPIC]] != "" } {
- untested "could not compile $binfile_libdso2."
+ untested "failed to compile shared library"
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"
return -1
}
@@ -23,7 +23,7 @@ proc dtrace_test {} {
standard_testfile
if {[dtrace_build_usdt_test_program] == -1} {
- untested "could not compile test program"
+ untested "failed to compile"
return -1
}
@@ -37,7 +37,7 @@ if {[istarget "spu*-*-*"]} then {
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } {
- untested dump.exp
+ untested "failed to compile"
return -1
}
@@ -95,7 +95,7 @@ remote_exec host "rm -f $filenames"
# Run target program until data structs are initialized.
if { ! [ runto checkpoint1 ] } then {
- untested dump.exp
+ untested "couldn't run to checkpoint"
return -1
}
@@ -21,7 +21,7 @@ standard_testfile .c
set opts [list debug additional_flags=-fshort-enums]
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } {
- untested "could not compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -23,7 +23,7 @@ standard_testfile arrayidx.c
append binfile $EXEEXT
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -29,12 +29,12 @@ set compile_options debug
# build the first test case
if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable $compile_options] != "" } {
- untested "could not compile test program ${binfile2}"
+ untested "failed to compile"
return -1
}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $compile_options] != "" } {
- untested "could not compile test program ${binfile}"
+ untested "failed to compile"
return -1
}
@@ -28,7 +28,7 @@ set exec2 ${binfile}2
if { [gdb_compile [file join $srcdir $subdir $srcfile] $objfile \
object [list debug]] != "" } {
- untested "compile failed"
+ untested "failed to compile"
return -1
}
@@ -22,7 +22,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested exprs.exp
+ untested "failed to compile"
return -1
}
@@ -32,7 +32,7 @@ if {[is_remote host]} {
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable \
[list debug "additional_flags=-DOUTDIR=\"$outdir/\""]] != "" } {
- untested fileio.exp
+ untested "failed to compile"
return -1
}
@@ -18,7 +18,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested find.exp
+ untested "failed to compile"
return -1
}
@@ -90,7 +90,7 @@ proc finish_tests { } {
global gdb_prompt skip_float_test
if { ! [ runto_main ] } then {
- untested finish.exp
+ untested "couldn't run to main"
return -1
}
@@ -34,7 +34,7 @@ if [get_compiler_info] {
if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != ""
|| [gdb_compile $srcdir/$subdir/$srcfile $binfile \
executable $exec_opts] != ""} {
- untested "could not compile either $libsrc or $srcfile."
+ untested "failed to compile"
return -1
}
@@ -30,7 +30,7 @@ standard_testfile
set compile_options debug
if {[build_executable $testfile.exp $testfile $srcfile $compile_options] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
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"
return -1
}
@@ -15,7 +15,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -20,12 +20,12 @@
standard_testfile
if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
- untested $testfile.exp
+ untested "failed to compile"
return -1
}
if { ! [ runto_main ] } then {
- untested gcore.exp
+ untested "couldn't run to main"
return -1
}
@@ -25,7 +25,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested gdb1250.exp
+ untested "failed to compile"
return -1
}
@@ -29,13 +29,13 @@ set binfile_lib2 [standard_output_file $lib2name.so]
if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \
[list debug additional_flags=-fPIC]] != "" } {
- untested "could not compile $binfile_lib1."
+ untested "failed to compile shared library"
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"
return -1
}
@@ -52,7 +52,7 @@ if [get_compiler_info] {
if { [gdb_compile_shlib ${srcdir}/${subdir}/$libsrc $lib_so $lib_opts] != ""
|| [gdb_compile ${srcdir}/${subdir}/$srcfile $binfile executable $exec_opts] != ""} {
- untested "could not compile dynamic executable $binfile."
+ untested "failed to compile"
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"
return -1
}
@@ -33,7 +33,7 @@ close $fd
# the bug. Using $new_srcfile here won't trigger the bug.
set compile_name [relative_filename $objdir $new_srcfile]
if { [gdb_compile $compile_name "${binfile}" executable {debug}] != "" } {
- untested hashline1.exp
+ untested "failed to compile"
return -1
}
@@ -30,7 +30,7 @@ puts $fd "int main () { return 0; } /* set breakpoint here */"
close $fd
if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } {
- untested hashline2.exp
+ untested "failed to compile"
return -1
}
@@ -31,7 +31,7 @@ puts $fd "int main () { return 0; } /* set breakpoint here */"
close $fd
if { [gdb_compile $new_srcfile "${binfile}" executable {debug}] != "" } {
- untested hashline3.exp
+ untested "failed to compile"
return -1
}
@@ -36,7 +36,7 @@ if [get_compiler_info] {
if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib_src} ${lib_so} $lib_opts] != ""
|| [gdb_compile ${srcdir}/${subdir}/${main_src} ${binfile} executable $exec_opts] != ""} {
- untested "could not compile ${subdir}/$lib_src or ${subdir}/$srcfile."
+ untested "failed to compile"
return -1
}
@@ -31,7 +31,7 @@ for { set size [expr 2 * 1024 * 1024] } { $size > 10 } { set size [expr $size /
== "" } break
}
if { $size < 10 } {
- untested huge.exp
+ untested "size less than 10"
return -1
}
@@ -43,7 +43,7 @@ set prev_timeout $timeout
set timeout 30
if { ! [ runto_main ] } then {
- untested huge.exp
+ untested "couldn't run to main"
return -1
}
@@ -24,7 +24,7 @@ if [target_info exists gdb,cannot_call_functions] {
}
if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
- untested "compile failed"
+ untested "failed to compile"
return -1
}
@@ -40,7 +40,7 @@ foreach libsepdebug {NO IN SEP} { with_test_prefix "$libsepdebug" {
if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != ""
|| [gdb_compile $srcdir/$subdir/${srcfile} ${binfile} \
executable $bin_flags] != "" } {
- untested "could not compile $binfile_lib or $binfile."
+ untested "failed to compile"
return -1
}
@@ -31,13 +31,13 @@ set define2 -DSHLIB2_NAME=\"$binfile_lib2\"
if { [gdb_compile_shlib $srcfile_lib1 $binfile_lib1 \
[list additional_flags=-fPIC]] != "" } {
- untested "could not compile $binfile_lib1."
+ untested "failed to compile shared library"
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"
return -1
}
@@ -64,12 +64,12 @@ proc build_shared_jit {{options ""}} {
}
if {[build_standalone_jit] == -1} {
- untested "could not compile $binfile"
+ untested "failed to compile"
return
}
if {[build_shared_jit] == -1} {
- untested "could not compile $binfile_lib"
+ untested "failed to compile"
return
}
@@ -17,13 +17,12 @@
# library.
if {[skip_shlib_tests]} {
- untested jit-so.exp
+ untested "skipping shared library tests"
return -1
}
if {[get_compiler_info]} {
- warning "Could not get compiler info"
- untested jit-so.exp
+ untested "could not get compiler info"
return 1
}
@@ -35,7 +34,7 @@ set testfile jit-dlmain
set srcfile ${testfile}.c
set binfile [standard_output_file ${testfile}]
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug shlib_load}] != "" } {
- untested jit-so.exp
+ untested "failed to compile"
return -1
}
@@ -44,7 +43,7 @@ set srcfile2 ${testfile2}.c
set binfile2 [standard_output_file ${testfile2}.so]
set binfile2_dlopen [shlib_target_file ${testfile2}.so]
if { [gdb_compile_shlib "${srcdir}/${subdir}/${srcfile2}" ${binfile2} {debug additional_flags="-DMAIN=jit_dl_main"}] != "" } {
- untested jit.exp
+ untested "failed to compile 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 shared library"
return -1
}
@@ -14,13 +14,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if {[skip_shlib_tests]} {
- untested jit.exp
+ untested "skipping shared library tests"
return -1
}
if {[get_compiler_info]} {
- warning "Could not get compiler info"
- untested jit.exp
+ untested "could not get compiler info"
return 1
}
@@ -20,7 +20,7 @@ standard_testfile .c
# Build the test case
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested jump.exp
+ untested "failed to compile"
return -1
}
@@ -26,7 +26,7 @@ if [is_remote target] then {
standard_testfile .c
if { [prepare_for_testing ${testfile}.exp $testfile ${srcfile} debug] } {
- untested label.exp
+ untested "failed to compile"
return -1
}
@@ -81,7 +81,7 @@
standard_testfile .c
if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" ${binfile} executable {debug}] != ""} {
- untested lineinc.exp
+ untested "failed to compile"
return -1
}
@@ -28,7 +28,7 @@
standard_testfile int-type.c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested logical.exp
+ untested "failed to compile"
return -1
}
@@ -21,7 +21,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested longjmp.exp
+ untested "failed to compile"
return -1
}
@@ -30,7 +30,7 @@ if [test_compiler_info gcc*] {
if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \
object $options] != ""
|| [gdb_compile "${objfile}" "${binfile}" executable $options] != "" } {
- untested macscp.exp
+ untested "failed to compile"
return -1
}
@@ -40,7 +40,7 @@ set additional_flags "additional_flags=${storage}"
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug ${additional_flags} nowarnings]] != "" } {
- untested miscexprs.exp
+ untested "failed to compile"
return -1
}
@@ -24,7 +24,7 @@ standard_testfile
set compile_options "debug"
if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -21,7 +21,7 @@ standard_testfile
set compile_options "debug"
if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -17,7 +17,7 @@ standard_testfile
set compile_options "debug"
if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -31,7 +31,7 @@ if [test_compiler_info "xlc-*"] {
}
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } {
- untested "couldn't compile $srcfile."
+ untested "failed to compile"
return -1
}
@@ -16,7 +16,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -19,7 +19,7 @@ standard_testfile offsets.c
if { [prepare_for_testing "failed to prepare for testing large offsets" \
${testfile} ${srcfile}] } {
- untested offsets.exp
+ untested "failed to compile"
return -1
}
@@ -42,7 +42,7 @@ standard_testfile overlays.c ovlymgr.c foo.c bar.c baz.c grbx.c
if {[build_executable $testfile.exp $testfile \
[list $srcfile $srcfile2 $srcfile3 $srcfile4 $srcfile5 $srcfile6] \
{debug ldscript=-Wl,-T$linker_script}] == -1} {
- untested overlays.exp
+ untested "failed to compile"
return -1
}
@@ -37,7 +37,7 @@ if [get_compiler_info] {
if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != ""
|| [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} {
- untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile."
+ untested "failed to compile"
return -1
}
@@ -28,7 +28,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested pointers.exp
+ untested "failed to compile"
return -1
}
@@ -20,7 +20,7 @@ if {[skip_hw_watchpoint_tests]} {
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested pr11022.exp
+ untested "failed to compile"
return -1
}
@@ -23,7 +23,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested printcmds.exp
+ untested "failed to compile"
return -1
}
@@ -19,7 +19,7 @@ if { [skip_cplus_tests] } { continue }
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested prologue.exp
+ untested "failed to compile"
return -1
}
@@ -16,7 +16,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
@@ -32,7 +32,7 @@ if { [file type $srcfilelink] != "link" } {
if { [gdb_compile "${srcdir}/${subdir}/${srcfile} ${srcfilelink}" "${binfile}" \
executable {debug}] != "" } {
- untested "cannot compile ${srcdir}/${subdir}/${srcfile} and ${srcfilelink}"
+ untested "failed to compile"
return -1
}
@@ -21,7 +21,7 @@ if [target_info exists gdb,nosignals] {
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
@@ -21,7 +21,7 @@ append binfile .o
remote_exec build "rm -f ${binfile}"
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {debug}] != "" } {
- untested relocate.exp
+ untested "failed to compile"
return -1
}
@@ -26,7 +26,7 @@ gdb_start
set result [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}]
if {$result != "" } then {
- untested remote.exp
+ untested "failed to compile"
return -1
}
@@ -23,7 +23,7 @@ set srcfile1 ${testfile1}.c
set binfile1 [standard_output_file ${testfile1}$EXEEXT]
if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug nowarnings}] != "" } {
- untested reread.exp
+ untested "failed to compile"
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"
return -1
}
@@ -19,7 +19,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested return2.exp
+ untested "failed to compile"
return -1
}
@@ -82,7 +82,7 @@ proc return2_tests { } {
global gdb_prompt skip_float_test
if { ! [ runto_main ] } then {
- untested return2.exp
+ untested "couldn't run to main"
return -1
}
@@ -33,7 +33,7 @@ if [target_info exists gdb,nosignals] {
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -16,7 +16,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested sep.exp
+ untested "failed to compile"
return -1
}
@@ -32,7 +32,7 @@
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
- untested sepdebug.exp
+ untested "failed to compile"
return -1
}
@@ -21,7 +21,7 @@ standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable {debug}] != "" } {
- untested sepsymtab.exp
+ untested "failed to compile"
return -1
}
@@ -17,7 +17,7 @@ standard_testfile
set compile_options "debug"
if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
}
@@ -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
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -26,7 +26,7 @@ set binfile_lib [standard_output_file $basename_lib.so]
if { [gdb_compile_shlib $srcfile_lib $binfile_lib \
[list additional_flags=-fPIC]] != "" } {
- untested "could not compile $binfile_lib."
+ untested "failed to compile shared library"
return -1
}
@@ -30,7 +30,7 @@ if {[skip_cell_tests]} {
# Compile SPU binary.
if { [gdb_compile_cell_spu $srcfile $binary executable {debug}] != "" } {
- unsupported "compile spu binary failed, so all tests in this file will automatically fail."
+ unsupported "failed to compile"
return -1
}
@@ -30,7 +30,7 @@ if {[skip_cell_tests]} {
# Compile SPU binary.
if { [gdb_compile_cell_spu $source $binary executable {debug}] != "" } {
- unsupported "compile spu binary failed, so all tests in this file will automatically fail."
+ unsupported "failed to compile"
return -1
}
@@ -18,7 +18,7 @@ if { [skip_cplus_tests] } { continue }
standard_testfile .cc
if [get_compiler_info "c++"] {
- untested dispcxx.exp
+ untested "couldn't find a valid c++ compiler"
return -1
}
@@ -36,7 +36,7 @@ if [get_compiler_info "c++"] {
if { [gdb_compile_shlib $srcdir/$subdir/$srcfile2 $sofile {debug c++}] != ""
|| [gdb_compile $srcdir/$subdir/$srcfile $binfile executable [list debug "c++" shlib=${sofile}]] != ""} {
- untested gdb2384.exp
+ untested "failed to compile"
return -1
}
@@ -23,7 +23,7 @@ if { [skip_cplus_tests] } { continue }
standard_testfile .cc
if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
- untested method2.exp
+ untested "failed to compile"
return -1
}
@@ -21,7 +21,7 @@ standard_testfile .cc
# Create and source the file that provides information about the compiler
# used to compile the test case.
if [get_compiler_info "c++"] {
- untested nextoverthrow.exp
+ untested "couldn't find a valid c++ compiler"
return -1
}
@@ -26,17 +26,17 @@ set tfx [standard_output_file pr10728-x.o]
set tfy [standard_output_file pr10728-y.o]
if { [gdb_compile "${srcdir}/${subdir}/$srcfile2" "${tfy}.o" object {c++}] != "" } {
- untested pr10728.exp
+ untested "failed to compile"
return -1
}
if { [gdb_compile "${srcdir}/${subdir}/$srcfile" "${tfx}.o" object {debug c++}] != "" } {
- untested pr10728.exp
+ untested "failed to compile"
return -1
}
if { [gdb_compile "${tfx}.o ${tfy}.o" ${binfile} executable {debug c++}] != "" } {
- untested pr10728.exp
+ untested "failed to compile"
return -1
}
@@ -27,7 +27,7 @@ set testfile "am33"
set srcfile ${srcdir}/${subdir}/${testfile}.s
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } {
- untested am33.exp
+ untested "failed to compile"
return -1
}
@@ -25,7 +25,7 @@ set testfile "h8300s"
set srcfile ${srcdir}/${subdir}/${testfile}.s
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcfile}" "${binfile}" executable {debug additional_flags=-ms}] != "" } {
- untested h8300s.exp
+ untested "failed to compile"
return -1
}
@@ -27,7 +27,7 @@ set testfile "mn10300"
set srcfile ${srcdir}/${subdir}/${testfile}.s
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcfile}" "${binfile}" executable ""] != "" } {
- untested mn10300.exp
+ untested "failed to compile"
return -1
}
@@ -25,7 +25,7 @@ set testfile "sh3"
set srcfile ${srcdir}/${subdir}/${testfile}.s
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcfile}" "${binfile}" executable ""] != "" } {
- untested sh3.exp
+ untested "failed to compile"
return -1
}
@@ -327,7 +327,7 @@ lappend opts "additional_flags=-DFDIR=\"fdir\""
lappend opts "additional_flags=-DFILE=\"${srctmpfile}\""
if { [gdb_compile "${asmsrcfile} ${srcdir}/${subdir}/$srcfile" "${binfile}" executable $opts] != "" } {
- untested "cannot compile ${asmsrcfile} or $srcfile"
+ untested "failed to compile"
return -1
}
@@ -16,7 +16,7 @@
standard_testfile .f
if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug f90 quiet}]} {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -24,7 +24,7 @@ if [get_compiler_info] {
}
if { [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" $libfile {debug f90}] != "" } {
- untested "couldn't compile ${srclibfile}"
+ untested "failed to compile"
return -1
}
@@ -33,7 +33,7 @@ if { [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" $libfile {debug f90
# warnings on ignored $libfile abort the process.
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable [list debug f90 shlib=$libfile]] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -30,7 +30,7 @@ if { [skip_guile_tests] } { continue }
proc run_lang_tests {exefile lang} {
global srcdir subdir srcfile testfile hex
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } {
- untested "couldn't compile ${srcfile} in $lang mode"
+ untested "failed to compile in $lang mode"
return
}
@@ -138,7 +138,7 @@ gdb_test "guile (print (symbol-symtab t))" "= #<gdb:symtab .*gdb.guile/scm-symbo
# C++ tests
# Recompile binary.
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" executable "debug c++"] != "" } {
- untested "couldn't compile ${srcfile} in c++ mode"
+ untested "failed to compile in C++ mode"
return -1
}
@@ -30,7 +30,7 @@ proc build_inferior {exefile lang} {
global srcdir subdir srcfile
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } {
- untested "couldn't compile ${srcfile} in $lang mode"
+ untested "failed to compile in $lang mode"
return -1
}
return 0
@@ -39,7 +39,7 @@ proc build_inferior {exefile lang} {
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object "debug $lang"] != ""
|| [gdb_compile "${objfile}" "${exefile}" executable "debug $lang"] != "" } {
- untested "couldn't compile ${srcfile} in $lang mode"
+ untested "failed to compile in $lang mode"
return -1
}
return 0
@@ -23,7 +23,7 @@ set baseone base/one/thefile.cc
set basetwo base/two/thefile.cc
if {[skip_cplus_tests]} {
- unsupported linespec.exp
+ unsupported "skipping c++ tests"
return
}
@@ -28,7 +28,7 @@ if [mi_gdb_start] {
standard_testfile
if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable debug] != ""} {
- untested gdb701.exp
+ untested "failed to compile"
return -1
}
@@ -34,7 +34,7 @@ if [get_compiler_info "c++"] {
}
if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable {debug c++}] != ""} {
- untested gdb792.exp
+ untested "failed to compile"
return -1
}
@@ -31,7 +31,7 @@ set lib_opts "debug"
if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""
|| [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} {
- untested "could not compile either $libsrc1 or $libsrc2"
+ untested "failed to compile shared library"
return -1
}
@@ -39,7 +39,7 @@ set MIFLAGS "-i=mi"
set exec_opts [list debug shlib=$lib_sl1 shlib_load]
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } {
- untested "failed to compile $srcfile"
+ untested "failed to compile"
return -1
}
@@ -36,12 +36,12 @@ if {[get_compiler_info]} {
}
if {[gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""} {
- untested "could not compile $libsrc1"
+ untested "failed to compile shared library"
return -1
}
if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} {
- untested "could not compile $srcdir/$subdir/$srcfile"
+ untested "failed to compile"
return -1
}
@@ -25,7 +25,7 @@ if [mi_gdb_start] {
standard_testfile
if {[build_executable $testfile.exp $testfile $srcfile {debug}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -24,7 +24,7 @@ if [mi_gdb_start] {
standard_testfile
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -41,12 +41,12 @@ if [get_compiler_info] {
if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""
|| [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} {
- untested "could not compile either $libsrc1 or $libsrc2"
+ untested "failed to compile shared library"
return -1
}
if { [gdb_compile_pthreads $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} {
- untested "could not compile $srcdir/$subdir/$srcfile."
+ untested "failed to compile"
return -1
}
@@ -42,7 +42,7 @@ if [get_compiler_info] {
if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $lib_flags] != ""
|| [gdb_compile ${srcfile_main} ${binfile} executable $bin_flags] != "" } {
- untested "could not compile $binfile_lib or $binfile."
+ untested "failed to compile"
return -1
}
@@ -25,7 +25,7 @@ load_lib mi-support.exp
standard_testfile
if {[build_executable $testfile.exp $testfile ${srcfile} "debug"] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -23,7 +23,7 @@ set MIFLAGS "-i=mi"
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested pr11022.exp
+ untested "failed to compile"
return
}
@@ -42,7 +42,7 @@ if [use_gdb_stub] {
set compile_options "debug pthreads"
if {[build_executable $testfile.exp $testfile ${srcfile} ${compile_options}] == -1} {
- untested "failed to compile $testfile"
+ untested "failed to compile"
return -1
}
@@ -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
}
@@ -34,7 +34,7 @@ if [get_compiler_info] {
if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != ""
|| [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} {
- untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile."
+ untested "failed to compile"
return -1
}
@@ -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
}
@@ -321,7 +321,7 @@ mi_gdb_test "-var-update c" \
gdb_exit
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" \
executable {debug c++ additional_flags=-DMI}] != "" } {
- untested "couldn't compile ${srcfile} in c++ mode"
+ untested "failed to compile in C++ mode"
return -1
}
@@ -30,7 +30,7 @@ if { [skip_python_tests] } { continue }
proc run_lang_tests {exefile lang} {
global srcdir subdir srcfile testfile hex
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } {
- untested "couldn't compile ${srcfile} in $lang mode"
+ untested "failed to compile in $lang mode"
return -1
}
@@ -28,14 +28,14 @@ set libsrc ${libfile}.c
set library [standard_output_file ${libfile}.sl]
if { [gdb_compile_shlib ${srcdir}/${subdir}/${libsrc} ${library} "debug"] != "" } {
- untested "could not compile shared library."
+ untested "failed to compile shared library"
return -1
}
set exec_opts [list debug shlib=${library}]
if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } {
- untested "could not compile $binfile."
+ untested "failed to compile"
return -1
}
@@ -127,7 +127,7 @@ gdb_test "python print (t\[0\].symtab)" "${py_symbol_c}" "get symtab"
# C++ tests
# Recompile binary.
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" executable "debug c++"] != "" } {
- untested "couldn't compile ${srcfile} in c++ mode"
+ untested "failed to compile in C++ mode"
return -1
}
@@ -21,7 +21,7 @@ if { [skip_cplus_tests] } { continue }
standard_testfile .cc
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \
{debug c++}] != "" } {
- untested "couldn't compile ${srcfile}"
+ untested "failed to compile"
return -1
}
@@ -29,7 +29,7 @@ proc build_inferior {exefile lang} {
global srcdir subdir srcfile testfile hex
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${exefile}" executable "debug $lang"] != "" } {
- untested "couldn't compile ${srcfile} in $lang mode"
+ untested "failed to compile in $lang mode"
return -1
}
@@ -39,7 +39,7 @@ proc build_inferior {exefile lang} {
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object "debug $lang"] != ""
|| [gdb_compile "${objfile}" "${exefile}" executable "debug $lang"] != "" } {
- untested "couldn't compile ${srcfile} in $lang mode"
+ untested "failed to compile in $lang mode"
return -1
}
return 0
@@ -40,12 +40,12 @@ if [get_compiler_info] {
# Compile the first without debug info so that
# stepping and reverse stepping doesn't end up inside them.
if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib1src} ${library1} ""] != "" } {
- untested "could not compile shared library1."
+ untested "failed to compile shared library"
return -1
}
if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib2src} ${library2} "debug"] != "" } {
- untested "could not compile shared library2."
+ untested "failed to compile shared library"
return -1
}
@@ -58,7 +58,7 @@ set exec_opts [list debug shlib=${library1} shlib=${library2}]
if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable \
[concat $exec_opts additional_flags=-Wl,-z,norelro]] != ""
&& [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opts] != "" } {
- untested "could not compile $binfile."
+ untested "failed to compile"
return -1
}
@@ -38,19 +38,19 @@ if [get_compiler_info] {
# Compile the first without debug info so that
# stepping and reverse stepping doesn't end up inside them.
if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib1src} ${library1} ""] != "" } {
- untested "could not compile shared library1."
+ untested "failed to compile shared library"
return -1
}
if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib2src} ${library2} "debug"] != "" } {
- untested "could not compile shared library2."
+ untested "failed to compile shared library"
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
}
@@ -34,7 +34,7 @@ set binlibfile [standard_output_file ${testfile}.so]
if { [get_compiler_info]
|| [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" "${binlibfile}" {debug}] != ""
|| [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable "shlib=${binlibfile}"] != "" } {
- untested "could not compile sources"
+ untested "failed to compile"
return -1
}
@@ -271,7 +271,7 @@ if { [lindex $exec_output 0] != 0 } {
}
if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } {
- untested weird.exp
+ untested "failed to compile"
return -1
}
@@ -27,7 +27,7 @@ if { [gdb_compile_pthreads \
"${srcdir}/${subdir}/${srcfile}" \
"${binfile}" \
executable {debug}] != "" } {
- untested "couldn't compile test program."
+ untested "failed to compile"
return -1
}
@@ -20,7 +20,7 @@ if { [gdb_compile_pthreads \
"${srcdir}/${subdir}/${srcfile}" \
"${binfile}" \
executable {debug}] != "" } {
- untested "couldn't compile test program."
+ untested "failed to compile"
return -1
}
@@ -24,7 +24,7 @@ gdb_start
standard_testfile
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested actions.exp
+ untested "failed to compile"
return -1
}
gdb_reinitialize_dir $srcdir/$subdir
@@ -26,7 +26,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested ax.exp
+ untested "failed to compile"
return -1
}
@@ -91,13 +91,13 @@ gdb_test_multiple "list $baseline, +12" "all tests in this module will fail" {
}
-re ".*$gdb_prompt $" {
if { ($testline1 == 0) || ($testline2 == 0) || ($testline3 == 0) || ($testline4 == 0) || ($testline5 == 0) || ($testline6 == 0) } {
- untested backtrace.exp
+ untested "unexpected testline values"
set return_me 1
all tests in this module will fail."
}
}
default {
- untested backtrace.exp
+ untested "couldn't match pattern"
set return_me 1
all tests in this module will fail."
}
@@ -39,7 +39,7 @@ set additional_flags [list debug shlib=$lib_sl1 shlib_load [gdb_target_symbol_pr
if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""
|| [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""
|| [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $additional_flags] != ""} {
- untested "could not compile either $libsrc1 or $srcdir/$subdir/$srcfile."
+ untested "failed to compile"
return -1
}
@@ -24,7 +24,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested deltrace.exp
+ untested "failed to compile"
return -1
}
gdb_reinitialize_dir $srcdir/$subdir
@@ -30,7 +30,7 @@ set options [list debug [gdb_target_symbol_prefix_flags] \
# Check that the target supports trace.
if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
@@ -53,7 +53,7 @@ set remote_libipa [gdb_load_shlib $libipa]
lappend options shlib=$libipa
if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
- untested "couldn't compile test program with in-process agent library"
+ untested "failed to compile"
return -1
}
@@ -46,7 +46,7 @@ set remote_libipa [gdb_load_shlib $libipa]
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug $additional_flags shlib=$libipa] ] != "" } {
- untested "failed to compile ftrace tests"
+ untested "failed to compile"
return -1
}
clean_restart ${executable}
@@ -24,7 +24,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested infotrace.exp
+ untested "failed to compile"
return -1
}
gdb_reinitialize_dir $srcdir/$subdir
@@ -32,13 +32,13 @@ set lib_opts [gdb_target_symbol_prefix_flags]
if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""
|| [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} {
- untested "could not compile either $libsrc1 or $libsrc2"
+ untested "failed to compile shared library"
return -1
}
set exec_opts [list debug shlib=$lib_sl1 shlib_load]
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } {
- untested "failed to compile $srcfile"
+ untested "failed to compile"
return -1
}
@@ -24,7 +24,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested packetlen.exp
+ untested "failed to compile"
return -1
}
gdb_load $binfile
@@ -23,7 +23,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested passcount.exp
+ untested "failed to compile"
return -1
}
gdb_reinitialize_dir $srcdir/$subdir
@@ -31,13 +31,13 @@ set lib_opts [gdb_target_symbol_prefix_flags]
if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != ""
|| [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} {
- untested "could not compile either $libsrc1 or $libsrc2"
+ untested "failed to compile shared library"
return -1
}
set exec_opts [list debug shlib=$lib_sl1 shlib_load]
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } {
- untested "failed to compile $srcfile"
+ untested "failed to compile"
return -1
}
@@ -508,7 +508,7 @@ gdb_load_shlib $libipa
lappend exec_opts "shlib=$libipa"
if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != "" } {
- untested "failed to compile $srcfile"
+ untested "failed to compile"
return -1
}
@@ -71,7 +71,7 @@ set remote_libipa [gdb_load_shlib $libipa]
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug nowarnings shlib=$libipa] ] != "" } {
- untested "failed to compile ftrace tests"
+ untested "failed to compile"
return -1
}
@@ -24,7 +24,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested report.exp
+ untested "failed to compile"
return -1
}
gdb_load $binfile
@@ -97,13 +97,13 @@ gdb_test_multiple "list $gdb_recursion_test_baseline, +12" "" {
}
-re ".*$gdb_prompt $" {
if { ($testline1 == 0) || ($testline2 == 0) || ($testline3 == 0) || ($testline4 == 0) || ($testline5 == 0) || ($testline6 == 0) } {
- untested report.exp
+ untested "unexpected testline values"
set return_me 1
all tests in this module will fail."
}
}
default {
- untested report.exp
+ untested "couldn't match pattern"
set return_me 1
all tests in this module will fail."
}
@@ -42,7 +42,7 @@ proc compile_stap_bin {exec_name {arg ""}} {
if { [gdb_compile "$srcdir/$subdir/$srcfile" \
[standard_output_file $exec_name] \
executable [concat $arg debug nowarnings]] != "" } {
- untested "could not compile ${srcfile}"
+ untested "failed to compile"
return 0
}
@@ -25,7 +25,7 @@ standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" "$binfile" \
executable {debug nowarnings}] != "" } {
- untested tfind.exp
+ untested "failed to compile"
return -1
}
gdb_load $binfile
@@ -357,7 +357,7 @@ set remote_libipa [gdb_load_shlib $libipa]
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug $additional_flags shlib=$libipa] ] != "" } {
- untested "failed to compile ftrace tests"
+ untested "failed to compile"
return -1
}
clean_restart ${executable}
@@ -46,7 +46,7 @@ set remote_libipa [gdb_load_shlib $libipa]
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug $additional_flags shlib=$libipa] ] != "" } {
- untested "failed to compile ftrace tests"
+ untested "failed to compile"
return -1
}
@@ -23,7 +23,7 @@ set options [list debug [gdb_target_symbol_prefix_flags]]
# Check that the target supports trace.
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
@@ -46,7 +46,7 @@ gdb_load_shlib $libipa
lappend options shlib=$libipa
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
- untested "couldn't compile test program with in-process agent library"
+ untested "failed to compile"
return -1
}
@@ -23,7 +23,7 @@ set additional_flags [gdb_target_symbol_prefix_flags]
if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug $additional_flags] ] != "" } {
- untested "couldn't compile test program"
+ untested "failed to compile"
return -1
}
@@ -112,7 +112,7 @@ set remote_libipa [gdb_load_shlib $libipa]
# Compile test case again with IPA.
if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug $additional_flags shlib=$libipa] ] != "" } {
- untested "failed to compile ftrace tests"
+ untested "failed to compile"
return -1
}
clean_restart ${executable}
@@ -23,7 +23,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested tracecmd.exp
+ untested "failed to compile"
return -1
}
gdb_reinitialize_dir $srcdir/$subdir
@@ -22,7 +22,7 @@ set ipalib [get_in_proc_agent]
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [concat {debug nowarnings c} shlib=$ipalib]] != "" } {
- untested tspeed.exp
+ untested "failed to compile"
return -1
}
@@ -21,7 +21,7 @@ gdb_start
standard_testfile actions.c
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- untested tsv.exp
+ untested "failed to compile"
return -1
}
gdb_load $binfile
@@ -90,7 +90,7 @@ namespace eval PerfTest {
if { [string compare $GDB_PERFTEST_MODE "run"] != 0 } {
if { [eval compile {$compile}] } {
- untested "could not compile source files."
+ untested "failed to compile"
return
}
}