diff options
| author | Yelninei <yelninei@tutamail.com> | 2025-08-04 12:50:19 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-10-19 12:57:28 +0200 |
| commit | 6eb5823e2e1932c3f6793764b9f1fb7988d04667 (patch) | |
| tree | 13a482666152db9f9bc9f628cb6d89d7701d1bd5 /gnu | |
| parent | 2bb04f366147cf39b185559e0ef2026be9ae4dd2 (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/re2c.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/re2c.scm b/gnu/packages/re2c.scm index 3eb898dd4c9..c14ead297e9 100644 --- a/gnu/packages/re2c.scm +++ b/gnu/packages/re2c.scm | |||
| @@ -43,15 +43,18 @@ | |||
| 43 | "07ysqgdm0h566a8lwnpdgycp93vz7zskzihsgah3bla0ycj2pp69")))) | 43 | "07ysqgdm0h566a8lwnpdgycp93vz7zskzihsgah3bla0ycj2pp69")))) |
| 44 | (build-system gnu-build-system) | 44 | (build-system gnu-build-system) |
| 45 | (arguments | 45 | (arguments |
| 46 | (if (target-arm32?) | 46 | (list #:tests? (not (or (%current-target-system) |
| 47 | (list #:phases | 47 | ;; run_tests.py hangs |
| 48 | (system-hurd?))) | ||
| 49 | #:phases | ||
| 50 | (if (target-arm32?) | ||
| 48 | #~(modify-phases %standard-phases | 51 | #~(modify-phases %standard-phases |
| 49 | (add-after 'unpack 'patch-sources | 52 | (add-after 'unpack 'patch-sources |
| 50 | (lambda _ | 53 | (lambda _ |
| 51 | (invoke "patch" "-p1" "--force" "--input" | 54 | (invoke "patch" "-p1" "--force" "--input" |
| 52 | #$(local-file (search-patch | 55 | #$(local-file (search-patch |
| 53 | "re2c-Use-maximum-alignment.patch"))))))) | 56 | "re2c-Use-maximum-alignment.patch")))))) |
| 54 | '())) | 57 | #~%standard-phases))) |
| 55 | (native-inputs | 58 | (native-inputs |
| 56 | (list python)) ; for the test driver | 59 | (list python)) ; for the test driver |
| 57 | (home-page "https://re2c.org/") | 60 | (home-page "https://re2c.org/") |
