all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50342] [PATCH core-updates-frozen] gnu: php: Remove watchpoint tests on powerpc64le.
@ 2021-09-02 17:29 Thiago Jung Bauermann via Guix-patches via
  2021-09-06 11:52 ` bug#50342: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Thiago Jung Bauermann via Guix-patches via @ 2021-09-02 17:29 UTC (permalink / raw)
  To: 50342; +Cc: Thiago Jung Bauermann

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.




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

end of thread, other threads:[~2021-09-06 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-02 17:29 [bug#50342] [PATCH core-updates-frozen] gnu: php: Remove watchpoint tests on powerpc64le Thiago Jung Bauermann via Guix-patches via
2021-09-06 11:52 ` bug#50342: " Ludovic Courtès
2021-09-06 13:37   ` [bug#50342] " Thiago Jung Bauermann via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.