summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-06-22 19:50:57 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-06-22 19:50:57 +0000
commit184bc5ee9b53c6a70cbecaf581927720517cc9e0 (patch)
tree0fe747a2ba84d0a520c9c8285663e17f1faa04d7 /gdb/testsuite/gdb.stabs
parent324aafe219771f6d91ffa70366e8376213e1b3e6 (diff)
downloadgdb-184bc5ee9b53c6a70cbecaf581927720517cc9e0.tar.gz
* 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 05ab97c0fb0..9d500146393 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
#