aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.disasm
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-06-30 04:24:17 +0000
committerBob Manson <manson@cygnus>1997-06-30 04:24:17 +0000
commita6d380b99705431024c351af39704ac50aea4f3e (patch)
tree923153f5b0672ac52087fd2885dca4a927bffb19 /gdb/testsuite/gdb.disasm
parent4ea71e9de94181ba92a1c02f2eef297a25cc6df0 (diff)
downloadgdb-a6d380b99705431024c351af39704ac50aea4f3e.zip
gdb-a6d380b99705431024c351af39704ac50aea4f3e.tar.gz
gdb-a6d380b99705431024c351af39704ac50aea4f3e.tar.bz2
* gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
until it has been modified to work with the new testsuite. * gdb.*/*.exp: Instead of causing 1 unresolved test when the testcase won't compile, cause all of the testcases in the file to fail instead. * lib/gdb.exp(gdb_suppress_entire_file): New procedure. (gdb_clear_suppressed): New procedure. (gdb_stop_suppressing_tests): Only clear suppress_flag if it contains a positive value.
Diffstat (limited to 'gdb/testsuite/gdb.disasm')
-rw-r--r--gdb/testsuite/gdb.disasm/mn10200.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.disasm/mn10200.exp b/gdb/testsuite/gdb.disasm/mn10200.exp
index 7bc52d5..f9e71df 100644
--- a/gdb/testsuite/gdb.disasm/mn10200.exp
+++ b/gdb/testsuite/gdb.disasm/mn10200.exp
@@ -37,8 +37,7 @@ set testfile "mn10200"
set srcfile ${srcdir}/${subdir}/${testfile}.s
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcfile}" "${binfile}" executable ""] != "" } {
- perror "Couldn't compile ${srcfile}"
- return -1
+ gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
proc add_tests { } {