Restore automatic rebuild of all tests by ninja

Also cleaned unused rule arg
This commit is contained in:
Denis Merigoux 2022-07-11 16:56:06 +02:00
parent d2a182043b
commit c5cb6f5c4d
No known key found for this signature in database
GPG Key ID: EE99DCFA365C3EE3

View File

@ -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 =