OSDN Git Service

* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
authorMark Kettenis <kettenis@gnu.org>
Sat, 1 Feb 2003 20:47:16 +0000 (20:47 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 1 Feb 2003 20:47:16 +0000 (20:47 +0000)
gdb.mi/mi1-pthreads.exp: Return instead of calling
gdb_suppress_entire_file.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/gdb669.exp
gdb/testsuite/gdb.mi/mi-pthreads.exp
gdb/testsuite/gdb.mi/mi1-pthreads.exp

index 2fb2c14..2dd5bda 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
+       gdb.mi/mi1-pthreads.exp: Return instead of calling
+       gdb_suppress_entire_file.
+
 2003-02-01  Mark Salter  <msalter@redhat.com>
 
        * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
index 1a78d07..d03ce35 100644 (file)
@@ -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
index f2839c2..532134a 100644 (file)
@@ -208,10 +208,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
index 480f057..f84f1fe 100644 (file)
@@ -208,10 +208,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