[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69405: [PATCH] .emacs.d/tree-sitter/ not used in tree-sitter tests
From: |
Mattias Engdegård |
Subject: |
bug#69405: [PATCH] .emacs.d/tree-sitter/ not used in tree-sitter tests |
Date: |
Mon, 26 Feb 2024 14:36:39 +0100 |
The .emacs.d/tree-sitter/ directory isn't searched when running tests
non-interactively. The Makefile sets HOME to /nonexistent, which is correct but
has the unfortunate side-effect of not running all the tests properly even with
the compiled grammars installed.
The attached patch adds an environment variable, EMACS_TREE_SITTER_DIR, and
sets it in the Makefile. I didn't bother documenting it because it's only
intended for use in our own tests.
test-treesit-dir.diff
Description: Binary data
- bug#69405: [PATCH] .emacs.d/tree-sitter/ not used in tree-sitter tests,
Mattias Engdegård <=