2020-05-19 20:25:18 +03:00
|
|
|
INTERACTIVE ?= --interactive
|
2021-05-25 18:21:05 +03:00
|
|
|
threads ?= $(shell (nproc || sysctl -n hw.ncpu) 2>/dev/null || echo 1)
|
2020-05-19 20:25:18 +03:00
|
|
|
|
2020-05-21 18:48:26 +03:00
|
|
|
.PHONY: testbin test
|
|
|
|
|
|
|
|
test:
|
2021-06-21 19:30:11 +03:00
|
|
|
./build/exec/runtests $(IDRIS2) $(INTERACTIVE) --timing --failure-file failures --threads $(threads) --only $(only)
|
2021-05-11 11:46:21 +03:00
|
|
|
|
|
|
|
retest:
|
2021-06-21 19:30:11 +03:00
|
|
|
./build/exec/runtests $(IDRIS2) $(INTERACTIVE) --timing --failure-file failures --threads $(threads) --only-file failures --only $(only)
|
2020-05-21 18:48:26 +03:00
|
|
|
|
2020-05-23 13:37:04 +03:00
|
|
|
testbin:
|
2021-04-05 13:27:56 +03:00
|
|
|
${IDRIS2} --build tests.ipkg
|
2020-05-19 20:25:18 +03:00
|
|
|
|
|
|
|
clean:
|
2021-05-11 11:46:21 +03:00
|
|
|
$(RM) failures
|
2020-05-20 12:31:30 +03:00
|
|
|
$(RM) -r build
|
2021-04-06 17:42:04 +03:00
|
|
|
$(RM) -r **/**/build
|
2020-05-20 12:31:30 +03:00
|
|
|
@find . -type f -name 'output' -exec rm -rf {} \;
|
|
|
|
@find . -type f -name '*.ttc' -exec rm -f {} \;
|
|
|
|
@find . -type f -name '*.ttm' -exec rm -f {} \;
|
|
|
|
@find . -type f -name '*.ibc' -exec rm -f {} \;
|