gdb/testsuite: make runto_main not pass no-message to runto

As follow-up to this discussion:

  https://sourceware.org/pipermail/gdb-patches/2020-August/171385.html

... make runto_main not pass no-message to runto.  This means that if we
fail to run to main, for some reason, we'll emit a FAIL.  This is the
behavior we want the majority of (if not all) the time.

Without this, we rely on tests logging a failure if runto_main fails,
otherwise.  They do so in a very inconsisteny mannet, sometimes using
"fail", "unsupported" or "untested".  The messages also vary widly.
This patch removes all these messages as well.

Also, remove a few "fail" where we call runto (and not runto_main).  by
default (without an explicit no-message argument), runto prints a
failure already.  In two places, gdb.multi/multi-re-run.exp and
gdb.python/py-pp-registration.exp, remove "message" passed to runto.
This removes a few PASSes that we don't care about (but FAILs will still
be printed if we fail to run to where we want to).  This aligns their
behavior with the rest of the testsuite.

Change-Id: Ib763c98c5f4fb6898886b635210d7c34bd4b9023
This commit is contained in:
Simon Marchi 2021-09-30 11:52:21 -04:00
parent 2fed9db40b
commit 4dfef5be68
598 changed files with 75 additions and 784 deletions

View file

@ -28,7 +28,6 @@ clean_restart ${testfile}
# Start the inferior
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
clean_restart ${testfile}
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -33,7 +33,6 @@ set eol "\[\r\n\]+"
set sp "\[ \t\]*"
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}
@ -62,7 +61,6 @@ gdb_test_multiple "catch exception" $msg {
# - continue, the program exits.
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -41,7 +41,6 @@ set catch_exception_info \
####################################
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}
@ -90,7 +89,6 @@ gdb_test "continue" \
# - continue, the program exits.
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}
@ -151,7 +149,6 @@ gdb_test "continue" \
# the program.
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -45,7 +45,6 @@ set catchpoint_storage_error_msg \
############################################
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -46,7 +46,6 @@ clean_restart ${testfile}
set bp_location [gdb_get_line_number "STOP" ${testdir}/some_c.c]
if ![runto "some_c.c:$bp_location"] then {
fail "can't run to some_c.c STOP location"
return
}

View file

@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" }
clean_restart ${testfile}
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -35,7 +35,6 @@ set sp "\[ \t\]*"
clean_restart ${testfile}
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}
@ -71,7 +70,6 @@ mi_clean_restart $binfile
# - continue, the program exits.
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -35,7 +35,6 @@ set eol "\[\r\n\]+"
clean_restart ${testfile}
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}
@ -66,7 +65,6 @@ mi_clean_restart $binfile
with_test_prefix "scenario 1" {
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}
}
@ -125,7 +123,6 @@ continue_to_exception \
with_test_prefix "scenario 2" {
mi_delete_breakpoints
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}
}

View file

@ -34,7 +34,6 @@ set eol "\[\r\n\]+"
clean_restart ${testfile}
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}
@ -65,7 +64,6 @@ mi_clean_restart $binfile
with_test_prefix "scenario 1" {
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}
}
@ -118,7 +116,6 @@ continue_to_exception_handler \
with_test_prefix "scenario 2" {
mi_delete_breakpoints
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}
}

View file

