aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-06-22 19:50:57 +0000
committerDaniel Jacobowitz <drow@false.org>2006-06-22 19:50:57 +0000
commit30930ca5c58fdaa30dd1cc302d5cf0564294e3d3 (patch)
tree87a61c7b0d00a6bdfbe52f76a36ab55722ea9579 /gdb/testsuite/gdb.stabs
parentaa32fa1d64b034bc97ec3e144a5d3c171569aa5c (diff)
downloadgdb-30930ca5c58fdaa30dd1cc302d5cf0564294e3d3.zip
gdb-30930ca5c58fdaa30dd1cc302d5cf0564294e3d3.tar.gz
gdb-30930ca5c58fdaa30dd1cc302d5cf0564294e3d3.tar.bz2
* gdb.stabs/exclfwd.exp: Skip the test if configure did not
enable stabs testing.
Diffstat (limited to 'gdb/testsuite/gdb.stabs')
-rw-r--r--gdb/testsuite/gdb.stabs/exclfwd.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.stabs/exclfwd.exp b/gdb/testsuite/gdb.stabs/exclfwd.exp
index 05ab97c..9d50014 100644
--- a/gdb/testsuite/gdb.stabs/exclfwd.exp
+++ b/gdb/testsuite/gdb.stabs/exclfwd.exp
@@ -21,6 +21,12 @@ if $tracelevel {
strace $tracelevel
}
+# If the test directory was not created by configure then skip
+# this test.
+if ![file isdirectory ${objdir}/${subdir}] then {
+ return 0
+}
+
#
# test running programs
#