me
/
guix
Archived
1
0
Fork 0

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
Nicolas Goaziou 2023-10-03 21:31:34 +02:00
parent 7947feb090
commit 805505b600
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 3 additions and 4 deletions

View File

@ -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))