From fbe7fb370a51e07348d0576c8e3e3974f7f8a462 Mon Sep 17 00:00:00 2001 From: Joris Dral Date: Mon, 26 Jan 2026 17:30:12 +0100 Subject: [PATCH] Disable `rdrand` RNG tests on architectures other than x86_64 --- botan-low/test/Test/Botan/Low/RNG.hs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/botan-low/test/Test/Botan/Low/RNG.hs b/botan-low/test/Test/Botan/Low/RNG.hs index 8a5ac8ad..8f802f34 100644 --- a/botan-low/test/Test/Botan/Low/RNG.hs +++ b/botan-low/test/Test/Botan/Low/RNG.hs @@ -16,11 +16,6 @@ tests = do specs <- testSpec "spec_rng" spec_rng pure $ testGroup "Test.Botan.Low.RNG" [ specs -#ifdef darwin_HOST_OS - -- TODO: temporarily disabled because the test suite fails. See issue - -- #33. - | False -#endif ] rngs :: [RNGType] @@ -28,7 +23,9 @@ rngs = [ SystemRNG , UserRNG , UserThreadsafeRNG +#if x86_64_HOST_ARCH , RDRandRNG -- NOTES: Not available on all processors +#endif ] spec_rng :: Spec