From 6e25beafa93e963c126c05acf8c819699c378922 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Mon, 23 Jun 2003 20:20:31 +0000 Subject: [PATCH] 2003-06-23 Elena Zannoni * gdb.objc/basicclass.exp: Return -1 if we cannot compile the testcase. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.objc/basicclass.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8a1a41141f6..ce28f5da078 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-06-23 Elena Zannoni + + * gdb.objc/basicclass.exp: Return -1 if we cannot compile + the testcase. + 2003-06-22 Daniel Jacobowitz * gdb.base/relocate.exp: Test add-symbol-file with a variable diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp index 44b709e3e27..5fb51815333 100644 --- a/gdb/testsuite/gdb.objc/basicclass.exp +++ b/gdb/testsuite/gdb.objc/basicclass.exp @@ -29,7 +29,7 @@ set binfile ${objdir}/${subdir}/${testfile} # which libraries to link in. Most of the time it uses pthread # if {[gdb_compile_objc "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug ]] != "" } { - gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." + return -1 } # -- 2.30.2