#! /bin/sh

# make sure that we can *parse* all semko test files, to ensure
# that it is semantic (elaboration) checks that fail, not parse errors


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
