GNU bug report logs - #78095
[PATCH emacs-team 00/28] More emacs-team updates.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 27 Apr 2025 14:51:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 78095 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 27 Apr 2025 14:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH emacs-team 00/28] More emacs-team updates.
Date: Sun, 27 Apr 2025 16:47:56 +0200
Tried to broadly go through the easiest emacs-packages that were still
failing.  After that, there shouldn't be much more to fix, but they
will be harder.

Nicolas Graves (28):
  gnu: emacs-beancount: Enable tests.
  gnu: emacs-haskell-mode: Update to 17.5-0.e9c3567.
  gnu: emacs-undohist-el: Skip tests.
  gnu: emacs-puppet-mode: Fix tests.
  gnu: emacs-solarized-theme: Skip tests.
  gnu: emacs-org-remark: Skip tests.
  gnu: emacs-org-board: Skip tests.
  gnu: emacs-web-beautify: Fix tests.
  gnu: emacs-noman: Fix tests.
  gnu: emacs-package-build: Disable tests.
  gnu: makem-minimal: Fix getopt public accessibility.
  gnu: emacs-parinfer-rust-mode: Fix tests.
  gnu: emacs-wordnut: Skip tests.
  gnu: emacs-ob-async: Skip tests.
  gnu: emacs-objed: Fix tests.
  gnu: emacs-scel: Skip tests.
  gnu: emacs-idris-mode: Partially enable tests.
  gnu: emacs-scratch-el: Skip tests.
  gnu: emacs-org-auto-expand: Skip tests.
  gnu: emacs-make-it-so: Disable tests.
  gnu: emacs-youtube-dl: Skip tests.
  gnu: emacs-plantuml-mode: Refresh package.
  gnu: emacs-poly-r: Fix tests.
  gnu: emacs-moody: Enable minimal tests.
  gnu: emacs-sourcemap: Fix tests.
  gnu: emacs-keycast: Fix tests.
  gnu: emacs-sparql-mode: Skip tests.
  gnu: emacs-org-trello: Skip tests.

 gnu/packages/emacs-build.scm |   4 +-
 gnu/packages/emacs-xyz.scm   | 205 +++++++++++++++++++++++++++--------
 gnu/packages/finance.scm     |  10 ++
 gnu/packages/statistics.scm  |   4 +
 4 files changed, 176 insertions(+), 47 deletions(-)

-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:01 GMT) Full text and rfc822 format available.

Message #8 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 01/28] gnu: emacs-beancount: Enable tests.
Date: Sun, 27 Apr 2025 16:52:35 +0200
* gnu/packages/finance.scm (emacs-beancount): Enable tests.
  [arguments]<test-command>: Set argument.
  <phases>: Add phase 'adjust-available-beancount-options.
---
 gnu/packages/finance.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 33dbefe2b9..32cb658099 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2095,6 +2095,16 @@ (define-public emacs-beancount
          "01ivxgv1g0pkr0xi43366pghc3j3mmhk5bshis6kkn04bq04cx7f"))
        (file-name (git-file-name name version))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command #~(list "make" "test")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'adjust-available-beancount-options
+                 (lambda _
+                   (substitute* "beancount.el"
+                     (("\"account_unrealized_gains\"") "")))))))
+    (native-inputs
+     (list beancount))
     (home-page "https://github.com/beancount/beancount-mode")
     (synopsis "Emacs mode for Beancount")
     (description
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:02 GMT) Full text and rfc822 format available.

