guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50342] [PATCH core-updates-frozen] gnu: php: Remove watchpoint test


From: Thiago Jung Bauermann
Subject: [bug#50342] [PATCH core-updates-frozen] gnu: php: Remove watchpoint tests on powerpc64le.
Date: Thu, 2 Sep 2021 14:29:41 -0300

All watchpoint tests except watch_002.phpt fail.  There’s an upstream bug
report about this problem so in the meantime remove them since it doesn’t
impact actually running PHP programs.

* gnu/packages/php.scm (php)[arguments]<#:phases>{prepare-tests}: Remove
watchpoint tests on powerpc64le.
---
 gnu/packages/php.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 89fa978bd28a..7022eb6c9a2a 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -197,6 +197,20 @@
                                 "Zend/tests/concat_003.phpt")))
                    '())
 
+             ,@(if (target-ppc64le?)
+                   ;; Drop tests known to fail on powerpc64le.
+                   '((for-each delete-file
+                               (list
+                                ;; phpdbg watchpoints don't work.
+                                ;; Bug tracked upstream at:
+                                ;; https://bugs.php.net/bug.php?id=81408
+                                "sapi/phpdbg/tests/watch_001.phpt"
+                                "sapi/phpdbg/tests/watch_003.phpt"
+                                "sapi/phpdbg/tests/watch_004.phpt"
+                                "sapi/phpdbg/tests/watch_005.phpt"
+                                "sapi/phpdbg/tests/watch_006.phpt")))
+                   '())
+
              ;; Drop tests that are known to fail.
              (for-each delete-file
                        '("ext/posix/tests/posix_getgrgid.phpt"    ; Requires 
/etc/group.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]