diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-02-01 20:47:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-02-01 20:47:16 +0000 |
commit | 2bd4c7b17989b78b2f30121b8339c53b3fb93184 (patch) | |
tree | d9be409b94603cb68793b3a3f52abc9a65524c32 /gdb/testsuite/gdb.mi | |
parent | 31a85ea289148c5d12f40b0829f8f40223779bbb (diff) | |
download | gdb-2bd4c7b17989b78b2f30121b8339c53b3fb93184.zip gdb-2bd4c7b17989b78b2f30121b8339c53b3fb93184.tar.gz gdb-2bd4c7b17989b78b2f30121b8339c53b3fb93184.tar.bz2 |
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp: Return instead of calling
gdb_suppress_entire_file.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/gdb669.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-pthreads.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi1-pthreads.exp | 6 |
3 files changed, 6 insertions, 12 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb669.exp b/gdb/testsuite/gdb.mi/gdb669.exp index 1a78d07..d03ce35 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 diff --git a/gdb/testsuite/gdb.mi/mi-pthreads.exp b/gdb/testsuite/gdb.mi/mi-pthreads.exp index f2839c2..532134a 100644 --- a/gdb/testsuite/gdb.mi/mi-pthreads.exp +++ b/gdb/testsuite/gdb.mi/mi-pthreads.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi1-pthreads.exp b/gdb/testsuite/gdb.mi/mi1-pthreads.exp index 480f057..f84f1fe 100644 --- a/gdb/testsuite/gdb.mi/mi1-pthreads.exp +++ b/gdb/testsuite/gdb.mi/mi1-pthreads.exp @@ -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 |