aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/reread.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/reread.exp')
-rw-r--r--gdb/testsuite/gdb.base/reread.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp
index 2d1167e..9fb23ae 100644
--- a/gdb/testsuite/gdb.base/reread.exp
+++ b/gdb/testsuite/gdb.base/reread.exp
@@ -34,7 +34,8 @@ set srcfile1 ${testfile1}.c
set binfile1 ${objdir}/${subdir}/${testfile1}$EXEEXT
if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {debug nowarnings}] != "" } {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ untested reread.exp
+ return -1
}
# build the second test case
@@ -44,7 +45,8 @@ set srcfile2 ${testfile2}.c
set binfile2 ${objdir}/${subdir}/${testfile2}$EXEEXT
if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}" executable {debug nowarnings}] != "" } {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ untested reread.exp
+ return -1
}
# Start with a fresh gdb.