me
/
guix
Archived
1
0
Fork 0

gnu: php: Drop a failed test for riscv64.

* gnu/packages/php (php): Drop a failed test for riscv64.
[source, arguments, description]: Fix formatting.
master
Aleksandr Vityazev 2023-02-12 09:02:45 +00:00 committed by Julien Lepiller
parent 189525412e
commit 819aaca9d5
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 10 additions and 4 deletions

View File

@ -71,7 +71,7 @@
(base32 (base32
"0czflx9ikxymjfgnzaifjx9kc30ww2x4063075hcifjjwqwami5x")) "0czflx9ikxymjfgnzaifjx9kc30ww2x4063075hcifjjwqwami5x"))
(patches (patches
(search-patches "php-fix-streams-copy-length.patch")) (search-patches "php-fix-streams-copy-length.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(with-directory-excursion "ext" '(with-directory-excursion "ext"
@ -178,7 +178,7 @@
,@(if (target-arm32?) ,@(if (target-arm32?)
;; Drop tests known to fail on armhf. ;; Drop tests known to fail on armhf.
'((for-each delete-file '((for-each delete-file
(list (list
"ext/calendar/tests/unixtojd_error1.phpt" "ext/calendar/tests/unixtojd_error1.phpt"
"ext/opcache/tests/preload_006.phpt" "ext/opcache/tests/preload_006.phpt"
"ext/opcache/tests/preload_011.phpt" "ext/opcache/tests/preload_011.phpt"
@ -200,7 +200,7 @@
'()) '())
,@(if (target-x86-32?) ,@(if (target-x86-32?)
;; Drop tests known to fail on i686. ;; Drop tests known to fail on i686.
'((for-each delete-file '((for-each delete-file
(list (list
"ext/dba/tests/dba_gdbm.phpt"))) "ext/dba/tests/dba_gdbm.phpt")))
@ -220,6 +220,12 @@
"sapi/phpdbg/tests/watch_006.phpt"))) "sapi/phpdbg/tests/watch_006.phpt")))
'()) '())
,@(if (target-riscv64?)
;; Drop tests known to fail on riscv64.
'((for-each delete-file
(list "sapi/cli/tests/upload_2G.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.
@ -419,7 +425,7 @@
("procps" ,procps))) ; for tests ("procps" ,procps))) ; for tests
(synopsis "PHP programming language") (synopsis "PHP programming language")
(description (description
"PHP (PHP Hypertext Processor) is a server-side (CGI) scripting "PHP (PHP Hypertext Processor) is a server-side (CGI) scripting
language designed primarily for web development but is also used as language designed primarily for web development but is also used as
a general-purpose programming language. PHP code may be embedded into a general-purpose programming language. PHP code may be embedded into
HTML code, or it can be used in combination with various web template HTML code, or it can be used in combination with various web template