aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/annota2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/annota2.exp')
-rw-r--r--gdb/testsuite/gdb.cp/annota2.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/annota2.exp b/gdb/testsuite/gdb.cp/annota2.exp
index 1a4f5d3..9460f3e 100644
--- a/gdb/testsuite/gdb.cp/annota2.exp
+++ b/gdb/testsuite/gdb.cp/annota2.exp
@@ -35,7 +35,8 @@ set srcfile ${testfile}.cc
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++ nowarnings}] != "" } {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ untested annota2.exp
+ return -1
}
# are we on a target board? If so, don't run these tests.