gnu: emacs-org-super-agenda: Run tests.
* gnu/packages/emacs-xyz.scm (emacs-org-super-agenda)[arguments]<#:tests?>: Set to #TRUE. <#:phases>: Re-instate two previously failing tests, skip a new one.master
parent
7947feb090
commit
805505b600
|
@ -22540,7 +22540,7 @@ for defining recurring tasks and easily scheduling them.")
|
||||||
(base32 "07fv4zgmfc8ppppbr7ylhx89wcw6r6vmz4a6pg0iy4v7sn5pp1wa"))))
|
(base32 "07fv4zgmfc8ppppbr7ylhx89wcw6r6vmz4a6pg0iy4v7sn5pp1wa"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;FIXNE: Tests try to read "~/org/test.org"
|
`(#:tests? #true
|
||||||
#:test-command '("test/run" "--debug")
|
#:test-command '("test/run" "--debug")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -22550,10 +22550,9 @@ for defining recurring tasks and easily scheduling them.")
|
||||||
(emacs-substitute-variables "test/test.el"
|
(emacs-substitute-variables "test/test.el"
|
||||||
("org-super-agenda-test-results-file"
|
("org-super-agenda-test-results-file"
|
||||||
(string-append (getcwd) "/test/results.el")))
|
(string-append (getcwd) "/test/results.el")))
|
||||||
;; The following tests fail (see:
|
;; The following tests fail.
|
||||||
;; https://github.com/alphapapa/org-super-agenda/issues/183).
|
|
||||||
(substitute* "test/test.el"
|
(substitute* "test/test.el"
|
||||||
((".*org-super-agenda-test--:auto-(map|tags).*" all)
|
((".* org-super-agenda-test--with-retained-sorting .*" all)
|
||||||
(string-append all " (skip-unless nil)\n"))))))))
|
(string-append all " (skip-unless nil)\n"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list emacs-f util-linux))
|
(list emacs-f util-linux))
|
||||||
|
|
Reference in New Issue