ocamltest: add variables to pass flags to ocamllex and ocamlyacc
parent
9bd3ab2323
commit
966f7edb63
|
@ -92,12 +92,18 @@ let module_ = make ("module",
|
|||
let modules = make ("modules",
|
||||
"Other modules of the test")
|
||||
|
||||
let ocamllex_flags = make ("ocamllex_flags",
|
||||
"Flags passed to ocamllex")
|
||||
|
||||
let ocamlopt_flags = make ("ocamlopt_flags",
|
||||
"Flags passed to ocamlopt.byte and ocamlopt.opt")
|
||||
|
||||
let ocamlopt_default_flags = make ("ocamlopt_default_flags",
|
||||
"Flags passed by default to ocamlopt.byte and ocamlopt.opt")
|
||||
|
||||
let ocamlyacc_flags = make ("ocamlyacc_flags",
|
||||
"Flags passed to ocamlyacc")
|
||||
|
||||
let ocaml_exit_status = make ("ocaml_exit_status",
|
||||
"Expected exit status of ocaml")
|
||||
|
||||
|
@ -159,4 +165,6 @@ let _ = List.iter register_variable
|
|||
ocamlopt_opt_exit_status;
|
||||
ocamlrunparam;
|
||||
os_type;
|
||||
ocamllex_flags;
|
||||
ocamlyacc_flags;
|
||||
]
|
||||
|
|
|
@ -50,9 +50,13 @@ val modules : Variables.t
|
|||
val ocamlc_flags : Variables.t
|
||||
val ocamlc_default_flags : Variables.t
|
||||
|
||||
val ocamllex_flags : Variables.t
|
||||
|
||||
val ocamlopt_flags : Variables.t
|
||||
val ocamlopt_default_flags : Variables.t
|
||||
|
||||
val ocamlyacc_flags : Variables.t
|
||||
|
||||
val ocaml_exit_status : Variables.t
|
||||
|
||||
val ocamlc_byte_exit_status : Variables.t
|
||||
|
|
Loading…
Reference in New Issue