aboutsummaryrefslogtreecommitdiff
path: root/tests/scripts/gen-xpass
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2026-05-01 20:35:00 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2026-05-01 22:16:26 +0300
commit8946c27306abed7065afad3f015df5ee81e72ad2 (patch)
treec53c9a2c0437109e9c1e3f873bf8a54220ee5ded /tests/scripts/gen-xpass
parent7790e27b3423901e2080bfd3c600a65a48d42886 (diff)
downloadfwd-8946c27306abed7065afad3f015df5ee81e72ad2.tar.gz
fwd-8946c27306abed7065afad3f015df5ee81e72ad2.zip
add support for coverage
Diffstat (limited to 'tests/scripts/gen-xpass')
-rwxr-xr-xtests/scripts/gen-xpass5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/scripts/gen-xpass b/tests/scripts/gen-xpass
index 762650e..8ec383f 100755
--- a/tests/scripts/gen-xpass
+++ b/tests/scripts/gen-xpass
@@ -6,10 +6,7 @@ for s in "${@}"
do
echo ".PHONY: $s" >> tests.mk
echo "$s:" >> tests.mk
- echo " ../fwd $s/$s.fwd > reports/$s/gen.c 2> reports/$s/log" >> tests.mk
- echo " \$(COMPILE_TEST) reports/$s/gen.c -o reports/$s/$s \\" >> tests.mk
- echo " \$(TEST_LIBS)" >> tests.mk
- echo " ./reports/$s/$s > reports/$s/OK 2>&1" >> tests.mk
+ echo " ./scripts/run-xpass $s" >> tests.mk
done
echo "TESTS += " "${@}" >> tests.mk