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: Tue, 2 Nov 2021 03:27:16 -0400 (EDT)

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

commit 18cf078710cd8f6e172e761a2632a6ee121054e4
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 44eab76..bf059bd 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.
 ;;;
@@ -196,6 +197,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]