summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/gdb669.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/gdb669.exp')
-rw-r--r--gdb/testsuite/gdb.mi/gdb669.exp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb669.exp b/gdb/testsuite/gdb.mi/gdb669.exp
index 1a78d079c37..d03ce35293c 100644
--- a/gdb/testsuite/gdb.mi/gdb669.exp
+++ b/gdb/testsuite/gdb.mi/gdb669.exp
@@ -179,10 +179,8 @@ set srcfile "$testfile.c"
set binfile "$objdir/$subdir/$testfile"
set options [list debug incdir=$objdir]
-if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options]
- != "" } {
- gdb_suppress_entire_file \
- "Testcase compile failed, so all tests in this file will automatically fail."
+if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
+ return -1
}
mi_gdb_reinitialize_dir $srcdir/$subdir