mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Make tree-sitter tests work installed in .emacs.d/tree-sitter
* test/Makefile.in (ert_opts): Set treesit-extra-load-path, because HOME is not valid when running tests from the Makefile (bug#69405).
This commit is contained in:
parent
25cfccfb8b
commit
a67b8d7f44
1 changed files with 4 additions and 0 deletions
|
|
@ -92,6 +92,10 @@ export TEST_LOAD_EL ?= \
|
|||
# Additional settings for ert.
|
||||
ert_opts =
|
||||
|
||||
# Supply a path to local tree-sitter installations, as we run tests
|
||||
# without a valid HOME.
|
||||
ert_opts += --eval "(setq treesit-extra-load-path '(\"$(HOME)/.emacs.d/tree-sitter\"))"
|
||||
|
||||
# Maximum length of lines in ert backtraces; nil for no limit.
|
||||
# (if empty, use the default ert-batch-backtrace-right-margin).
|
||||
TEST_BACKTRACE_LINE_LENGTH =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue