mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-09 22:16:10 +03:00
Restore automatic rebuild of all tests by ninja
Also cleaned unused rule arg
This commit is contained in:
parent
d2a182043b
commit
c5cb6f5c4d
@ -226,7 +226,6 @@ let add_reset_rules_aux
|
||||
[
|
||||
Var "catala_cmd";
|
||||
Var "tested_file";
|
||||
Var "extra_flags";
|
||||
Lit "--unstyled";
|
||||
Lit "--output=-";
|
||||
Lit redirect;
|
||||
@ -265,7 +264,6 @@ let add_test_rules_aux
|
||||
:: [
|
||||
Var "catala_cmd";
|
||||
Var "tested_file";
|
||||
Var "extra_flags";
|
||||
Lit "--unstyled";
|
||||
Lit "--output=/dev/stdout";
|
||||
Lit "2>&1 | colordiff -u -b";
|
||||
@ -363,8 +361,10 @@ let collect_all_ninja_build
|
||||
ninja.builds;
|
||||
}
|
||||
in
|
||||
( ninja_add_new_build expected_output_file rule_to_call vars ninja,
|
||||
test_names ^ " $\n " ^ expected_output_file ))
|
||||
( ninja_add_new_build
|
||||
(expected_output_file ^ ".out")
|
||||
rule_to_call vars ninja,
|
||||
test_names ^ " $\n " ^ expected_output_file ^ ".out" ))
|
||||
(ninja, "") expected_outputs
|
||||
in
|
||||
let test_name =
|
||||
|
Loading…
Reference in New Issue
Block a user