diff options
| author | Michael Albinus | 2024-07-15 19:24:56 +0200 |
|---|---|---|
| committer | Michael Albinus | 2024-07-16 10:11:10 +0200 |
| commit | 7d8ff5a56c52ed8917d9f45f2b113cfd3de7d497 (patch) | |
| tree | b90afd9e2fd0c8ddf23dfc714ca9a004bf7e9521 | |
| parent | 06ce99b76a8e5823f003f4e0dee945d97d0271ea (diff) | |
| download | emacs-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.in | 8 | ||||
| -rw-r--r-- | test/infra/test-jobs.yml | 3 |
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. | ||
| 122 | TREE-SITTER-FILES ?= $(shell cd .. ; \ | 120 | TREE-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 | ||
| 128 | all: generate-test-jobs | 124 | all: generate-test-jobs |
| @@ -133,8 +129,6 @@ generate-test-jobs: $(FILE) $(SUBDIR_TARGETS) tree-sitter-files | |||
| 133 | 129 | ||
| 134 | tree-sitter-files: | 130 | tree-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 |