Skip to content

Commit

Permalink
disable tests for compilers <4.04
Browse files Browse the repository at this point in the history
Signed-off-by: lubegasimon <lubegasimon73@gmail.com>
  • Loading branch information
lubegasimon committed Feb 19, 2021
1 parent 18e5de8 commit 5a24adb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/html/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ let source_files_all =
("functor.mli", [ "Functor/index.html" ]);
("class.mli", [ "Class/index.html" ]);
("stop.mli", [ "Stop/index.html" ]);
("stop_dead_link_doc.mli", [ "Stop_dead_link_doc/index.html" ]);
("bugs.ml", [ "Bugs/index.html" ]);
("alias.ml", [ "Alias/index.html"; "Alias/X/index.html" ]);
]
Expand All @@ -290,6 +289,9 @@ let source_files_post408 =

let source_files_pre410 = [ ("bugs_pre_410.ml", [ "Bugs_pre_410/index.html" ]) ]

let source_files_stop_dead_link_doc =
[("stop_dead_link_doc.mli", [ "Stop_dead_link_doc/index.html" ])]

let source_files =
let cur =
Astring.String.cuts ~sep:"." Sys.ocaml_version
Expand All @@ -302,6 +304,7 @@ let source_files =
(if major = 4 && minor < 10 then source_files_pre410 else []);
(if major = 4 && minor > 8 then source_files_post408 else []);
(if major = 4 && minor >= 6 then source_files_post406 else []);
(if major = 4 && minor >= 4 then source_files_stop_dead_link_doc else []);
source_files_all;
]
| _ -> source_files_all
Expand Down

0 comments on commit 5a24adb

Please # to comment.