From: Daniel Jacobowitz Date: Thu, 22 Jun 2006 19:50:57 +0000 (+0000) Subject: * gdb.stabs/exclfwd.exp: Skip the test if configure did not X-Git-Tag: newlib-csl-sourcerygxx-3_4_4-25~230 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30930ca5c58fdaa30dd1cc302d5cf0564294e3d3;p=thirdparty%2Fbinutils-gdb.git * gdb.stabs/exclfwd.exp: Skip the test if configure did not enable stabs testing. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2de922707f8..686aee86606 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-06-22 Daniel Jacobowitz + + * gdb.stabs/exclfwd.exp: Skip the test if configure did not + enable stabs testing. + 2006-06-22 Daniel Jacobowitz * auxv.exp: Intercept undefined command messages before 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 #