aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gasp/gasp.exp
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-02-22 11:37:41 +0000
committerNick Clifton <nickc@redhat.com>2002-02-22 11:37:41 +0000
commit4bef1a1ca1ce2c9da28bad7c959a49d1cca35c06 (patch)
tree27f8588609dd46fc4cf1e6d9ce70a7f848079ce0 /gas/testsuite/gasp/gasp.exp
parentf1e7a2c900c4453d958dc21b7fed27dca2c9ac5b (diff)
downloadgdb-4bef1a1ca1ce2c9da28bad7c959a49d1cca35c06.zip
gdb-4bef1a1ca1ce2c9da28bad7c959a49d1cca35c06.tar.gz
gdb-4bef1a1ca1ce2c9da28bad7c959a49d1cca35c06.tar.bz2
Do not complain if gasp does not exist.
Diffstat (limited to 'gas/testsuite/gasp/gasp.exp')
-rw-r--r--gas/testsuite/gasp/gasp.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/gasp/gasp.exp b/gas/testsuite/gasp/gasp.exp
index 2a72a6d..c1f6dc9 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