gnu: rapidcheck: Disable failing tests on aarch64.

* gnu/packages/check.scm (rapidcheck): Disable failing tests on aarch64.

Change-Id: I9b4e7be2acad615cc1586adb37cc39b43590b2d8
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Roman Scherer 2024-07-14 17:17:40 +02:00 committed by Liliana Marie Prikler
parent 3bd9ac84e4
commit aeef827d2d
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -3500,7 +3500,13 @@ (define-public rapidcheck
(display "find_package(Boost GLOBAL)\n" out)))
(substitute* "extras/boost/test/CMakeLists.txt"
(("^([ ]*)boost" all spaces)
(string-append spaces "Boost::boost")))))))
(string-append spaces "Boost::boost")))
;; Disable tests failing on Apple M1 and Hetzner CAX41 (aarch64).
;; Upstream issue: https://github.com/emil-e/rapidcheck/issues/328
(substitute* "test/gen/NumericTests.cpp"
(("forEachType<SignedProperties.*") ""))
(substitute* "test/shrink/ShrinkTests.cpp"
(("forEachType<SignedIntegralProperties.*") ""))))))
(arguments
(list
#:configure-flags #~(list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"