Adapt tressitter tests on EMBA

* test/infra/Makefile.in (TREE-SITTER-FILES): Simplify.

* test/infra/test-jobs.yml: Regenerate.
This commit is contained in:
Michael Albinus 2024-07-15 19:24:56 +02:00
parent 06ce99b76a
commit 7d8ff5a56c
2 changed files with 2 additions and 9 deletions

View file

@ -117,12 +117,8 @@ endef
$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir))))
# csharp-mode-tests.el, 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" \
-o -name "csharp-mode-tests.el" -o -name "js-tests.el" \
-o -name "python-tests.el" \) | \
find lisp src -name "*-tests.el" | xargs grep -El "treesit.*-p" | \
sort | sed s/\\.el/.log/)
all: generate-test-jobs
@ -133,8 +129,6 @@ generate-test-jobs: $(FILE) $(SUBDIR_TARGETS) tree-sitter-files
tree-sitter-files:
@echo >>$(FILE)
@echo "# csharp-mode-tests.el, js-tests.el and python-tests.el don't follow" >>$(FILE)
@echo "# test file name convention." >>$(FILE)
@echo '.tree-sitter-files:' >>$(FILE)
@echo ' variables:' >>$(FILE)
@echo ' tree_sitter_files: >-' >>$(FILE)

View file

@ -577,11 +577,10 @@ test-src-inotify:
target: emacs-inotify
make_params: -C test check-src
# csharp-mode-tests.el, js-tests.el and python-tests.el don't follow
# test file name convention.
.tree-sitter-files:
variables:
tree_sitter_files: >-
lisp/align-tests.log
lisp/progmodes/csharp-mode-tests.log
lisp/progmodes/c-ts-mode-tests.log
lisp/progmodes/elixir-ts-mode-tests.log