diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-07-29 23:13:38 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-07-29 23:23:54 +0300 |
| commit | 593c49c00fb3e8c73ce369bda4db3cdda8fdc706 (patch) | |
| tree | ca3b612109e990b839bd5ce90444ed9a253e8e79 /tests/scripts/gen-simple | |
| parent | bef57b702ce808a3419f6b52beb10f7dce6906a3 (diff) | |
| download | lark-593c49c00fb3e8c73ce369bda4db3cdda8fdc706.tar.gz lark-593c49c00fb3e8c73ce369bda4db3cdda8fdc706.zip | |
add simple test framework
Diffstat (limited to 'tests/scripts/gen-simple')
| -rwxr-xr-x | tests/scripts/gen-simple | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/scripts/gen-simple b/tests/scripts/gen-simple new file mode 100755 index 0000000..3ce75f3 --- /dev/null +++ b/tests/scripts/gen-simple @@ -0,0 +1,12 @@ +#!/bin/sh + +mkdir -p $(for d in "${@}"; do echo "$d"; done | uniq | sed "s|^|reports/|") + +for s in "${@}" +do + echo ".PHONY: $s" >> tests.mk + echo "$s:" >> tests.mk + echo " ./scripts/run-xpass $s" >> tests.mk +done + +echo "TESTS += " "${@}" >> tests.mk |
