aboutsummaryrefslogtreecommitdiff
path: root/tests/scripts/gen-xfail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/gen-xfail')
-rwxr-xr-xtests/scripts/gen-xfail8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/scripts/gen-xfail b/tests/scripts/gen-xfail
index c4cf382..a04f8d9 100755
--- a/tests/scripts/gen-xfail
+++ b/tests/scripts/gen-xfail
@@ -9,13 +9,7 @@ do
EMSG=${s#${NAME},}
echo ".PHONY: $NAME" >> tests.mk
echo "$NAME:" >> tests.mk
- echo " ../fwd $NAME/$NAME.fwd \\" >> tests.mk
- echo " > reports/$NAME/gen.c 2> reports/$NAME/log \\" >> tests.mk
- echo " && echo 'Wrong retval' > reports/$NAME/OK \\" >> tests.mk
- echo " || :" >> tests.mk
- echo " grep '$EMSG' reports/$NAME/log > /dev/null \\" >> tests.mk
- echo " && echo OK > reports/$NAME/OK \\" >> tests.mk
- echo " || echo EMSG > reports/$NAME/OK" >> tests.mk
+ echo " ./scripts/run-xfail $NAME '$EMSG'" >> tests.mk
done
echo -n "TESTS +=" >> tests.mk