mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: vdirsyncer: Skip tests.
* gnu/packages/dav.scm (vdirsyncer)[arguments]: Disable tests. Update custom 'check phase to only run the tests when enabled.
This commit is contained in:
parent
57ec0551c8
commit
0c34b94943
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -69,14 +69,17 @@ (define-public vdirsyncer
|
||||||
"1vqjhn2bffy2bx45a1r14crsyn2cylf5by567g44c4mhpjwwz6vc"))))
|
"1vqjhn2bffy2bx45a1r14crsyn2cylf5by567g44c4mhpjwwz6vc"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:tests? #f ; The test suite is very flakey.
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(setenv "DETERMINISTIC_TESTS" "true")
|
(setenv "DETERMINISTIC_TESTS" "true")
|
||||||
(setenv "DAV_SERVER" "radicale")
|
(setenv "DAV_SERVER" "radicale")
|
||||||
(setenv "REMOTESTORAGE_SERVER" "skip")
|
(setenv "REMOTESTORAGE_SERVER" "skip")
|
||||||
(invoke "make" "test")))
|
(if tests?
|
||||||
|
(invoke "make" "test")
|
||||||
|
#t)))
|
||||||
(add-after 'install 'manpage
|
(add-after 'install 'manpage
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(invoke "make" "--directory=docs/" "man")
|
(invoke "make" "--directory=docs/" "man")
|
||||||
|
|
Loading…
Reference in a new issue