unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61451] [PATCH] gnu: php: Drop the failed test for riscv64.
@ 2023-02-12  9:02 Aleksandr Vityazev
  2023-02-19  9:12 ` bug#61451: " Julien Lepiller
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksandr Vityazev @ 2023-02-12  9:02 UTC (permalink / raw)
  To: 61451

* gnu/packages/php (php): Drop the failed test for riscv64.
[source, arguments, description]: Fix formatting.
---
 gnu/packages/php.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index e0cd47b846..278d7e1760 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -71,7 +71,7 @@ (define-public php
                (base32
                 "0czflx9ikxymjfgnzaifjx9kc30ww2x4063075hcifjjwqwami5x"))
               (patches
-                (search-patches "php-fix-streams-copy-length.patch"))
+               (search-patches "php-fix-streams-copy-length.patch"))
               (modules '((guix build utils)))
               (snippet
                '(with-directory-excursion "ext"
@@ -178,7 +178,7 @@ (define-public php
              ,@(if (target-arm32?)
                    ;; Drop tests known to fail on armhf.
                    '((for-each delete-file
-                              (list
+                               (list
                                 "ext/calendar/tests/unixtojd_error1.phpt"
                                 "ext/opcache/tests/preload_006.phpt"
                                 "ext/opcache/tests/preload_011.phpt"
@@ -200,7 +200,7 @@ (define-public php
                    '())
 
              ,@(if (target-x86-32?)
-                   ;; Drop tests known to fail on i686. 
+                   ;; Drop tests known to fail on i686.
                    '((for-each delete-file
                                (list
                                 "ext/dba/tests/dba_gdbm.phpt")))
@@ -220,6 +220,12 @@ (define-public php
                                 "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.
              (for-each delete-file
                        '("ext/posix/tests/posix_getgrgid.phpt"    ; Requires /etc/group.
@@ -419,7 +425,7 @@ (define-public php
        ("procps" ,procps)))             ; for tests
     (synopsis "PHP programming language")
     (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
 a general-purpose programming language.  PHP code may be embedded into
 HTML code, or it can be used in combination with various web template
-- 
2.39.1



-- 
Best regards,
Aleksandr Vityazev




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#61451: [PATCH] gnu: php: Drop the failed test for riscv64.
  2023-02-12  9:02 [bug#61451] [PATCH] gnu: php: Drop the failed test for riscv64 Aleksandr Vityazev
@ 2023-02-19  9:12 ` Julien Lepiller
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Lepiller @ 2023-02-19  9:12 UTC (permalink / raw)
  To: Aleksandr Vityazev; +Cc: 61451-done

Thanks for the patch! Pushed to master as
819aaca9d524d2fde3ed82c688d3731ca1797f87.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-19  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-12  9:02 [bug#61451] [PATCH] gnu: php: Drop the failed test for riscv64 Aleksandr Vityazev
2023-02-19  9:12 ` bug#61451: " Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).