summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-03-19 13:58:22 -0400
committerLeo Famulari <leo@famulari.name>2016-03-29 15:35:00 -0400
commitb7fbf297c8e1128b2d09cc9833a267e7e510961b (patch)
tree4818c6849673ffdbc5463f5b91b08a22afd507a7
parentd1ceedf8b16f374f425ca427937de252f47be506 (diff)
gnu: khal: Disable failing tests.
* gnu/packages/calendar.scm (khal)[arguments]: Disable failing tests in 'disable-tests' phase.
-rw-r--r--gnu/packages/calendar.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 2e4481f94b..5ef5ec9271 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 David Thompson <davet@gnu.org>
-;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -79,12 +79,25 @@ data units.")
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
- ;; Bug reported: https://github.com/geier/khal/issues/309
- (add-after 'unpack 'disable-test
+ (add-after 'unpack 'disable-tests
(lambda _
+ ;; Bug reported for test_only_update_old_event:
+ ;; https://github.com/geier/khal/issues/309
(substitute* "tests/khalendar_test.py"
(("test_only_update_old_event")
- "disabled_only_update_old_event"))))
+ "disabled_only_update_old_event"))
+
+ ;; Bug reported for test_dt_two_tz:
+ ;; https://github.com/pimutils/khal/issues/382
+ (substitute* "tests/event_test.py"
+ (("test_dt_two_tz")
+ "disabled_dt_two_tz"))
+ ;; Another timezone / DST issue:
+ ;; https://github.com/pimutils/khal/issues/146
+ (substitute* "tests/event_test.py"
+ (("test_raw_dt")
+ "disabled_raw_dt"))))
+
;; Building the manpage requires khal to be installed.
(add-after 'install 'manpage
(lambda* (#:key outputs #:allow-other-keys)
@@ -95,6 +108,7 @@ data units.")
(install-file
"doc/build/man/khal.1"
(string-append (assoc-ref outputs "out") "/share/man/man1"))))
+
;; The tests require us to choose a timezone.
(replace 'check
(lambda* (#:key inputs #:allow-other-keys)