aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2024-07-15 19:24:56 +0200
committerMichael Albinus2024-07-16 10:11:10 +0200
commit7d8ff5a56c52ed8917d9f45f2b113cfd3de7d497 (patch)
treeb90afd9e2fd0c8ddf23dfc714ca9a004bf7e9521
parent06ce99b76a8e5823f003f4e0dee945d97d0271ea (diff)
downloademacs-7d8ff5a56c52ed8917d9f45f2b113cfd3de7d497.tar.gz
emacs-7d8ff5a56c52ed8917d9f45f2b113cfd3de7d497.zip
Adapt tressitter tests on EMBA
* test/infra/Makefile.in (TREE-SITTER-FILES): Simplify. * test/infra/test-jobs.yml: Regenerate.
-rw-r--r--test/infra/Makefile.in8
-rw-r--r--test/infra/test-jobs.yml3
2 files changed, 2 insertions, 9 deletions
diff --git a/test/infra/Makefile.in b/test/infra/Makefile.in
index 0144ad1cbd9..3e462add494 100644
--- a/test/infra/Makefile.in
+++ b/test/infra/Makefile.in
@@ -117,12 +117,8 @@ endef
117 117
118$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir)))) 118$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir))))
119 119
120# csharp-mode-tests.el, js-tests.el and python-tests.el don't follow
121# test file name convention.
122TREE-SITTER-FILES ?= $(shell cd .. ; \ 120TREE-SITTER-FILES ?= $(shell cd .. ; \
123 find lisp src \( -name "*-ts-mode-tests.el" -o -name "treesit-tests.el" \ 121 find lisp src -name "*-tests.el" | xargs grep -El "treesit.*-p" | \
124 -o -name "csharp-mode-tests.el" -o -name "js-tests.el" \
125 -o -name "python-tests.el" \) | \
126 sort | sed s/\\.el/.log/) 122 sort | sed s/\\.el/.log/)
127 123
128all: generate-test-jobs 124all: generate-test-jobs
@@ -133,8 +129,6 @@ generate-test-jobs: $(FILE) $(SUBDIR_TARGETS) tree-sitter-files
133 129
134tree-sitter-files: 130tree-sitter-files:
135 @echo >>$(FILE) 131 @echo >>$(FILE)
136 @echo "# csharp-mode-tests.el, js-tests.el and python-tests.el don't follow" >>$(FILE)
137 @echo "# test file name convention." >>$(FILE)
138 @echo '.tree-sitter-files:' >>$(FILE) 132 @echo '.tree-sitter-files:' >>$(FILE)
139 @echo ' variables:' >>$(FILE) 133 @echo ' variables:' >>$(FILE)
140 @echo ' tree_sitter_files: >-' >>$(FILE) 134 @echo ' tree_sitter_files: >-' >>$(FILE)
diff --git a/test/infra/test-jobs.yml b/test/infra/test-jobs.yml
index 13b184b1277..180f29947ca 100644
--- a/test/infra/test-jobs.yml
+++ b/test/infra/test-jobs.yml
@@ -577,11 +577,10 @@ test-src-inotify:
577 target: emacs-inotify 577 target: emacs-inotify
578 make_params: -C test check-src 578 make_params: -C test check-src
579 579
580# csharp-mode-tests.el, js-tests.el and python-tests.el don't follow
581# test file name convention.
582.tree-sitter-files: 580.tree-sitter-files:
583 variables: 581 variables:
584 tree_sitter_files: >- 582 tree_sitter_files: >-
583 lisp/align-tests.log
585 lisp/progmodes/csharp-mode-tests.log 584 lisp/progmodes/csharp-mode-tests.log
586 lisp/progmodes/c-ts-mode-tests.log 585 lisp/progmodes/c-ts-mode-tests.log
587 lisp/progmodes/elixir-ts-mode-tests.log 586 lisp/progmodes/elixir-ts-mode-tests.log