diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-01-06 16:26:09 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-06 16:27:31 +0100 |
| commit | a21590dabfcef0aa008503ea981364b90750b07c (patch) | |
| tree | 88b7bfec9eafe8246ad0a1b1d25025276c92a218 /gnu | |
| parent | 495ac045a3ced3fe1b0ae888738b08be9c3fc968 (diff) | |
gnu: gettext: Work around Gnulib test failures on armhf-linux.
* gnu/packages/gettext.scm (gettext-minimal)[arguments]: In
'patch-tests' phase, conditionally apply "coreutils-gnulib-tests.patch"
on ARMv7.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/gettext.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index b75c20c7518..d5fd1979223 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm | |||
| @@ -111,6 +111,15 @@ | |||
| 111 | (("/bin/pwd") | 111 | (("/bin/pwd") |
| 112 | "pwd")) | 112 | "pwd")) |
| 113 | 113 | ||
| 114 | ;; Work around Gnulib test failures on armhf-linux. | ||
| 115 | #$@(if (target-arm32?) | ||
| 116 | #~((with-directory-excursion "gettext-tools" | ||
| 117 | (invoke "patch" "--force" "-p1" "-i" | ||
| 118 | #$(local-file | ||
| 119 | (search-patch | ||
| 120 | "coreutils-gnulib-tests.patch"))))) | ||
| 121 | '()) | ||
| 122 | |||
| 114 | #t))))) | 123 | #t))))) |
| 115 | 124 | ||
| 116 | ;; When tests fail, we want to know the details. | 125 | ;; When tests fail, we want to know the details. |
