[bug#77131,03/51] gnu: emacs-magit-todos: Disable absent tests.

Message ID 20250320100907.20485-3-ngraves@ngraves.fr
State New
Headers
Series [bug#77131,01/51] gnu: Add (gnu packages emacs-build) module. |

Commit Message

Nicolas Graves March 20, 2025, 10:08 a.m. UTC
  * gnu/packages/emacs-xyz.scm (emacs-magit-todos)[source]: Delete
Makefile and makem.sh to disable tests search, there are none.
[arguments]{tests?}: Disable tests.
---
 gnu/packages/emacs-xyz.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bd3f379910..b744d72333 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30749,8 +30749,16 @@  (define-public emacs-magit-todos
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0rjr5q73609bs8gx2h5lp7c7bk5nkplfqfd56ifwdrdzdfzn5khy"))))
+         "0rjr5q73609bs8gx2h5lp7c7bk5nkplfqfd56ifwdrdzdfzn5khy"))
+       (modules '((guix build utils)))
+       (snippet #~(begin
+                    (delete-file-recursively "screenshots")
+                    ;; Contents of makem package, but no tests.
+                    (for-each delete-file
+                              '("makem.sh" "Makefile"))))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f)) ; No tests in source.
     (propagated-inputs
      (list emacs-async
            emacs-dash