aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/report.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.trace/report.exp')
-rw-r--r--gdb/testsuite/gdb.trace/report.exp12
1 files changed, 8 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.trace/report.exp b/gdb/testsuite/gdb.trace/report.exp
index 1b772a3..0d25317 100644
--- a/gdb/testsuite/gdb.trace/report.exp
+++ b/gdb/testsuite/gdb.trace/report.exp
@@ -44,7 +44,8 @@ if [istarget "m68k-*-elf"] then {
send_gdb "compare-sections CS\n"
gdb_expect {
-re "MIS-MATCHED.*$gdb_prompt $" {
- gdb_suppress_entire_file "Symbol file does not match target!
+ untested report.exp
+ return -1
all tests in this module will fail.";
}
-re ".*$gdb_prompt $" { }
@@ -55,7 +56,8 @@ if [istarget "m68k-*-elf"] then {
set binfile $objdir/$subdir/$testfile
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ untested report.exp
+ return -1
}
gdb_load $binfile
gdb_test "tstop" "" ""
@@ -129,12 +131,14 @@ gdb_expect {
}
-re ".*$gdb_prompt $" {
if { ($testline1 == 0) || ($testline2 == 0) || ($testline3 == 0) || ($testline4 == 0) || ($testline5 == 0) || ($testline6 == 0) } {
- gdb_suppress_entire_file "failed to locate test source lines:
+ untested report.exp
+ return -1
all tests in this module will fail."
}
}
default {
- gdb_suppress_entire_file "failed to locate test source lines (def):
+ untested report.exp
+ return -1
all tests in this module will fail."
}
}