mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-09 22:16:10 +03:00
23 lines
474 B
Makefile
23 lines
474 B
Makefile
CATALA_OPTS?=""
|
|
|
|
CLERK_OPTS?=
|
|
|
|
CLERK=../_build/default/build_system/clerk.exe --exe "../_build/default/compiler/catala.exe" \
|
|
$(CLERK_OPTS) --catala-opts=$(CATALA_OPTS) test
|
|
|
|
################################
|
|
# Running legislation unit tests
|
|
################################
|
|
|
|
|
|
%.catala_en %.catala_fr %.catala_pl: .FORCE
|
|
@$(CLERK) $@
|
|
|
|
TEST_FILES?=$(wildcard */tests/*.catala*)
|
|
|
|
pass_tests: $(TEST_FILES)
|
|
reset_tests: CLERK_OPTS+=--reset
|
|
reset_tests: $(TEST_FILES)
|
|
|
|
.FORCE:
|