Debian Codegraph @

testsuite/transok/buildko.stp

raw
1 #! /bin/sh
2
3 # make sure that we can *translate* all buildko test files, to ensure
4 # that it is build-time checks that fail, not earlier ones
5
6 set -e
7 for file in ${SRCDIR}/testsuite/buildko/*.stp
8 do
9 if grep -q /bin/sh $file; then
10 true # can't override stap options
11 elif head -n 1 $file | grep -q g ; then
12 stap $@ -gp3 $file
13 else
14 stap $@ -p3 $file
15 fi
16 done