[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c2e0ebf752c: Adapt treesitter tests for EMBA
From: |
Michael Albinus |
Subject: |
master c2e0ebf752c: Adapt treesitter tests for EMBA |
Date: |
Thu, 4 Apr 2024 10:52:14 -0400 (EDT) |
branch: master
commit c2e0ebf752cef595de16140933f51e810e0d4061
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
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.
---
test/infra/Makefile.in | 5 ++++-
test/infra/test-jobs.yml | 3 +++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/test/infra/Makefile.in b/test/infra/Makefile.in
index 5ae32e7e005..20fa9021abc 100644
--- a/test/infra/Makefile.in
+++ b/test/infra/Makefile.in
@@ -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)
diff --git a/test/infra/test-jobs.yml b/test/infra/test-jobs.yml
index 1f5d607eda4..095964ee4ed 100644
--- a/test/infra/test-jobs.yml
+++ b/test/infra/test-jobs.yml
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c2e0ebf752c: Adapt treesitter tests for EMBA,
Michael Albinus <=