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>
This commit is contained in:
Suhail Singh 2025-04-02 10:42:12 -04:00 committed by Andreas Enge
parent 78158c05e4
commit 52ce48e754
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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")