gnu: python-pyzmq: Enable the draft test.
* gnu/packages/python-xyz.scm (python-pyzmq) [arguments]: Delete the disable-problematic-tests phase and add a configure phase.
This commit is contained in:
parent
c0833f3b0c
commit
697e7d6324
1 changed files with 4 additions and 4 deletions
|
@ -11973,11 +11973,11 @@ applications.")
|
||||||
(list (string-append "--zmq=" (assoc-ref %build-inputs "zeromq")))
|
(list (string-append "--zmq=" (assoc-ref %build-inputs "zeromq")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'disable-problematic-tests
|
(add-before 'build 'configure
|
||||||
(lambda _
|
(lambda _
|
||||||
;; FIXME: The test_draft.TestDraftSockets test fails with:
|
;; Our zeromq package is built with '--enable-drafts'; also
|
||||||
;; zmq.error.Again: Resource temporarily unavailable
|
;; enable draft support for pyzmq so the draft test passes.
|
||||||
(delete-file "zmq/tests/test_draft.py")))
|
(setenv "ZMQ_DRAFT_API" "1")))
|
||||||
(add-before 'check 'build-extensions
|
(add-before 'check 'build-extensions
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Cython extensions have to be built before running the tests.
|
;; Cython extensions have to be built before running the tests.
|
||||||
|
|
Reference in a new issue