mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python@2.7: Delete faulty test on mips64el only.
This amends 8b732bf6d9
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.
This commit is contained in:
parent
8b732bf6d9
commit
1bb163b0dd
1 changed files with 8 additions and 3 deletions
|
@ -125,9 +125,7 @@ (define-public python-2.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 @@ (define-public python-2.7
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue