OSDN Git Service

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

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

index 2de9227..686aee8 100644 (file)
@@ -1,5 +1,10 @@
 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
        gdb_test_multiple does.
 
index 05ab97c..9d50014 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
 #