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:
@@ -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/")
|
||||||
|
|||||||
Reference in New Issue
Block a user