Skip to content

Temporarily disable Dynlink tests under Windows #453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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";
]
Loading