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>
This commit is contained in:
Thiago Jung Bauermann 2021-09-02 14:29:41 -03:00 committed by Ludovic Courtès
parent 08005133ec
commit aa1e952d21
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -197,6 +197,20 @@ (define-public php
"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.