summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 10a0fbe8b0..a40a99bd36 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20767,14 +20767,22 @@ timestamps by providing a @code{ts} struct.")
        (file-name (git-file-name name version))
        (sha256
         (base32 "1hydxhmcchaprfmp08xr6nlksz6y97jbf4mswj69bgdfjfbf22km"))))
+    (build-system emacs-build-system)
     (arguments
      (list
       #:tests? #t
       #:test-command
       #~(list "emacs" "--batch"
               "-l" "test.el"
-              "--eval" "(ert-run-tests-batch-and-exit test-order)")))
-    (build-system emacs-build-system)
+              "--eval" "(ert-run-tests-batch-and-exit test-order)")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'skip-failing-test
+            ;; XXX: Skip known (to upstream) failing test.
+            (lambda _
+              (substitute* "test.el"
+                (("\\(ert-deftest test-circadian-sunrise-sunset .*" all)
+                 (string-append all " (skip-unless nil)"))))))))
     (native-inputs
      (list emacs-el-mock))
     (home-page "https://github.com/guidoschmidt/circadian.el")