Bug-Debian: https://bugs.debian.org/
1101353
Forwarded: https://github.com/ocaml/ocaml/pull/13906
Gbp-Pq: Name 0008-Mark-tests-that-actually-require-multicore.patch
"str library available"
"str library not available")
+let multicore = make
+ ~name:"multicore"
+ ~description:"Pass if running on multicore"
+ (Actions_helpers.pass_or_skip (Domain.recommended_domain_count () >= 2)
+ "running on multicore"
+ "not running on multicore")
+
let windows_OS = "Windows_NT"
let get_OS () = Sys.safe_getenv "OS"
hasunix;
hassysthreads;
hasstr;
+ multicore;
libunix;
libwin32unix;
windows;
(* TEST
modules = "opt.ml barrier.ml hist.ml shared.ml run.ml outcome.ml";
+ multicore;
not-bsd;
no-tsan; (* tsan detects the intentional data races and fails *)
{
(* TEST
modules = "opt.ml barrier.ml hist.ml shared.ml run.ml outcome.ml";
+ multicore;
no-tsan; (* tsan detects data races and fails *)
not-bsd;
{
(* TEST
include unix;
+ multicore;
hasunix;
{
bytecode;
(* TEST
+ multicore;
no-tsan; (* TSan detects the intentional data race *)
{
bytecode;