From 8946c27306abed7065afad3f015df5ee81e72ad2 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 1 May 2026 20:35:00 +0300 Subject: add support for coverage --- tests/scripts/gen-xfail | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tests/scripts/gen-xfail') 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 -- cgit v1.2.3