Skip to content

Commit

Permalink
Update tezt version
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGen committed Dec 4, 2023
1 parent 45270ea commit 638edcc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dedukti.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.08"}
"cmdliner" {>= "1.1.0"}
"tezt" {with-test & >= "2.0"}
"tezt" {with-test & >= "4.0"}
"menhir" {>= "20180528"}
"odoc" {with-doc}
]
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
(depends
(ocaml (>= 4.08))
(cmdliner (>= 1.1.0))
(tezt (and :with-test (>= 2.0)))
(tezt (and :with-test (>= 4.0)))
(menhir (>= 20180528)))
(synopsis "An implementation of The Lambda-Pi Modulo Theory")
(description "An implementation of The Lambda-Pi Modulo Theory"))
Expand All @@ -27,4 +27,4 @@
(ocaml (>= 4.08))
(dedukti (>= 2.7))
(z3 (>= 4.8.11))
(tezt (and :with-test (>= 2.0)))))
(tezt (and :with-test (>= 4.0)))))
10 changes: 5 additions & 5 deletions tests/dedukti.ml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ let run ?(preprocess = return) ?(postprocess = fun _ -> return ()) ~regression
let output_options =
(* --no-color: Do not print color characters for regression output. *)
if regression <> None then ["--no-color"; "-q"]
else if Cli.options.log_level = Cli.Report then ["-q"]
else if Cli.options.log_level = Cli.Debug then ["-d"; "montru"]
else if Cli.options.log_level = Cli.Info then ["-d"; "n"]
else if Cli.Logs.level = Cli.Logs.Report then ["-q"]
else if Cli.Logs.level = Cli.Logs.Debug then ["-d"; "montru"]
else if Cli.Logs.level = Cli.Logs.Info then ["-d"; "n"]
else []
in
let arguments = output_options @ arguments in
Expand All @@ -68,7 +68,7 @@ let run ?(preprocess = return) ?(postprocess = fun _ -> return ()) ~regression
output_acc := line :: !output_acc;
hooks.on_log line);
}
else if Cli.options.log_level = Cli.Info then
else if Cli.Logs.level = Cli.Logs.Info then
(* In [Info] mode, we have to tell to Tezt which lines need to
be reported. By default, in [Debug] mode, Tezt will report
all the logged lines. Nothing should be printed in [Report]
Expand Down Expand Up @@ -244,7 +244,7 @@ module Meta = struct
Check.check ~dep file
in
(* Add verbose logs from [dkmeta] if we are in debug mode. *)
let log_dkmeta = if Cli.options.log_level = Cli.Debug then ["-v"] else [] in
let log_dkmeta = if Cli.Logs.level = Cli.Logs.Debug then ["-v"] else [] in
run ~regression ~error:None ~title ~tags ~filename Dkmeta
(import_arguments @ log_dkmeta @ arguments)
~preprocess ~postprocess
Expand Down
2 changes: 1 addition & 1 deletion universo.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ depends: [
"ocaml" {>= "4.08"}
"dedukti" {>= "2.7"}
"z3" {>= "4.8.11"}
"tezt" {with-test & >= "2.0"}
"tezt" {with-test & >= "4.0"}
"odoc" {with-doc}
]
build: [
Expand Down

0 comments on commit 638edcc

Please sign in to comment.