Skip to content

Commit 77e38f9

Browse files
committed
4.02 compat: Update lower bounds on tests
- Generator tests on >= 4.04 - Search tests on >= 4.04 - functor_ml.ml on >= 4.14 - Remove cmdliner output in html_search.t
1 parent af56666 commit 77e38f9

File tree

4 files changed

+1554
-524
lines changed

4 files changed

+1554
-524
lines changed

test/generators/gen_rules/gen_rules.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ let constraints =
5555
("bugs_pre_410.ml", Max "4.09");
5656
("module_type_subst.mli", Min "4.13");
5757
("class_comments.mli", Min "4.08");
58+
("functor_ml.ml", Min "4.14");
5859
]
5960

6061
let test_cases_dir = Fpath.v "cases"
@@ -73,7 +74,8 @@ let make_test_case case_name =
7374
let odoc = Fpath.set_ext ".odoc" base_out_path in
7475
let odocl = Fpath.set_ext ".odocl" base_out_path in
7576
let enabledif =
76-
try Some (List.assoc case_name constraints) with Not_found -> None
77+
try Some (List.assoc case_name constraints)
78+
with Not_found -> Some (Min "4.04")
7779
in
7880
{ Gen_rules_lib.input; cmt; odoc; odocl; enabledif }
7981
in

0 commit comments

Comments
 (0)