guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: address@hidden: Delete faulty test on mips64el only.


From: Ludovic Courtès
Subject: 01/01: gnu: address@hidden: Delete faulty test on mips64el only.
Date: Wed, 27 Jul 2016 23:08:39 +0000 (UTC)

civodul pushed a commit to branch core-updates
in repository guix.

commit 1bb163b0dd07c8f2cfd7e91f1e428075cd3d5ed2
Author: Ludovic Courtès <address@hidden>
Date:   Thu Jul 28 00:58:40 2016 +0200

    gnu: address@hidden: Delete faulty test on mips64el only.
    
    This amends 8b732bf6d93ad2cb529c3c5f886efe2625c5fb72 and avoids a
    rebuild.
    
    * gnu/packages/python.scm (python-2.7)[arguments] <pre-check>:
    When (%current-system) starts with "mips64el", delete
    Lib/test/test_ctypes.py.
---
 gnu/packages/python.scm |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 14f29f0..2b42a2c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -125,9 +125,7 @@
                       "Lib/test/test_import.py"
                       "Lib/test/test_shutil.py"
                       "Lib/test/test_socket.py"
-                      "Lib/test/test_subprocess.py"
-                      ;; The following test apparently fails only on mips64el.
-                      "Lib/test/test_ctypes.py"))
+                      "Lib/test/test_subprocess.py"))
           #t))))
     (outputs '("out"
                "tk"))                     ;tkinter; adds 50 MiB to the closure
@@ -198,6 +196,13 @@
            (lambda _
              ;; 'Lib/test/test_site.py' needs a valid $HOME
              (setenv "HOME" (getcwd))
+             ,@(if (string-prefix? "mips64el" (%current-system))
+
+                   ;; XXX: The following test fails on mips64el.
+                   '((false-if-exception
+                      (delete-file "Lib/test/test_ctypes.py")))
+
+                   '())
              #t))
           (add-after
            'unpack 'set-source-file-times-to-1980



reply via email to

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