Message #11 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 02/28] gnu: emacs-haskell-mode: Update to 17.5-0.e9c3567.
Date: Sun, 27 Apr 2025 16:52:36 +0200
* gnu/packages/emacs-xyz.scm (emacs-haskell-mode): Update to 17.5-0.e9c3567.
---
 gnu/packages/emacs-xyz.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ad9add40f5..8be4705c87 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2966,18 +2966,20 @@ (define-public emacs-unpackaged-el
       (license license:gpl3+))))
 
 (define-public emacs-haskell-mode
-  (package
+  (let ((commit "e9c356739310332afe59b10ffa2e6c3e76f124e3")
+        (revision "0"))
+    (package
     (name "emacs-haskell-mode")
-    (version "17.5")
+    (version (git-version "17.5" revision commit))
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/haskell/haskell-mode")
-             (commit (string-append "v" version))))
+             (commit commit)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0ndi986rxq9gz61ss2vazadn7rn0niv1gnpk9nfq9sw3m336glsf"))))
+        (base32 "1mkp9b31ai1z6sccx8cff40viryamw7dm85acig3q82dwlbmxx98"))))
     (propagated-inputs
      (list emacs-dash))
     (native-inputs
@@ -3056,7 +3058,7 @@ (define (copy-to-dir dir files)
     (description
      "This is an Emacs mode for editing, debugging and developing Haskell
 programs.")
-    (license license:gpl3+)))
+    (license license:gpl3+))))
 
 (define-public emacs-lean4-mode
   (package
@@ -12191,6 +12193,7 @@ (define-public emacs-jedi
     (build-system emacs-build-system)
     (arguments
      (list
+      #:test-command #~(list "make" "test" "CASK=")
       #:imported-modules `(,@%emacs-build-system-modules
                            (guix build python-build-system))
       #:modules '((guix build emacs-build-system)
@@ -12199,6 +12202,11 @@ (define-public emacs-jedi
                   (guix build utils))
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'avoid-server-installation-for-tests
+            (lambda _
+              (substitute* "Makefile"
+                (("env: .*$")
+                 (string-append "env: " #$output "/bin/jediepcserver\n")))))
           (add-after 'unpack 'ensure-no-mtimes-pre-1980
             (assoc-ref python:%standard-phases
                        'ensure-no-mtimes-pre-1980))
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:02 GMT) Full text and rfc822 format available.

Message #14 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 03/28] gnu: emacs-undohist-el: Skip tests.
Date: Sun, 27 Apr 2025 16:52:37 +0200
* gnu/packages/emacs-xyz.scm (emacs-undohist-el)[arguments]<tests>:
  Skip them.
---
 gnu/packages/emacs-xyz.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8be4705c87..3a1bfcc2a5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15936,6 +15936,8 @@ (define-public emacs-undohist-el
        (sha256
         (base32 "1s1574q85lflik7w983v859qgxy1sn6i09hspa78smiawfva1855"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f))  ; No tests.
     (home-page "https://github.com/m2ym/undohist-el")
     (synopsis "Save undo history between sessions")
     (description "This package allows persistent use of undo history for
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:03 GMT) Full text and rfc822 format available.

Message #17 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 04/28] gnu: emacs-puppet-mode: Fix tests.
Date: Sun, 27 Apr 2025 16:52:38 +0200
* gnu/packages/emacs-xyz.scm (emacs-puppet-mode)
 [arguments]<test-command>: Set argument.
 [native-inputs]: Add emacs-ert-runner.
---
 gnu/packages/emacs-xyz.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3a1bfcc2a5..6acbce0381 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12357,6 +12357,10 @@ (define-public emacs-puppet-mode
         (base32
          "0c5q8qmbligzjsn05di4wh6ggpd3944j4yqb78vzd441b8ssq70i"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command #~(list "make" "test" "CASK=")))
+    (native-inputs
+     (list emacs-ert-runner))
     (home-page "https://github.com/voxpupuli/puppet-mode")
     (synopsis "Emacs major mode for the Puppet configuration language")
     (description
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:03 GMT) Full text and rfc822 format available.

Message #20 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 05/28] gnu: emacs-solarized-theme: Skip tests.
Date: Sun, 27 Apr 2025 16:52:39 +0200
* gnu/packages/emacs-xyz.scm (emacs-solarized-theme): Skip tests.
  [arguments]<test-command>: Set argument.
---
 gnu/packages/emacs-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6acbce0381..079f39fad6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13245,6 +13245,9 @@ (define-public emacs-solarized-theme
        (sha256
         (base32 "0nwyax9dikpw4fcplnk0az9k1pk02wnhkadvfp325s7rl2j8y23b"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f  ; Tests require a standard tty.
+           #:test-command #~(list "make" "run" "CASK=")))
     (propagated-inputs
      (list emacs-dash))
     (home-page "https://github.com/bbatsov/solarized-emacs")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:04 GMT) Full text and rfc822 format available.

Message #23 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 06/28] gnu: emacs-org-remark: Skip tests.
Date: Sun, 27 Apr 2025 16:52:40 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-remark): Skip tests.
  [source]<snippet>: Delete several Mibs of images and CSS.
---
 gnu/packages/emacs-xyz.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 079f39fad6..d68746599d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16744,8 +16744,13 @@ (define-public emacs-org-remark
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0npw7niqjhxspnaw4f2wnrjz5wr7qfkib0865hcri3aq8ccd46xr"))))
+                "0npw7niqjhxspnaw4f2wnrjz5wr7qfkib0865hcri3aq8ccd46xr"))
+              (modules '((guix build utils)))
+              (snippet #~(begin (for-each delete-file-recursively
+                                          '("docs/resources" "resources"))))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f))  ; No proper tests.
     (propagated-inputs (list emacs-org))
     (home-page "https://nobiot.github.io/org-remark/")
     (synopsis "Highlight & annotate text using Org mode")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:05 GMT) Full text and rfc822 format available.

Message #26 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 07/28] gnu: emacs-org-board: Skip tests.
Date: Sun, 27 Apr 2025 16:52:41 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-board): Skip tests.
---
 gnu/packages/emacs-xyz.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d68746599d..926cbe015c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31043,6 +31043,7 @@ (define-public emacs-org-board
       (build-system emacs-build-system)
       (arguments
        (list
+        #:tests? #f  ; No tests.
         #:phases
         #~(modify-phases %standard-phases
             (add-after 'unpack 'set-wget-location
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:05 GMT) Full text and rfc822 format available.

Message #29 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 08/28] gnu: emacs-web-beautify: Fix tests.
Date: Sun, 27 Apr 2025 16:52:42 +0200
* gnu/packages/emacs-xyz.scm (emacs-web-beautify):
  [arguments]<test-command>: Set it.
  [native-input]: Add emacs-ert-runner.
---
 gnu/packages/emacs-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 926cbe015c..5f6de3fbb2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27904,6 +27904,9 @@ (define-public emacs-web-beautify
        (sha256
         (base32 "0vms7zz3ym53wf1zdrkbf2ky2xjr1v134ngsd0jr8azyi8siw84d"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command #~(list "ert-runner")))
+    (native-inputs (list emacs-ert-runner))
     (home-page "https://github.com/yasuyk/web-beautify")
     (synopsis "Format HTML, CSS and JavaScript, JSON")
     (description "This package provides an Emacs functions to format HTML,
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:06 GMT) Full text and rfc822 format available.

Message #32 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 12/28] gnu: emacs-parinfer-rust-mode: Fix tests.
Date: Sun, 27 Apr 2025 16:52:46 +0200
* gnu/packages/emacs-xyz.scm (emacs-parinfer-rust-mode):
  [arguments]<test-command>: Set it.
  <phases>: Fix make test accessibility in phase 'configure.
  [native-inputs]: Add emacs-clojure-mode, emacs-ert-runner, emacs-paredit.
---
 gnu/packages/emacs-xyz.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d815bc8534..1ea262f40d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28991,10 +28991,15 @@ (define-public emacs-parinfer-rust-mode
     (build-system emacs-build-system)
     (arguments
      (list
+      #:test-command #~(list "make" "test" "CASK=")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'configure
             (lambda* (#:key inputs #:allow-other-keys)
+              ;; Skip all non-necessary targets.
+              (substitute* "Makefile"
+                (("^test:.*$")
+                 "test:\n"))
               (let ((parinfer-lib
                      (string-append
                       (dirname
@@ -29010,6 +29015,7 @@ (define-public emacs-parinfer-rust-mode
                   ("defcustom parinfer-rust-library-directory" parinfer-lib)
                   ("defconst parinfer-rust--lib-name"
                    "libparinfer_rust.so"))))))))
+    (native-inputs (list emacs-clojure-mode emacs-ert-runner emacs-paredit))
     (inputs (list parinfer-rust-emacs))
     (propagated-inputs (list emacs-track-changes))
     (home-page "https://github.com/justinbarclay/parinfer-rust-mode")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:06 GMT) Full text and rfc822 format available.

Message #35 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 09/28] gnu: emacs-noman: Fix tests.
Date: Sun, 27 Apr 2025 16:52:43 +0200
* gnu/packages/emacs-xyz.scm (emacs-noman): Fix tests.
  [source]<snippet>: Remove unwanted files.
  [arguments]<test-command>: Set it.
  <phases>: Patch tests to find bash.
  [native-inputs]: Add bash, emacs-ert-runner, emacs-f, makem-minimal.
---
 gnu/packages/emacs-xyz.scm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5f6de3fbb2..f735020afa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6485,8 +6485,24 @@ (define-public emacs-noman
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0rh1p9nlhkmhfqmp507rz8hwfgwrdvxx0zba41lxsd2admai90wv"))))
+        (base32 "0rh1p9nlhkmhfqmp507rz8hwfgwrdvxx0zba41lxsd2admai90wv"))
+       (snippet #~(begin
+                    (for-each delete-file
+                              '("makem.sh" "Makefile" "screencast.gif"))))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command
+           #~(list #$(file-append (this-package-native-input "makem")
+                                  "/bin/makem.sh") "test")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'patch-test
+                 (lambda _
+                   (substitute* "tests/noman-tests.el"
+                     (("#!/bin/bash")
+                      (string-append "#!" (which "bash")))))))))
+    (native-inputs
+     (list bash emacs-ert-runner emacs-f makem-minimal))
     (synopsis "Emacs package for browsing CLI command docs without man pages")
     (description
      "Noman is an Emacs package that parses command line help from flags like
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:07 GMT) Full text and rfc822 format available.

Message #38 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 10/28] gnu: emacs-package-build: Disable tests.
Date: Sun, 27 Apr 2025 16:52:44 +0200
* gnu/packages/emacs-xyz.scm (emacs-package-build)[arguments]: Disable
tests.
---
 gnu/packages/emacs-xyz.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f735020afa..d815bc8534 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1351,6 +1351,8 @@ (define-public emacs-package-build
                (base32
                 "165gbrc1h1yj764kn3qq2y1551y04lqnklfa0k87gqgd38q5v985"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f))  ; No tests.
     (home-page "https://github.com/melpa/package-build")
     (synopsis "Tools for assembling an Emacs package archive")
     (description "This package provides tools for assembling an @acronym{ELPA,
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:07 GMT) Full text and rfc822 format available.

Message #41 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 13/28] gnu: emacs-wordnut: Skip tests.
Date: Sun, 27 Apr 2025 16:52:47 +0200
* gnu/packages/emacs-xyz.scm (emacs-wordnut): Skip tests.
  [arguments]<test-command>: Set it.
  <tests?>: Disable them until we found out why it fails.
---
 gnu/packages/emacs-xyz.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1ea262f40d..686428c03f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -32540,6 +32540,10 @@ (define-public emacs-wordnut
                  (search-patches "emacs-wordnut-require-adaptive-wrap.patch"))
                 (file-name (git-file-name name version))))
       (build-system emacs-build-system)
+      (arguments
+       (list #:tests? #f  ; Only one test fail, but it's unclear why it does.
+             #:test-command
+             #~(list "emacs" "-Q" "--script" "test/test_wordnut.el")))
       (propagated-inputs
        (list wordnet emacs-adaptive-wrap))
       (synopsis "Major mode for WordNet")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:08 GMT) Full text and rfc822 format available.

Message #44 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 11/28] gnu: makem-minimal: Fix getopt public accessibility.
Date: Sun, 27 Apr 2025 16:52:45 +0200
* gnu/packages/emacs-build.scm (makem-minimal)[arguments]<phases>:
Ensure phase 'wrap-script also wraps util-linux binary PATH.
---
 gnu/packages/emacs-build.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-build.scm b/gnu/packages/emacs-build.scm
index da6889ffd4..bc56a83e3c 100644
--- a/gnu/packages/emacs-build.scm
+++ b/gnu/packages/emacs-build.scm
@@ -572,7 +572,9 @@ (define-public makem-minimal
                           (map (cut search-input-file inputs <>)
                                (list "bin/find"
                                      "bin/grep"
-                                     "bin/sed")))))))))))
+                                     "bin/sed"
+                                     ;; for util-linux
+                                     "bin/uuidgen")))))))))))
     (native-inputs (list patch))
     (inputs
      (list coreutils-minimal grep sed util-linux))  ; for getopt
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:08 GMT) Full text and rfc822 format available.

