From: Nick Clifton Date: Fri, 22 Feb 2002 11:37:41 +0000 (+0000) Subject: Do not complain if gasp does not exist. X-Git-Tag: gdb_5_2-2002-03-03-branchpoint~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bef1a1ca1ce2c9da28bad7c959a49d1cca35c06;p=thirdparty%2Fbinutils-gdb.git Do not complain if gasp does not exist. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index bdb6dbffc35..f898ea6cefa 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-02-22 Nick Clifton + + * gasp/gasp.exp: If gasp does not exist, do not complain, just + exit silently. + 2002-02-20 Tom Rix * gas/ppc/ppc.exp: Add xcoff booke tests. diff --git a/gas/testsuite/gasp/gasp.exp b/gas/testsuite/gasp/gasp.exp index 2a72a6d3591..c1f6dc93e26 100644 --- a/gas/testsuite/gasp/gasp.exp +++ b/gas/testsuite/gasp/gasp.exp @@ -1,5 +1,12 @@ # Test gasp. +# GASP is now deprecared (and not built by default) +# so if it does not exit, do not test it. +global GASP +if {![info exists GASP] || ! [file exists $GASP] } then { + return 1 +} + proc gasp_test { filename testname opt } { global GASP global srcdir