aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gasp
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gasp')
-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