mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-19 00:15:39 +03:00
Formatting
This commit is contained in:
parent
e308ff8d02
commit
f7672857a7
@ -459,9 +459,7 @@ let base_bindings catala_exe catala_flags build_dir include_dirs =
|
||||
];
|
||||
Nj.binding Var.catala_flags (catala_flags @ includes);
|
||||
Nj.binding Var.clerk_flags
|
||||
("-e"
|
||||
:: Var.(!catala_exe)
|
||||
:: includes
|
||||
(("-e" :: Var.(!catala_exe) :: includes)
|
||||
@ List.map (fun f -> "--catala-opts=" ^ f) catala_flags);
|
||||
Nj.binding Var.ocamlopt_exe ["ocamlopt"];
|
||||
Nj.binding Var.ocamlopt_flags (ocamlopt_flags @ includes);
|
||||
|
@ -94,8 +94,7 @@ let run_inline_tests catala_exe catala_opts filename =
|
||||
skip_block lines
|
||||
| Some args ->
|
||||
let args = String.split_on_char ' ' args in
|
||||
run_catala_test catala_exe catala_opts filename
|
||||
lines_until_now args oc;
|
||||
run_catala_test catala_exe catala_opts filename lines_until_now args oc;
|
||||
skip_block lines)
|
||||
and skip_block lines =
|
||||
match Seq.uncons lines with
|
||||
|
@ -23,6 +23,6 @@
|
||||
open Catala_utils
|
||||
|
||||
val run_inline_tests : string -> string list -> File.t -> unit
|
||||
(** [run_inline_tests catala_exe catala_opts file] runs the tests in
|
||||
Catala [file] using the given path to the Catala executable and the provided
|
||||
(** [run_inline_tests catala_exe catala_opts file] runs the tests in Catala
|
||||
[file] using the given path to the Catala executable and the provided
|
||||
options. Output is printed to [stdout]. *)
|
||||
|
Loading…
Reference in New Issue
Block a user