Skip to content

Commit

Permalink
Merge pull request #453 from ocaml-multicore/dynlink-windows
Browse files Browse the repository at this point in the history
Temporarily disable Dynlink tests under Windows
  • Loading branch information
jmid authored Apr 18, 2024
2 parents fecdeab + 816755b commit 70a0671
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/dynlink/lin_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ end
module DynT = Lin_domain.Make(DynConf)

let _ =
let ts = [DynT.stress_test ~count:1000 ~name:"Lin Dynlink stress test with Domain"] in
let ts =
if Sys.win32 then
(Printf.printf "negative Lin Dynlink test with Domain disabled under Windows\n\n%!"; ts)
else
(DynT.neg_lin_test ~count:100 ~name:"negative Lin Dynlink test with Domain")::ts in
QCheck_base_runner.run_tests_main ts
if Sys.win32
then
Printf.printf "Lin Dynlink tests disabled under Windows\n\n%!"
else
QCheck_base_runner.run_tests_main [
DynT.neg_lin_test ~count:100 ~name:"negative Lin Dynlink test with Domain";
DynT.stress_test ~count:1000 ~name:"Lin Dynlink stress test with Domain";
]

0 comments on commit 70a0671

Please sign in to comment.