This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Eliminate another gdb_suppress_entire_file


There's a few versions of GCC 4.1 which can't compile gdb.base/store.c. It
was eventually fixed on the release branch, but I happen to be testing a
version where it's broken.  I've been making this change globally as the
function in question pops up to bite me.

Tested, committed.

-- 
Daniel Jacobowitz
CodeSourcery

2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>

	* gdb.base/store.exp: Don't use gdb_suppress_entire_file.

Index: gdb-20060226/gdb/testsuite/gdb.base/store.exp
===================================================================
--- gdb-20060226.orig/gdb/testsuite/gdb.base/store.exp	2004-08-04 07:59:56.000000000 -0700
+++ gdb-20060226/gdb/testsuite/gdb.base/store.exp	2006-06-13 20:57:13.000000000 -0700
@@ -30,7 +30,8 @@ set testfile "store"
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-    gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+    untested store.exp
+    return -1
 }
 
 if [get_compiler_info ${binfile}] {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]