[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a67b8d7f448: Make tree-sitter tests work installed in .emacs.d/tr
From: |
Mattias Engdegård |
Subject: |
master a67b8d7f448: Make tree-sitter tests work installed in .emacs.d/tree-sitter |
Date: |
Mon, 26 Feb 2024 12:47:29 -0500 (EST) |
branch: master
commit a67b8d7f448804d34bce85d2b6ab8d022f14161f
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
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).
---
test/Makefile.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/Makefile.in b/test/Makefile.in
index 720f5c7ff8c..3cbdbec4414 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -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 =
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master a67b8d7f448: Make tree-sitter tests work installed in .emacs.d/tree-sitter,
Mattias Engdegård <=