mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: php: Disable failing tests on armhf.
* gnu/packages/php.scm (php)[arguments]: Disable failing tests on armhf.
This commit is contained in:
parent
241885347a
commit
e8cfce439a
1 changed files with 12 additions and 1 deletions
|
@ -86,7 +86,7 @@ (define-public php
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags
|
`(#:configure-flags
|
||||||
(let-syntax ((with (syntax-rules ()
|
(let-syntax ((with (syntax-rules ()
|
||||||
((_ option input)
|
((_ option input)
|
||||||
(string-append option "="
|
(string-append option "="
|
||||||
|
@ -182,6 +182,17 @@ (define-public php
|
||||||
(substitute* "ext/standard/tests/streams/bug60602.phpt"
|
(substitute* "ext/standard/tests/streams/bug60602.phpt"
|
||||||
(("'ls'") (string-append "'" (which "ls") "'")))
|
(("'ls'") (string-append "'" (which "ls") "'")))
|
||||||
|
|
||||||
|
,@(if (string-prefix? "armhf" (or (%current-system)
|
||||||
|
(%current-target-system)))
|
||||||
|
;; Drop tests known to fail on armhf.
|
||||||
|
'((for-each delete-file
|
||||||
|
(list
|
||||||
|
"ext/calendar/tests/unixtojd_error1.phpt"
|
||||||
|
;; arm can be a lot slower, so a time-related test fails
|
||||||
|
"ext/fileinfo/tests/cve-2014-3538-nojit.phpt"
|
||||||
|
"ext/pcre/tests/bug76514.phpt"
|
||||||
|
"ext/pcre/tests/preg_match_error3.phpt"))))
|
||||||
|
|
||||||
;; Drop tests that are known to fail.
|
;; Drop tests that are known to fail.
|
||||||
(for-each delete-file
|
(for-each delete-file
|
||||||
'("ext/posix/tests/posix_getgrgid.phpt" ; Requires /etc/group.
|
'("ext/posix/tests/posix_getgrgid.phpt" ; Requires /etc/group.
|
||||||
|
|
Loading…
Reference in a new issue