Adapt treesitter tests for EMBA

* test/infra/Makefile.in (TREE-SITTER-FILES): Add js-tests.el and
python-tests.el, which don't follow test file name convention.

* test/infra/test-jobs.yml: Regenerate.
This commit is contained in:
Michael Albinus 2024-04-04 16:51:55 +02:00
parent 77022a0d73
commit c2e0ebf752
2 changed files with 7 additions and 1 deletions

View file

@ -108,8 +108,10 @@ endef
$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir))))
# js-tests.el and python-tests.el don't follow test file name convention.
TREE-SITTER-FILES ?= $(shell cd .. ; \
find lisp src \( -name "*-ts-mode-tests.el" -o -name "treesit-tests.el" \) | \
find lisp src \( -name "*-ts-mode-tests.el" -o -name "treesit-tests.el" \
-o -name "js-tests.el" -o -name "python-tests.el" \) | \
sort | sed s/\\.el/.log/)
all: generate-test-jobs
@ -120,6 +122,7 @@ generate-test-jobs: $(FILE) $(SUBDIR_TARGETS) tree-sitter-files-template
tree-sitter-files-template:
@echo >>$(FILE)
@echo "# js-tests.el and python-tests.el don't follow test file name convention." >>$(FILE)
@echo '.tree-sitter-files-template:' >>$(FILE)
@echo ' variables:' >>$(FILE)
@echo ' tree_sitter_files: >-' >>$(FILE)

View file

@ -572,6 +572,7 @@ test-src-inotify:
target: emacs-inotify
make_params: "-k -C test check-src"
# js-tests.el and python-tests.el don't follow test file name convention.
.tree-sitter-files-template:
variables:
tree_sitter_files: >-
@ -580,7 +581,9 @@ test-src-inotify:
lisp/progmodes/go-ts-mode-tests.log
lisp/progmodes/heex-ts-mode-tests.log
lisp/progmodes/java-ts-mode-tests.log
lisp/progmodes/js-tests.log
lisp/progmodes/lua-ts-mode-tests.log
lisp/progmodes/python-tests.log
lisp/progmodes/ruby-ts-mode-tests.log
lisp/progmodes/typescript-ts-mode-tests.log
src/treesit-tests.log