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.
This commit is contained in:
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

View file

@ -22540,7 +22540,7 @@ (define-public emacs-org-super-agenda
(base32 "07fv4zgmfc8ppppbr7ylhx89wcw6r6vmz4a6pg0iy4v7sn5pp1wa"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #f ;FIXNE: Tests try to read "~/org/test.org"
`(#:tests? #true
#:test-command '("test/run" "--debug")
#:phases
(modify-phases %standard-phases
@ -22550,10 +22550,9 @@ (define-public emacs-org-super-agenda
(emacs-substitute-variables "test/test.el"
("org-super-agenda-test-results-file"
(string-append (getcwd) "/test/results.el")))
;; The following tests fail (see:
;; https://github.com/alphapapa/org-super-agenda/issues/183).
;; The following tests fail.
(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"))))))))
(native-inputs
(list emacs-f util-linux))