gnu: emacs-circadian: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-circadian)[arguments]<#:phases>: Skip failing test.master
parent
019cdc9721
commit
c08b62195c
|
@ -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")
|
||||
|
|
Reference in New Issue