diff options
| author | kestrel <kestrel.w@proton.me> | 2026-03-24 17:33:38 +0300 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-03-24 15:42:20 +0100 |
| commit | b0fa1dc468f8285f4593b9bbdc182640e72114f1 (patch) | |
| tree | 2fb7fa32f579fcd585d4bf8dee875cea9fd8e13f | |
| parent | d5ef3707a54ce6896949dae4653806cccc6c8984 (diff) | |
gnu: emacs-doric-themes: Enable tests.
* emacs-xyz.scm (emacs-doric-themes):
[arguments]: Enable tests. Add #:test-command.
[origin]: Patch failing tests.
Merges guix/guix!7419
Change-Id: Idea6f64557584ecafaec61b62a6c7121cb045322
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d91afd0c41f..692dbd4cc67 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9182,9 +9182,20 @@ something with a bit more flair than the Modus themes.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "15mmpab2nh7imdza8p4wy27x4ckfi9dnqjm5a1k9ix02d0i3b3yz")))) + (base32 "15mmpab2nh7imdza8p4wy27x4ckfi9dnqjm5a1k9ix02d0i3b3yz")) + (modules '((guix build utils))) + (snippet #~(begin + ;; This variable is only mentioned in the tests. See + ;; https://github.com/protesilaos/doric-themes/issues/25 + (substitute* "tests/doric-themes-test.el" + (("doric-themes-success-background-faces") "")))))) (build-system emacs-build-system) - (arguments (list #:tests? #f)) ;no tests + (arguments + (list #:test-command + #~(list "emacs" "--batch" "-Q" + "-l" "tests/doric-themes-test.el" + "-f" "ert-run-tests-batch-and-exit"))) + (native-inputs (list emacs-ert-runner)) (home-page "https://github.com/protesilaos/doric-themes") (synopsis "Highly readable minimalist Emacs themes") (description |
