summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauermann@kolabnow.com>2021-09-02 14:29:41 -0300
committerLudovic Courtès <ludo@gnu.org>2021-09-06 13:51:49 +0200
commitaa1e952d21827ae97d5ff0416cf5600cb6d7bdfd (patch)
tree122c3ce73792da006a746d0d7227f370869d6cf6 /gnu
parent08005133eca561c9d090b6f535fa70b3cfef558a (diff)
downloadguix-aa1e952d21827ae97d5ff0416cf5600cb6d7bdfd.tar.gz
gnu: php: Remove watchpoint tests on powerpc64le.
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.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/php.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 89fa978bd2..7022eb6c9a 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.