mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
78158c05e4
commit
52ce48e754
1 changed files with 14 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue