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

gnu: re2c: Skip tests on the Hurd.

*  gnu/packages/re2c.scm (re2c): Skip tests on hurd systems.

Change-Id: If111a763cfb79491b4a27009b2ca383f01fe3e5b
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Yelninei
2025-08-04 12:50:19 +00:00
committed by Andreas Enge
parent 2bb04f3661
commit 6eb5823e2e

View File

@@ -43,15 +43,18 @@
"07ysqgdm0h566a8lwnpdgycp93vz7zskzihsgah3bla0ycj2pp69")))) "07ysqgdm0h566a8lwnpdgycp93vz7zskzihsgah3bla0ycj2pp69"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(if (target-arm32?) (list #:tests? (not (or (%current-target-system)
(list #:phases ;; run_tests.py hangs
(system-hurd?)))
#:phases
(if (target-arm32?)
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-sources (add-after 'unpack 'patch-sources
(lambda _ (lambda _
(invoke "patch" "-p1" "--force" "--input" (invoke "patch" "-p1" "--force" "--input"
#$(local-file (search-patch #$(local-file (search-patch
"re2c-Use-maximum-alignment.patch"))))))) "re2c-Use-maximum-alignment.patch"))))))
'())) #~%standard-phases)))
(native-inputs (native-inputs
(list python)) ; for the test driver (list python)) ; for the test driver
(home-page "https://re2c.org/") (home-page "https://re2c.org/")