2020-08-07 18:37:28 +03:00
|
|
|
############################################
|
|
|
|
# Preamble
|
|
|
|
############################################
|
|
|
|
|
2022-01-11 15:05:04 +03:00
|
|
|
CATALA_OPTS?=
|
2022-04-14 12:47:18 +03:00
|
|
|
CLERK_OPTS?=--makeflags="$(MAKEFLAGS)"
|
2022-01-10 20:35:41 +03:00
|
|
|
|
2024-01-17 14:51:09 +03:00
|
|
|
CLERK=dune exec -- ../build_system/clerk.exe test \
|
2023-09-19 17:26:05 +03:00
|
|
|
$(CLERK_OPTS) $(if $(CATALA_OPTS),--catala-opts=$(CATALA_OPTS),)
|
2020-08-07 18:37:28 +03:00
|
|
|
|
|
|
|
# Forces all the tests to be redone
|
|
|
|
.FORCE:
|
|
|
|
|
2022-01-10 19:57:11 +03:00
|
|
|
%.catala_en %.catala_fr %.catala_pl: .FORCE
|
2024-01-17 14:51:09 +03:00
|
|
|
$(CLERK) $@
|
2022-08-30 14:48:20 +03:00
|
|
|
|
|
|
|
pass_all_tests:
|
2024-01-17 14:51:09 +03:00
|
|
|
$(CLERK) .
|
2022-08-30 14:48:20 +03:00
|
|
|
|
|
|
|
reset_all_tests: CLERK_OPTS+=--reset
|
|
|
|
reset_all_tests:
|
2024-01-17 14:51:09 +03:00
|
|
|
$(CLERK) .
|