From 2ba2f4d4f7f7827d60959858f8894af960cc1980 Mon Sep 17 00:00:00 2001 From: Kate Date: Wed, 16 Feb 2022 19:49:52 +0000 Subject: [PATCH 1/2] Fix the tests for macOS/arm64 (which has a 16k page size) --- test/unix/test_lwt_bytes.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unix/test_lwt_bytes.ml b/test/unix/test_lwt_bytes.ml index 5b68b7774..0bc62d866 100644 --- a/test/unix/test_lwt_bytes.ml +++ b/test/unix/test_lwt_bytes.ml @@ -774,7 +774,7 @@ let suite = suite "lwt_bytes" [ end; test "page_size" begin fun () -> - let sizes = [4096; 65536] in + let sizes = [4096; 16384; 65536] in Lwt.return (List.mem Lwt_bytes.page_size sizes) end; From bd0a9600616256a8818503fc407b01710b2c06b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= Date: Thu, 2 Jun 2022 13:32:00 +0200 Subject: [PATCH 2/2] Mention macOS/arm64 test fix in CHANGES --- CHANGES | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES b/CHANGES index 8401275cc..2a5c9d169 100644 --- a/CHANGES +++ b/CHANGES @@ -21,6 +21,7 @@ * Lwt.pick and Lwt.choose select preferentially failed promises as per documentation (#856, #874, Raman Varabets) * Use the WSA_FLAG_NO_HANDLE_INHERIT on Windows when creating sockets with WSASocket if the cloexec (non-inheritable) parameter is true. Fixes a Windows problem where a child process would inherit a supposedly non-inheritable socket. (#910, Antonin Décimo) + * Fix macOS/arm64 tests which have a 16k page. (#932, Kate Deplaix) ====== Deprecations ======