* gdb.stabs/exclfwd.exp: Skip the test if configure did not
authorDaniel Jacobowitz <drow@false.org>
Thu, 22 Jun 2006 19:50:57 +0000 (19:50 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 22 Jun 2006 19:50:57 +0000 (19:50 +0000)
enable stabs testing.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.stabs/exclfwd.exp

index 2de922707f82b397882315331b672e72468cffe5..686aee866061339997956d8497f277b46caa1996 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.stabs/exclfwd.exp: Skip the test if configure did not
+       enable stabs testing.
+
 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * auxv.exp: Intercept undefined command messages before
index 05ab97c0fb0f30ca01473919e126ce281e66f665..9d500146393f43031200047aa8cd866b9ed09c0c 100644 (file)
@@ -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
 #