Subject: [bug#76686] [PATCH emacs-team 00/45] Test emacs packages by default

From: Liliana Marie Prikler <[email-masked]>
Date: Sun, 2 Mar 2025 15:25:43 +0100

Hi folks,

this patch adds code – similar to what we have in other ecosystems – to
make an educated guess on what test framework is used and use it.  Newly
packaged Emacs libraries should thus expect to be tested with tests
needing to be explicitly disabled otherwise; just like in the rest of
Guix.

Cheers

Liliana Marie Prikler (45):
  build-system: emacs: Enable tests when not cross-compiling.
  build-system: emacs: Guess test framework.
  gnu: emacs-el-mock: Add missing inputs.
  gnu: emacs-epl: Add missing input.
  gnu: emacs-list-utils: Provide test command.
  gnu: emacs-helpful: Fix build.
  gnu: emacs-helpful: Use implicit “ert-runner”.
  gnu: emacs-popup: Fix build.
  gnu: emacs-auto-complete: Fix build.
  gnu: emacs-shrink-path: Add missing input.
  gnu: emacs-yasnippet: Fix build.
  gnu: emacs-elpy: Record failing tests for Emacs 30.
  gnu: emacs-elpy: Use implicit “ert-runner”.
  gnu: emacs-ac-php: Use implicit “ert-runner”.
  gnu: emacs-pug-mode: Use implicit “ert-runner”.
  gnu: emacs-graphql: Use implicit “ert-runner”.
  gnu: emacs-relative-buffers: Use implicit “ert-runner”.
  gnu: emacs-go-mode: Use implicit “ert-runner”.
  gnu: emacs-string-inflection: Use implicit “ert-runner”.
  gnu: emacs-elquery: Use implicit “ert-runner”.
  gnu: emacs-cov: Use implicit “ert-runner”.
  gnu: emacs-skeletor: Use implicit “ert-runner”.
  gnu: emacs-mocker: Use implicit “ert-runner”.
  gnu: emacs-pyvenv: Use implicit “ert-runner”.
  gnu: emacs-islisp-mode: Use implicit “ert-runner”.
  gnu: emacs-ht: Use implicit “ert-runner”.
  gnu: emacs-json-reformat: Use implicit “ert-runner”.
  gnu: emacs-browse-at-remote: Use implicit “ert-runner”.
  gnu: emacs-groovy-modes: Use implicit “ert-runner”.
  gnu: emacs-loop: Use implicit “ert-runner”.
  gnu: emacs-elisp-refs: Use implicit “ert-runner”.
  gnu: emacs-suggest: Use implicit “ert-runner”.
  gnu: emacs-dumb-jump: Use implicit “ert-runner”.
  gnu: emacs-helm-company: Use implicit “ert-runner”.
  gnu: emacs-deadgrep: Use implicit “ert-runner”.
  gnu: emacs-racer: Use implicit “ert-runner”.
  gnu: emacs-libmpdel: Use implicit “ert-runner”.
  gnu: emacs-navigel: Use implicit “ert-runner”.
  gnu: emacs-detached: Use implicit “ert-runner”.
  gnu: emacs-bfuture: Use implicit “ert-runner”.
  gnu: emacs-tco-el: Use implicit “ert-runner”.
  gnu: emacs-dash-docs: Use implicit “ert-runner”.
  gnu: emacs-doom-themes: Use implicit “ert-runner”.
  gnu: emacs-doom-modeline: Use implicit “ert-runner”.
  gnu: emacs-org-cliplink: Use implicit “ert-runner”.

 gnu/local.mk                                  |   1 +
 gnu/packages/emacs-xyz.scm                    | 409 +++++-------------
 .../patches/emacs-helpful-fix-signature.patch |  34 ++
 .../patches/emacs-helpful-fix-tests.patch     |  20 +-
 guix/build-system/emacs.scm                   |   4 +-
 guix/build/emacs-build-system.scm             |  35 +-
 6 files changed, 186 insertions(+), 317 deletions(-)
 create mode 100644 gnu/packages/patches/emacs-helpful-fix-signature.patch

base-commit: 725917beddf8454f92d01de7a3cfcc283100f43b
-- 
2.48.1