guix-commits
[Top][All Lists]
Advanced

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

30/37: gnu: php: Skip tests failing on riscv64-linux.


From: guix-commits
Subject: 30/37: gnu: php: Skip tests failing on riscv64-linux.
Date: Thu, 14 Oct 2021 14:41:28 -0400 (EDT)

efraim pushed a commit to branch wip-riscv
in repository guix.

commit 1b49c3d76c34b3852008d0ca20293881497a7231
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Aug 31 13:38:20 2021 +0300

    gnu: php: Skip tests failing on riscv64-linux.
    
    * gnu/packages/php.scm (php)[arguments]: Adjust custom 'prepare-tests
    phase to delete some tests when building for riscv64-linux.
---
 gnu/packages/php.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index fcdc1a3..db8a0bd 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2019 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -197,6 +198,14 @@
                                 "sapi/cli/tests/upload_2G.phpt"
                                 "Zend/tests/concat_003.phpt")))
                    '())
+             ,@(if (target-riscv64?)
+                 ;; Drop tests known to fail on riscv64.
+                 '((for-each delete-file
+                             (list
+                               ;; extensive backtracking
+                               "ext/fileinfo/tests/cve-2014-3538-nojit.phpt"
+                               "ext/fileinfo/tests/cve-2014-3538.phpt")))
+                 '())
 
              ,@(if (target-ppc64le?)
                    ;; Drop tests known to fail on powerpc64le.



reply via email to

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