From: Mark Kettenis Date: Sat, 1 Feb 2003 20:47:16 +0000 (+0000) Subject: * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2bd4c7b17989b78b2f30121b8339c53b3fb93184;p=binutils-gdb.git * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp, gdb.mi/mi1-pthreads.exp: Return instead of calling gdb_suppress_entire_file. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2fb2c14cf36..2dd5bda650a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-02-01 Mark Kettenis + + * 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 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp. 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 diff --git a/gdb/testsuite/gdb.mi/mi-pthreads.exp b/gdb/testsuite/gdb.mi/mi-pthreads.exp index f2839c2e0c4..532134acc04 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 480f057b1e0..f84f1fe1460 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