support TAP 13 for /usr/bin/prove's benefit

13 doesn't support test trees so we gotta flatten it >:(
This commit is contained in:
rhiannon morris 2022-05-02 00:19:09 +02:00
parent cf119694c1
commit e3384d4e6e
4 changed files with 100 additions and 12 deletions

View file

@ -8,10 +8,18 @@ depends/quox: lib
mkdir -p depends
ln -sf ../../build/ttc depends/quox
.PHONY: test
test: depends/quox
.PHONY: build-tests
build-tests: depends/quox
idris2 --build tests.ipkg
build/exec/quox-tests
.PHONY: test
test: build-tests
build/exec/quox-tests -V 14
.PHONY: prove
prove: build-tests
prove build/exec/quox-tests
.PHONY: clean
clean: