guix-commits
[Top][All Lists]
Advanced

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

branch wip-riscv updated: gnu: php: Skip tests failing on riscv64-linux.


From: guix-commits
Subject: branch wip-riscv updated: gnu: php: Skip tests failing on riscv64-linux.
Date: Tue, 31 Aug 2021 06:41:19 -0400

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/wip-riscv by this push:
     new 3e6487f  gnu: php: Skip tests failing on riscv64-linux.
3e6487f is described below

commit 3e6487f6577c02336210be05759216e42b1ff819
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 89fa978..73557e5 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-riscv?)
+                 ;; 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")))
+                 '())
 
              ;; Drop tests that are known to fail.
              (for-each delete-file



reply via email to

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