[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: vdirsyncer: Skip tests.
From: |
guix-commits |
Subject: |
01/01: gnu: vdirsyncer: Skip tests. |
Date: |
Fri, 4 Oct 2019 05:22:24 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 0c34b9494333fb355d288a0165b85cb3c1c2a628
Author: Efraim Flashner <address@hidden>
Date: Fri Oct 4 12:21:07 2019 +0300
gnu: vdirsyncer: Skip tests.
* gnu/packages/dav.scm (vdirsyncer)[arguments]: Disable tests.
Update custom 'check phase to only run the tests when enabled.
---
gnu/packages/dav.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index 3b04002..fb370fd 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2017 Leo Famulari <address@hidden>
-;;; Copyright © 2018 Efraim Flashner <address@hidden>
+;;; Copyright © 2018, 2019 Efraim Flashner <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -69,14 +69,17 @@ clients.")
"1vqjhn2bffy2bx45a1r14crsyn2cylf5by567g44c4mhpjwwz6vc"))))
(build-system python-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
+ `(#:tests? #f ; The test suite is very flakey.
+ #:phases (modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(setenv "DETERMINISTIC_TESTS" "true")
(setenv "DAV_SERVER" "radicale")
(setenv "REMOTESTORAGE_SERVER" "skip")
- (invoke "make" "test")))
+ (if tests?
+ (invoke "make" "test")
+ #t)))
(add-after 'install 'manpage
(lambda* (#:key inputs outputs #:allow-other-keys)
(invoke "make" "--directory=docs/" "man")