@ -29,7 +29,6 @@ set MIFLAGS "-i=mi"
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -35,7 +35,6 @@ set eol "\[\r\n\]+"
clean_restart ${testfile}
if ![runto_main] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -29,7 +29,6 @@ set MIFLAGS "-i=mi"
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -29,7 +29,6 @@ set MIFLAGS "-i=mi"
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -33,7 +33,6 @@ set MIFLAGS "-i=mi"
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -29,7 +29,6 @@ set MIFLAGS "-i=mi"
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -32,7 +32,6 @@ foreach_with_prefix scenario {all minimal} {
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -39,7 +39,6 @@ mi_gdb_load ${binfile}
mi_gdb_test "-gdb-set debug-file-directory \"\"" ".*"
if ![mi_runto "task_switch.break_me"] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -40,7 +40,6 @@ mi_gdb_load ${binfile}
####################################
if ![mi_runto "task_switch.break_me"] then {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -31,7 +31,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != "" } {
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -35,7 +35,6 @@ foreach_with_prefix scenario {none all minimal} {
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -37,7 +37,6 @@ foreach_with_prefix scenario {none all minimal} {
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -36,7 +36,6 @@ foreach_with_prefix scenario {none all minimal} {
mi_clean_restart $binfile
if {[mi_runto_main] < 0} {
fail "cannot run to main, testcase aborted"
return 0
}

View file

@ -29,7 +29,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -29,7 +29,6 @@ if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile}]} {
}
if {![runto_main]} {
untested "could not run to main"
return -1
}

View file

@ -29,7 +29,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -54,7 +54,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
}
if ![runto_main] {
untested "could not run to main"
return -1
}
@ -339,7 +338,6 @@ gdb_test "continue" \
# Restart to execute the async tag fault test.
with_test_prefix "async" {
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -32,7 +32,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} ${compile_f
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -26,7 +26,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile {nodebug}]} {
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -36,7 +36,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} ${compile_f
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -26,7 +26,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -38,7 +38,6 @@ proc test_stepi {function } {
# of the previous tests, this makes sure that it doesn't affect
# this series of tests.
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -62,7 +62,6 @@ proc altivec_abi_tests { extra_flags force_abi } {
# Run to `main' where we begin our tests.
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -58,7 +58,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -26,7 +26,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -38,7 +38,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -43,7 +43,6 @@ gdb_test "set displaced-stepping on" ""
gdb_test "show displaced-stepping" ".* displaced stepping .* is on.*"
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -36,7 +36,6 @@ gdb_test "set displaced-stepping on" ""
gdb_test "show displaced-stepping" ".* displaced stepping .* is on.*"
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -38,7 +38,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -26,7 +26,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -46,7 +46,6 @@ proc_with_prefix check_x87_regs_around_init {} {
# Get things started.
if ![runto_main] then {
fail "can't run to main"
return 0
}
@ -121,7 +120,6 @@ proc_with_prefix check_setting_mxcsr_before_enable {} {
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}
@ -156,7 +154,6 @@ proc_with_prefix check_setting_x87_regs_before_enable {} {
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -21,7 +21,6 @@ if { ![istarget "x86_64-*-*"] || ![is_lp64_target] } {
proc test_probe { probe_name } {
with_test_prefix "probe: ${probe_name}" {
if { ![runto "-pstap $probe_name"] } {
fail "run to probe $probe_name"
return
}

View file

@ -26,7 +26,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
proc goto_probe { probe_name } {
if { ![runto "-pstap $probe_name"] } {
fail "run to probe $probe_name"
return
}
}

View file

@ -38,7 +38,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -27,7 +27,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
}
if ![runto_main] {
fail "can't run to main"
return 0
}

View file

@ -43,7 +43,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
}
if ![runto_main] {
fail "can't run to main"
return 0
}

View file

@ -25,7 +25,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile ]} {
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -410,7 +410,6 @@ proc test_add_rn_pc {} {
gdb_test_no_output "set displaced-stepping off"
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -32,7 +32,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug quie
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -30,7 +30,6 @@ if [prepare_for_testing "failed to prepare" $executable $srcfile \
}
if ![runto_main] {
fail "can't run to main"
return -1
}

View file

@ -46,7 +46,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -45,7 +45,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}
@ -146,7 +145,6 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -27,7 +27,6 @@ if [prepare_for_testing "failed to prepare" $executable $srcfile \
}
if ![runto_main] {
fail "can't run to main to check for trace support"
return -1
}
@ -51,7 +50,6 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
clean_restart ${executable}
if ![runto_main] {
fail "can't run to main for ftrace tests"
return 0
}

View file

@ -47,7 +47,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -49,7 +49,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -48,7 +48,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}
@ -101,7 +100,6 @@ with_test_prefix "force-disable xml descriptions" {
}
if ![runto_main] then {
fail "run to main"
return
}

View file

@ -34,7 +34,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -38,7 +38,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -33,7 +33,6 @@ gdb_test "set displaced-stepping on" ""
gdb_test "show displaced-stepping" ".* displaced stepping .* is on.*"
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -30,7 +30,6 @@ if [prepare_for_testing "failed to prepare" ${binfile} ${srcfile} {debug $additi
}
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -33,7 +33,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile [list debug nop
}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -38,7 +38,6 @@ if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -40,7 +40,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -40,7 +40,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -46,7 +46,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}
@ -64,7 +63,6 @@ set segv_with_exit "Program received signal SIGSEGV,\
set parameters "print pass stop"
with_test_prefix "$parameters" {
if ![runto_main] {
fail "could not run to main"
return -1
}
@ -84,7 +82,6 @@ with_test_prefix "$parameters" {
set parameters "print pass nostop"
with_test_prefix "$parameters" {
if ![runto_main] {
fail "could not run to main"
return -1
}
@ -103,7 +100,6 @@ with_test_prefix "$parameters" {
set parameters "print nopass stop"
with_test_prefix "$parameters" {
if ![runto_main] {
fail "could not run to main"
return -1
}
@ -123,7 +119,6 @@ with_test_prefix "$parameters" {
set parameters "noprint pass nostop"
with_test_prefix "$parameters" {
if ![runto_main] {
fail "could not run to main"
return -1
}

View file

@ -44,7 +44,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -29,7 +29,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -66,7 +66,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -43,7 +43,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -38,7 +38,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list
clean_restart ${binfile}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -33,7 +33,6 @@ gdb_load ${binfile}
# We need to start the inferior to place the breakpoints in the memory at all.
if ![runto_main] {
untested start
return -1
}

View file

@ -41,7 +41,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -190,7 +190,6 @@ set options [list debug nowarnings]
gdb_compile ${objfiles} ${binfile} executable ${options}
clean_restart ${testname}
if ![runto_main] then {
fail "running test program, MIPS16 thunk tests aborted"
return
}

View file

@ -89,7 +89,6 @@ proc get_addr_of_sym { sym } {
}
if ![runto_main] then {
fail "can't run to main"
return 0
}
@ -126,7 +125,6 @@ proc test_core_bt { test } {
set test "core at last insn in foo"
if ![runto_main] then {
fail "can't run to main"
return 0
}
gdb_breakpoint "*$foo_last"
@ -137,7 +135,6 @@ if [gen_core $test] {
set test "core at nullified insn"
if ![runto_main] then {
fail "can't run to main"
return 0
}
gdb_breakpoint "*$foo_last"

View file

@ -40,7 +40,6 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
if { ![runto_main] } then {
fail "run to main"
return
}

View file

@ -40,7 +40,6 @@ if {[build_executable "compile" $binfile $gen_src] == -1} {
clean_restart $binfile
if ![runto_main] then {
fail "could not run to main"
return -1
}

View file

@ -44,7 +44,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -40,7 +40,6 @@ if {[build_executable "compile" $binfile $gen_src] == -1} {
clean_restart $binfile
if ![runto_main] then {
fail "could not run to main"
return -1
}

View file

@ -38,7 +38,6 @@ if { [prepare_for_testing "failed to prepare" $testfile "$srcfile" \
# Run to `main' where we begin our tests.
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -37,7 +37,6 @@ proc do_test { displaced } {
global decimal hex
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -41,7 +41,6 @@ proc do_test { displaced } {
global gdb_prompt inferior_exited_re srcfile srcfile2
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -25,7 +25,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -31,7 +31,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if { ![runto_main] } {
untested "failed to runto main"
return -1
}

View file

@ -38,7 +38,6 @@ foreach_with_prefix {insn_size} {6 8} {
}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -29,7 +29,6 @@ if {[prepare_for_testing "failed to prepare" $testfile \
}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -36,7 +36,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile \
}
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -35,7 +35,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile \
}
if ![runto_main] {
untested "could not run to main"
return -1
}

View file

@ -31,7 +31,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile \
}
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -30,7 +30,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
}
if ![runto_main] then {
untested "could not run to main"
return 0
}

View file

@ -29,7 +29,6 @@ if [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} $opts] {
}
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -40,7 +40,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
untested "ARM prologue tests"
return -1
}

View file

@ -29,7 +29,6 @@ if [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} [list debug $
}
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -33,7 +33,6 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
if ![runto_main] then {
untested "could not run to main"
return -1
}

View file

@ -53,7 +53,6 @@ gdb_load ${binfile}
# Run to `main' where we begin our tests.
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -53,7 +53,6 @@ gdb_load ${binfile}
# Run to `main' where we begin our tests.
if ![runto_main] then {
fail "can't run to main"
return 0
}

View file

@ -30,7 +30,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
}
if { ![runto_main] } {
unsupported "could not run to main"
return -1
}

View file

@ -28,7 +28,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
}
if { ![runto_main] } {
unsupported "could not run to main"
return -1
}

View file

@ -27,7 +27,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
}
if { ![runto_main] } {
unsupported "could not run to main"
return -1
}

View file

@ -285,7 +285,6 @@ gdb_load ${binfile}
#
if ![runto_main] then {
fail "can't run to main"
return 0
}

Some files were not shown because too many files have changed in this diff Show more