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.exp10
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb669.exp b/gdb/testsuite/gdb.mi/gdb669.exp
index 4f294b964ea..d03ce35293c 100644
--- a/gdb/testsuite/gdb.mi/gdb669.exp
+++ b/gdb/testsuite/gdb.mi/gdb669.exp
@@ -1,4 +1,4 @@
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -178,11 +178,9 @@ set testfile "pthreads"
set srcfile "$testfile.c"
set binfile "$objdir/$subdir/$testfile"
-set options [list debug incdir=$subdir]
-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."
+set options [list debug incdir=$objdir]
+if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
+ return -1
}
mi_gdb_reinitialize_dir $srcdir/$subdir