From 24cb178fd82936f55d254ebd0cd79802da21134a Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 28 Jul 2005 18:07:02 +0000 Subject: 2005-07-28 Frank Ch. Eigler translator/1120 * main.cxx (main): Preset -R and -I options from environment variables (if set). Pass guru mode flags to parser. * parse.cxx (privileged): New parser operation flag. Update callers. (parse_embeddedcode): Throw an error if !privileged. (parse_functiondecl): Change signature. Prevent duplicates. (parse_globals): Ditto. * parse.h: Corresponding changes. * tapset/*.stp: Beginnings of real tapset library, to replace previous builtins. * tapsets.cxx: Greatly reduce verbose mode output. * Makefile.am: Install & dist it. * runtest.sh: Refer to it. * Makefile.in, aclocal.m4: Regenerated. * testsuite/*/*.stp: Set guru mode via /bin/sh if needed. * testusite/*/*ko.stp: Homogenize shell scripts. --- testsuite/semok/transko.stp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuite/semok') diff --git a/testsuite/semok/transko.stp b/testsuite/semok/transko.stp index 9c78c6ef..18bfc8aa 100755 --- a/testsuite/semok/transko.stp +++ b/testsuite/semok/transko.stp @@ -1,10 +1,14 @@ #! /bin/sh # make sure that we can *semcheck* all transko test files, to ensure -# that it is translation-time checks that fail, not earlier ones errors +# that it is translation-time checks that fail, not earlier ones set -e for file in ${SRCDIR}/testsuite/transko/*.stp do - ./stap -p2 $file + if grep -q /bin/sh $file; then + true # can't override stap options + else + ./stap -p2 $file + fi done -- cgit