summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/semko.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok/semko.stp')
-rwxr-xr-xtestsuite/parseok/semko.stp11
1 files changed, 10 insertions, 1 deletions
diff --git a/testsuite/parseok/semko.stp b/testsuite/parseok/semko.stp
index 11f2a2da..92339597 100755
--- a/testsuite/parseok/semko.stp
+++ b/testsuite/parseok/semko.stp
@@ -3,4 +3,13 @@
# make sure that we can *parse* all semko test files, to ensure
# that it is semantic (elaboration) checks that fail, not parse errors
-./stap -p1 -I${SRCDIR}/testsuite/semko -e 'global nothing'
+
+set -e
+for file in ${SRCDIR}/testsuite/semko/*.stp
+do
+ if grep -q /bin/sh $file; then
+ true # can't override stap options
+ else
+ ./stap -p1 $file
+ fi
+done