From 4fb5a1353500142d7ddb74341deb56485dc06484 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 2 Apr 2024 12:12:20 -0400 Subject: [PATCH] test: do not run lwt tests on mac OS for now --- test/lwt/dune | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/test/lwt/dune b/test/lwt/dune index 6ffa3ef2..8bdee879 100644 --- a/test/lwt/dune +++ b/test/lwt/dune @@ -10,7 +10,9 @@ ./run_hash.sh (glob_files_rec ../data/**)) (enabled_if - (>= %{ocaml_version} 5.0)) + (and + (= %{system} "linux") + (>= %{ocaml_version} 5.0))) (action (with-stdout-to %{targets} @@ -19,7 +21,9 @@ (rule (alias runtest) (enabled_if - (>= %{ocaml_version} 5.0)) + (and + (= %{system} "linux") + (>= %{ocaml_version} 5.0))) (package moonpool-lwt) (action (diff ./output_hash.expected ./output_hash.txt))) @@ -28,7 +32,9 @@ (targets output_echo.txt) (deps ./echo_server.exe ./echo_client.exe ./run_echo.sh) (enabled_if - (>= %{ocaml_version} 5.0)) + (and + (= %{system} "linux") + (>= %{ocaml_version} 5.0))) (action (with-stdout-to %{targets} @@ -37,7 +43,9 @@ (rule (alias runtest) (enabled_if - (>= %{ocaml_version} 5.0)) + (and + (= %{system} "linux") + (>= %{ocaml_version} 5.0))) (package moonpool-lwt) (action (diff ./output_echo.expected ./output_echo.txt)))