mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +03:00
fix(tests): update the .run rule in order to manage all catala file extensions
This commit is contained in:
parent
434f1863c9
commit
27bd227079
@ -24,9 +24,8 @@ reset_tests: $(subst output/,,$(subst .out,.in,$(wildcard */*/output/*.out)))
|
||||
# Forces all the tests to be redone
|
||||
.FORCE:
|
||||
|
||||
# FIXME: .catala should be replaced by the corresponding regexp.
|
||||
%.run: .FORCE
|
||||
$(CATALA) $(word 1,$(subst ., ,$*)).catala -s $(word 3,$(subst ., ,$*))
|
||||
$(CATALA) $(word 1,$(subst ., ,$*)).$(word 2, $(subst ., , $*)) -s $(word 3,$(subst ., ,$*))
|
||||
|
||||
# Usage: make <test_dir>/output/<test_name>.catala_<language>.<scope_name>.out
|
||||
# This rule runs the test and compares against the expected output. If the
|
||||
|
Loading…
Reference in New Issue
Block a user