From 805505b6000051e5a940d8f076a556f1ecff40bd Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 3 Oct 2023 21:31:34 +0200 Subject: [PATCH] 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. --- gnu/packages/emacs-xyz.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9aa7042924..f2d65a79fc 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -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))