aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-02-05 07:25:00 +0000
committerMichael Chastain <mec@google.com>2003-02-05 07:25:00 +0000
commit29518e1ebfbf5d41643af3ee91fe30c409493336 (patch)
tree012373e59e1c7c7ab6c4127f3906ba619e7e20e9
parent5ae7ca1d5be643fac832eeb6e3fb3c0f6a18f4c4 (diff)
downloadgdb-29518e1ebfbf5d41643af3ee91fe30c409493336.zip
gdb-29518e1ebfbf5d41643af3ee91fe30c409493336.tar.gz
gdb-29518e1ebfbf5d41643af3ee91fe30c409493336.tar.bz2
2003-02-04 Michael Chastain <mec@shout.net>
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file. Call perror and then continue.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.c++/anon-union.exp5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 3ab64da..91fe9ad 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-04 Michael Chastain <mec@shout.net>
+
+ * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
+ Call perror and then continue.
+
2003-02-03 Michael Chastain <mec@shout.net>
* gdb.c++/pr-1023.cc: New file.
diff --git a/gdb/testsuite/gdb.c++/anon-union.exp b/gdb/testsuite/gdb.c++/anon-union.exp
index 9b86b5d..0d5c777 100644
--- a/gdb/testsuite/gdb.c++/anon-union.exp
+++ b/gdb/testsuite/gdb.c++/anon-union.exp
@@ -1,5 +1,5 @@
# Tests for anonymous union support.
-# Copyright 1998, 1999 Free Software Foundation, Inc.
+# Copyright 1998, 1999, 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
@@ -40,7 +40,8 @@ set srcfile ${testfile}.cc
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++}] != "" } {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ perror "Testcase compile failed" 0
+ continue
}
# Start with a fresh gdb