aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuhail Singh <suhailsingh247@gmail.com>2025-04-02 10:42:12 -0400
committerAndreas Enge <andreas@enge.fr>2025-04-03 19:55:09 +0200
commit52ce48e754a77675da69e14d8f0dfa5fb76539ef (patch)
tree7342ed45e35a3f8361916935dcac8e6ff843c73a
parent78158c05e49a3325adf800d0236f094401a8d7c2 (diff)
downloadguix-52ce48e754a77675da69e14d8f0dfa5fb76539ef.tar.gz
guix-52ce48e754a77675da69e14d8f0dfa5fb76539ef.zip
gnu: emacs-ellama: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-ellama)[arguments]: Enable tests; skip failing. Change-Id: I1b468c7b30ad35ae553d354ef63da2d4d1c056a7 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/emacs-xyz.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c79e1e507e..0c49bb5d4d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5790,6 +5790,20 @@ that the binary uses instead of the actual binary contents.")
(sha256 (base32
"1019vwrm95ck2gi29mvwd7sy753zgwa3addw2x0qbhvb3r53620v"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ (substitute* (find-files "tests/" "\\.el$")
+ (("\\(ert-deftest test-ellama-context-element-extract-info-node .*" all)
+ (string-append all "(skip-unless nil)\n"))))))
+ #:tests? #t
+ #:test-command #~(list "emacs" "-Q" "--batch"
+ "-l" "ellama.el"
+ "-l" "tests/test-ellama.el"
+ "-f" "ert-run-tests-batch-and-exit")))
(propagated-inputs (list emacs-compat emacs-llm emacs-plz emacs-transient))
(home-page "https://github.com/s-kostyaev/ellama")
(synopsis "Tool for interacting with LLMs")