From 523bdc3ff2ad9a9f4c1435a7c780a5658b4d24bd Mon Sep 17 00:00:00 2001 From: Bodigrim Date: Tue, 26 Nov 2024 07:26:18 +0000 Subject: [PATCH] Test suite: avoid forkOS on WASM --- test/suite/Data/HashTable/Test/Common.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/suite/Data/HashTable/Test/Common.hs b/test/suite/Data/HashTable/Test/Common.hs index cf1d892..34427f4 100644 --- a/test/suite/Data/HashTable/Test/Common.hs +++ b/test/suite/Data/HashTable/Test/Common.hs @@ -347,7 +347,7 @@ data Action = Lookup Int timeout_ :: Int -> IO a -> IO () -#ifdef PORTABLE +#if defined(PORTABLE) || defined(wasm32_HOST_ARCH) timeout_ t m = timeout t m >>= maybe (assertFailure "timeout") (const $ return ()) #else