aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/wierd.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.stabs/wierd.exp')
-rw-r--r--gdb/testsuite/gdb.stabs/wierd.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.stabs/wierd.exp b/gdb/testsuite/gdb.stabs/wierd.exp
index 6ee0ae9..864bc5e 100644
--- a/gdb/testsuite/gdb.stabs/wierd.exp
+++ b/gdb/testsuite/gdb.stabs/wierd.exp
@@ -211,7 +211,9 @@ gdb_reinitialize_dir $srcdir/$subdir
set binfile $objdir/$subdir/wierd.o
if ![file exists $binfile] then {
- warning "$binfile does not exist; tests suppressed"
+ if $all_flag then {
+ warning "$binfile does not exist; tests suppressed"
+ }
} else {
# xcoffread.c wrongly bitches about the lack of a text section.
setup_xfail "rs*-*-aix*"