1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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

View File

@@ -3500,7 +3500,13 @@ provides a simple way to achieve this.")
(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"