mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +02:00
gnu: emacs-tomelr: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-tomelr) [arguments]{test-command}: Set it. {phases}: Add phase 'patch-tests to fix test run. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
62f02b699f
commit
4526f8bb08
1 changed files with 13 additions and 0 deletions
|
@ -42845,6 +42845,19 @@ local macros are documented in the docstring for @code{setup}.")
|
|||
(base32 "03iih7arjlfg8gdp4v2xglas9z519q1s11l28igr8l0m5y0pdrnk"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-command
|
||||
#~(list "emacs" "--batch" "-L" "test" "-l" "all-tests.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'patch-tests
|
||||
(lambda _
|
||||
(setenv "HOME" (dirname (getcwd)))
|
||||
(substitute* "test/all-tests.el"
|
||||
(("\\(file-truename \\(vc-git-root default-directory\\)\\)")
|
||||
(format #f "~s" (getcwd)))))))))
|
||||
(propagated-inputs (list emacs-map emacs-seq))
|
||||
(home-page "https://github.com/kaushalmodi/tomelr/")
|
||||
(synopsis "Emacs-Lisp library for converting S-expressions to TOML")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue