Bad quoting for catala compiler options

This commit is contained in:
Denis Merigoux 2022-01-11 13:05:04 +01:00
parent b2a5551961
commit fa8803e297
No known key found for this signature in database
GPG Key ID: EE99DCFA365C3EE3
3 changed files with 6 additions and 9 deletions

View File

@ -236,15 +236,14 @@ run_french_law_library_benchmark_python: type_french_law_library_python
# High-level test and benchmarks commands
##########################################
CATALA_OPTS?=""
CATALA_OPTS?=
CLERK_OPTS?=
CATALA_BIN=_build/default/compiler/catala.exe
CLERK_BIN=_build/default/build_system/clerk.exe
CLERK=$(CLERK_BIN) --exe $(CATALA_BIN) \
$(CLERK_OPTS) --catala-opts=$(CATALA_OPTS)
$(CLERK_OPTS) $(if $(CATALA_OPTS),--catala-opts=$(CATALA_OPTS),)
.FORCE:

View File

@ -1,9 +1,8 @@
CATALA_OPTS?=""
CATALA_OPTS?=
CLERK_OPTS?=
CLERK=../_build/default/build_system/clerk.exe --exe "../_build/default/compiler/catala.exe" \
$(CLERK_OPTS) --catala-opts=$(CATALA_OPTS) test
$(CLERK_OPTS) $(if $(CATALA_OPTS),--catala-opts=$(CATALA_OPTS),) test
################################
# Running legislation unit tests

View File

@ -2,12 +2,11 @@
# Preamble
############################################
CATALA_OPTS?=""
CATALA_OPTS?=
CLERK_OPTS?=
CLERK=../_build/default/build_system/clerk.exe --exe "../_build/default/compiler/catala.exe" \
$(CLERK_OPTS) --catala-opts=$(CATALA_OPTS) test
$(CLERK_OPTS) $(if $(CATALA_OPTS),--catala-opts=$(CATALA_OPTS),) test
# Forces all the tests to be redone
.FORCE: