diff options
| author | Julien Lepiller <julien@lepiller.eu> | 2019-03-28 22:55:17 +0100 |
|---|---|---|
| committer | Julien Lepiller <julien@lepiller.eu> | 2019-03-28 22:59:14 +0100 |
| commit | e8cfce439afed945e352ad28f73f0a5f7840f503 (patch) | |
| tree | b6b8f98da3039306a6015b36940c802111440a7f | |
| parent | 241885347a1471212d86d3b181498a0e292ca16a (diff) | |
gnu: php: Disable failing tests on armhf.
* gnu/packages/php.scm (php)[arguments]: Disable failing tests on armhf.
| -rw-r--r-- | gnu/packages/php.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index 8d96e54c90c..ffb81da5fcb 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm | |||
| @@ -86,7 +86,7 @@ | |||
| 86 | #t)))) | 86 | #t)))) |
| 87 | (build-system gnu-build-system) | 87 | (build-system gnu-build-system) |
| 88 | (arguments | 88 | (arguments |
| 89 | '(#:configure-flags | 89 | `(#:configure-flags |
| 90 | (let-syntax ((with (syntax-rules () | 90 | (let-syntax ((with (syntax-rules () |
| 91 | ((_ option input) | 91 | ((_ option input) |
| 92 | (string-append option "=" | 92 | (string-append option "=" |
| @@ -182,6 +182,17 @@ | |||
| 182 | (substitute* "ext/standard/tests/streams/bug60602.phpt" | 182 | (substitute* "ext/standard/tests/streams/bug60602.phpt" |
| 183 | (("'ls'") (string-append "'" (which "ls") "'"))) | 183 | (("'ls'") (string-append "'" (which "ls") "'"))) |
| 184 | 184 | ||
| 185 | ,@(if (string-prefix? "armhf" (or (%current-system) | ||
| 186 | (%current-target-system))) | ||
| 187 | ;; Drop tests known to fail on armhf. | ||
| 188 | '((for-each delete-file | ||
| 189 | (list | ||
| 190 | "ext/calendar/tests/unixtojd_error1.phpt" | ||
| 191 | ;; arm can be a lot slower, so a time-related test fails | ||
| 192 | "ext/fileinfo/tests/cve-2014-3538-nojit.phpt" | ||
| 193 | "ext/pcre/tests/bug76514.phpt" | ||
| 194 | "ext/pcre/tests/preg_match_error3.phpt")))) | ||
| 195 | |||
| 185 | ;; Drop tests that are known to fail. | 196 | ;; Drop tests that are known to fail. |
| 186 | (for-each delete-file | 197 | (for-each delete-file |
| 187 | '("ext/posix/tests/posix_getgrgid.phpt" ; Requires /etc/group. | 198 | '("ext/posix/tests/posix_getgrgid.phpt" ; Requires /etc/group. |
