aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-03 16:12:59 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-03 16:12:59 +0200
commit23c65faff28a36cddad6b9aaf987b45efdca6831 (patch)
tree697b3a47e4729f30836e9a8f96a5a0666779afe7
parent955935626423de4a1adc50d78753e8a2f816d02a (diff)
downloadguix-23c65faff28a36cddad6b9aaf987b45efdca6831.tar
guix-23c65faff28a36cddad6b9aaf987b45efdca6831.tar.gz
gnu: emacs-circadian: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-circadian)[arguments]<#:phases>: Skip failing tests.
-rw-r--r--gnu/packages/emacs-xyz.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7bb17948e9..f9a14a5c9c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21762,16 +21762,18 @@ timestamps by providing a @code{ts} struct.")
(list
#:tests? #t
#:test-command
- #~(list "emacs" "--batch"
+ #~(list "emacs" "-Q" "--batch"
"-l" "test.el"
"--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.
+ ;; XXX: Skip known (to upstream) failing tests.
(lambda _
(substitute* "test.el"
(("\\(ert-deftest test-circadian-sunrise-sunset .*" all)
+ (string-append all " (skip-unless nil)"))
+ (("\\(ert-deftest test-circadian-setup-benchmark .*" all)
(string-append all " (skip-unless nil)"))))))))
(native-inputs
(list emacs-el-mock))