Message #47 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 15/28] gnu: emacs-objed: Fix tests.
Date: Sun, 27 Apr 2025 16:52:49 +0200
* gnu/packages/emacs-xyz.scm (emacs-objed): Fix tests.
  [arguments]<test-command>: Set it.
---
 gnu/packages/emacs-xyz.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4dbef01d7a..6867419e88 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -40438,6 +40438,10 @@ (define-public emacs-objed
           (base32
             "1s38d6bvggdk5p45ww1jb4gxifzgjwgw1m6ar920nlg0j4fgbcvr"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command
+           #~(list "emacs" "-Q" "-batch"
+                   "-l" "test/elpa.el" "-l" "test/make-test.el")))
     (home-page "https://github.com/clemera/objed")
     (synopsis "Navigate and edit text objects")
     (description
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:09 GMT) Full text and rfc822 format available.

Message #50 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 14/28] gnu: emacs-ob-async: Skip tests.
Date: Sun, 27 Apr 2025 16:52:48 +0200
* gnu/packages/emacs-xyz.scm (emacs-ob-async): Skip tests.
  [arguments]<test-commands>: Set it.
  [native-inputs]: Add emacs-ert-runner.
---
 gnu/packages/emacs-xyz.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 686428c03f..4dbef01d7a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10526,6 +10526,12 @@ (define-public emacs-ob-async
        (sha256
         (base32 "10x4hxrjm4pr6vg42a961h9ilqzyd0l0fv7fsbq9clxi439f1nd6"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f  ; ~1/2 tests fail.
+           #:test-command
+           #~(list "ert-runner" "--verbose" "--debug" "-l" "ob-async.el")))
+    (native-inputs
+     (list emacs-ert-runner))
     (propagated-inputs
      (list emacs-async emacs-dash))
     (home-page "https://github.com/astahlman/ob-async")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:09 GMT) Full text and rfc822 format available.

Message #53 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 16/28] gnu: emacs-scel: Skip tests.
Date: Sun, 27 Apr 2025 16:52:50 +0200
* gnu/packages/emacs-xyz.scm (emacs-scel): Skip tests.
---
 gnu/packages/emacs-xyz.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6867419e88..43cd8e1330 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11680,6 +11680,7 @@ (define-public emacs-scel
       (build-system emacs-build-system)
       (arguments
        (list
+        #:tests? #f ; No tests.
         #:modules '((guix build emacs-build-system)
                     ((guix build cmake-build-system) #:prefix cmake:)
                     (guix build utils))
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:54:10 GMT) Full text and rfc822 format available.

Message #56 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 17/28] gnu: emacs-idris-mode: Partially enable tests.
Date: Sun, 27 Apr 2025 16:52:51 +0200
* gnu/packages/emacs-xyz.scm (emacs-idris-mode):
  [arguments]<phases>: Add phase 'patch-test, and replace phase
  'check.
  [native-inputs]: Add idris.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 43cd8e1330..c1069a7d6f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -218,6 +218,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages haskell-apps)
   #:use-module (gnu packages ibus)
+  #:use-module (gnu packages idris)
   #:use-module (gnu packages java)
   #:use-module (gnu packages julia-xyz)
   #:use-module (gnu packages ncurses)
@@ -23862,6 +23863,28 @@ (define-public emacs-idris-mode
           (base32
            "1d1f7kx0fw632js7qd1sra5wbpwyamcqs5wpzhyynmr5ybb0vyl7"))))
       (build-system emacs-build-system)
+      (arguments
+       (list #:phases
+             #~(modify-phases %standard-phases
+                 (add-after 'unpack 'patch-tests
+                   (lambda _
+                     (substitute* "Makefile"
+                       (("^test(|2|3): getdeps build" all n)
+                        (string-append "test" n ":" )))))
+                 (replace 'check
+                   (lambda* (#:key tests? #:allow-other-keys)
+                     (if tests?
+                         (begin
+                           (setenv "HOME" (dirname (getcwd)))
+                           (invoke "make" "test")
+                           ;; XXX: History file not writable
+                           ;; (invoke "make" "test2")
+                           ;; XXX: Error reading from stdin
+                           ;; (invoke "make" "test3")
+                           )
+                         (format #t "test suite not run.~%")))))))
+      (native-inputs
+       (list idris))
       (propagated-inputs
        (list emacs-prop-menu))
       (home-page
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:01 GMT) Full text and rfc822 format available.

Message #59 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 19/28] gnu: emacs-org-auto-expand: Skip tests.
Date: Sun, 27 Apr 2025 16:52:53 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-auto-expand): Skip tests.
  [source]: Remove uneeded makem files.
  [arguments]<tests?>: Disable them.
---
 gnu/packages/emacs-xyz.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0edb07bd5c..44f9d48b87 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26480,8 +26480,12 @@ (define-public emacs-org-auto-expand
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1my0c6xmkh37lwi6l472lz9d86lf20h6xcllzlxm1lxa24rhva6v"))))
+                  "1my0c6xmkh37lwi6l472lz9d86lf20h6xcllzlxm1lxa24rhva6v"))
+                (snippet #~(begin
+                             (for-each delete-file
+                                       '("makem.sh" "Makefile"))))))
       (build-system emacs-build-system)
+      (arguments (list #:tests? #f))  ; No tests.
       (propagated-inputs
        (list emacs-org emacs-dash))
       (home-page "https://github.com/alphapapa/org-auto-expand")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:02 GMT) Full text and rfc822 format available.

Message #62 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 18/28] gnu: emacs-scratch-el: Skip tests.
Date: Sun, 27 Apr 2025 16:52:52 +0200
* gnu/packages/emacs-xyz.scm (emacs-scratch-el):
  [arguments]<tests?>: Skip tests.
  <phases>: Add phase 'install-doc.
---
 gnu/packages/emacs-xyz.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c1069a7d6f..0edb07bd5c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24992,16 +24992,15 @@ (define-public emacs-scratch-el
     (native-inputs
      (list texinfo))
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'install 'install-doc
-           (lambda* (#:key outputs #:allow-other-keys)
-             (unless (invoke "makeinfo" "scratch.texi")
-               (error "makeinfo failed"))
-             (install-file "scratch.info"
-                           (string-append (assoc-ref outputs "out")
-                                          "/share/info"))
-             #t)))))
+     (list #:tests? #f ; No tests.
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'install-doc
+                 (lambda _
+                   (unless (invoke "makeinfo" "scratch.texi")
+                     (error "makeinfo failed"))
+                   (install-file "scratch.info"
+                                 (string-append #$output "/share/info")))))))
     (home-page "https://codeberg.org/emacs-weirdware/scratch")
     (synopsis "Create scratch buffers with the same mode as current buffer")
     (description "Scratch is an extension to Emacs that enables one to create
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:02 GMT) Full text and rfc822 format available.

Message #65 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 20/28] gnu: emacs-make-it-so: Disable tests.
Date: Sun, 27 Apr 2025 16:52:54 +0200
* gnu/packages/emacs-xyz.scm (emacs-make-it-so)[arguments]<tests?>:
  Disable them.
---
 gnu/packages/emacs-xyz.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 44f9d48b87..2a9b896e43 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24040,7 +24040,8 @@ (define-public emacs-make-it-so
            "0p6xhyinzzkrwzbpxqfm8hlii0ikvmmylya240bwsa77w0g1k6xq"))))
       (build-system emacs-build-system)
       (arguments
-       `(#:include (cons "^recipes/" %default-include)))
+       `(#:tests? #f  ; No tests.
+         #:include (cons "^recipes/" %default-include)))
       (propagated-inputs
        (list emacs-ivy))
       (home-page "https://github.com/abo-abo/make-it-so")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:03 GMT) Full text and rfc822 format available.

Message #68 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 21/28] gnu: emacs-youtube-dl: Skip tests.
Date: Sun, 27 Apr 2025 16:52:55 +0200
* gnu/packages/emacs-xyz.scm (emacs-youtube-dl): Skip tests.
  [arguments]<test-command>: Set it.
  <tests?>: Ignore failing tests for now.
---
 gnu/packages/emacs-xyz.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2a9b896e43..7dac9b2c02 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31781,7 +31781,9 @@ (define-public emacs-youtube-dl
       (inputs
        (list youtube-dl))
       (arguments
-       `(#:phases
+       `(#:tests? #f  ; Error : standard input is not a tty
+         #:test-command (list "make" "simulate")
+         #:phases
          (modify-phases %standard-phases
            (add-after 'unpack 'configure
              (lambda* (#:key inputs #:allow-other-keys)
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:03 GMT) Full text and rfc822 format available.

Message #71 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 22/28] gnu: emacs-plantuml-mode: Refresh package.
Date: Sun, 27 Apr 2025 16:52:56 +0200
* gnu/packages/emacs-xyz.scm (emacs-plantuml-mode):
  [arguments]: Improve style, rewrite using gexps.
  <phases>: Add symlink for tests in phase 'use-local-plantuml.
  <tests?>: Disable them for now.
  <test-command>: Set it.
  [native-inputs]: Add emacs-ert-runner, icedtea.
---
 gnu/packages/emacs-xyz.scm | 54 ++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7dac9b2c02..d93727cb1b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -40950,32 +40950,34 @@ (define-public emacs-plantuml-mode
        (sha256
         (base32 "0yp41d2dmf3sx7qnl5x0zdjcr9y71b2wwc9m0q31v22xqn938ipc"))))
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'use-local-plantuml
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((plantuml (assoc-ref inputs "plantuml"))
-                   (file "plantuml-mode.el"))
-               (chmod file #o644)
-               (emacs-substitute-variables file
-                 ("plantuml-jar-path"
-                  (string-append plantuml "/share/java/plantuml.jar"))
-                 ("plantuml-executable-path"
-                  (string-append plantuml "/bin/plantuml"))
-                 ("plantuml-server-url" 'nil)
-                 ("plantuml-default-exec-mode" ''executable))
-               (emacs-batch-edit-file file
-                 `(progn (progn
-                          (goto-char (point-min))
-                          (re-search-forward "(defun plantuml-download-jar")
-                          (beginning-of-line)
-                          (kill-sexp))
-                         (basic-save-buffer)))
-               #t))))))
-    (inputs
-     (list plantuml))
-    (propagated-inputs
-     (list emacs-dash))
+     (list
+      #:tests? #f  ; Unclear why tests fail.
+      #:test-command #~(list "ert-runner")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'use-local-plantuml
+            (lambda* (#:key inputs #:allow-other-keys)
+              (symlink (search-input-file inputs "/bin/plantuml")
+                       "bin/plantuml")
+              (let ((file "plantuml-mode.el"))
+                (chmod file #o644)
+                (emacs-substitute-variables file
+                  ("plantuml-jar-path"
+                   (search-input-file inputs "/share/java/plantuml.jar"))
+                  ("plantuml-executable-path"
+                   (search-input-file inputs "/bin/plantuml"))
+                  ("plantuml-server-url" 'nil)
+                  ("plantuml-default-exec-mode" ''executable))
+                (emacs-batch-edit-file file
+                  `(progn (progn
+                           (goto-char (point-min))
+                           (re-search-forward "(defun plantuml-download-jar")
+                           (beginning-of-line)
+                           (kill-sexp))
+                          (basic-save-buffer)))))))))
+    (inputs (list plantuml))
+    (native-inputs (list emacs-ert-runner icedtea))
+    (propagated-inputs (list emacs-dash))
     (build-system emacs-build-system)
     (home-page "https://github.com/skuro/plantuml-mode")
     (synopsis "Major mode for editing PlantUML sources")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:04 GMT) Full text and rfc822 format available.

Message #74 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 23/28] gnu: emacs-poly-r: Fix tests.
Date: Sun, 27 Apr 2025 16:52:57 +0200
* gnu/packages/statistics.scm (emacs-poly-r): Fix tests.
  [arguments]<test-commands>: Set it.
---
 gnu/packages/statistics.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index dcbc341158..80b87ae25f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3006,6 +3006,10 @@ (define-public emacs-poly-r
        (sha256
         (base32 "0a4wx73jkngw5nbq1fa4jfhba6bsmyn6vnsf887x3xhb5v3ykhsg"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command
+           #~(list "emacs" "-Q" "-batch" "--load" "targets/melpa-init.el"
+                   "--load" "targets/test.el")))
     (propagated-inputs
      (list emacs-ess emacs-poly-noweb emacs-polymode-markdown
            emacs-polymode))
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:04 GMT) Full text and rfc822 format available.

Message #77 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 24/28] gnu: emacs-moody: Enable minimal tests.
Date: Sun, 27 Apr 2025 16:52:58 +0200
* gnu/packages/emacs-xyz.scm (emacs-moody): Enable minimal tests.
  [arguments]<test-command>: Set it.
---
 gnu/packages/emacs-xyz.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d93727cb1b..ce51b8fe66 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2399,6 +2399,8 @@ (define-public emacs-moody
        (sha256
         (base32 "1byphhdp41cn2qs91la6fvgzrwgbyx4yaajknvwz8qxzgl2c4aq2"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command #~(list "make" "check-declare")))
     (propagated-inputs
      (list emacs-compat))
     (home-page "https://github.com/tarsius/moody")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:05 GMT) Full text and rfc822 format available.

Message #80 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 25/28] gnu: emacs-sourcemap: Fix tests.
Date: Sun, 27 Apr 2025 16:52:59 +0200
* gnu/packages/emacs-xyz.scm (emacs-sourcemap): Fix tests.
  [arguments]<test-command>: Set it.
---
 gnu/packages/emacs-xyz.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ce51b8fe66..c20104bb80 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27487,6 +27487,10 @@ (define-public emacs-sourcemap
        (sha256
         (base32 "115g2mfpbfywp8xnag4gsb50klfvplqfh928a5mabb5s8v4a3582"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command
+           #~(list "emacs" "-Q" "-batch" "-L" "." "-l" "test/test-sourcemap.el"
+                   "-f" "ert-run-tests-batch-and-exit")))
     (home-page "https://github.com/syohex/emacs-sourcemap")
     (synopsis "Sourcemap parser")
     (description "Sourcemap parser")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:05 GMT) Full text and rfc822 format available.

Message #83 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 26/28] gnu: emacs-keycast: Fix tests.
Date: Sun, 27 Apr 2025 16:53:00 +0200
* gnu/packages/emacs-xyz.scm (emacs-keycast): Fix tests.
  [arguments]<test-command>: Set it.
---
 gnu/packages/emacs-xyz.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c20104bb80..1f5b08633a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7216,6 +7216,8 @@ (define-public emacs-keycast
        (sha256
         (base32 "130jfvy3pr3syqk6xaz910nignja32bzfnx342rr927jwa1vprfm"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command #~(list "make" "check-declare")))
     (propagated-inputs
      (list emacs-compat))
     (home-page "https://github.com/tarsius/keycast")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:06 GMT) Full text and rfc822 format available.

Message #86 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 27/28] gnu: emacs-sparql-mode: Skip tests.
Date: Sun, 27 Apr 2025 16:53:01 +0200
* gnu/packages/emacs-xyz.scm (emacs-sparql-mode): Skip tests.
  [arguments]<test-command>: Set it.
  <tests?>: Skip tests.
---
 gnu/packages/emacs-xyz.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1f5b08633a..20aef48183 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15872,6 +15872,11 @@ (define-public emacs-sparql-mode
        (sha256
         (base32 "0hqp8r24wvzrkl630wbm0lynrcrnawv2yn2a3xgwqwwhwgva35rn"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f  ; XXX: Fails with wrong number of arguments.
+           #:test-command #~(list "ert-runner")))
+    (native-inputs
+     (list emacs-ert-runner))
     (propagated-inputs
      (list emacs-company))
     (home-page "https://github.com/ljos/sparql-mode")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78095; Package guix-patches. (Sun, 27 Apr 2025 14:55:06 GMT) Full text and rfc822 format available.

Message #89 received at 78095 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78095 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 28/28] gnu: emacs-org-trello: Skip tests.
Date: Sun, 27 Apr 2025 16:53:02 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-trello): Skip tests.
  [arguments]<test-command>: Set it.
  <tests?>: Skip tests.
  [native-inputs]: Add emacs-ert-runner, emacs-undercover.
---
 gnu/packages/emacs-xyz.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 20aef48183..99e4d65023 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13056,6 +13056,10 @@ (define-public emacs-org-trello
         (base32
          "18y5zdjc7zh4jlwz6k1nl13i721rknqm0vp4mxfnmq0sc5a0qva0"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f  ; Old incompatible version of dash is used.
+           #:test-command #~(list "ert-runner")))
+    (native-inputs (list emacs-ert-runner emacs-undercover))
     (propagated-inputs
      (list emacs-dash
            emacs-deferred
-- 
2.49.0





This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.