]> git.eshelyaron.com Git - emacs.git/commitdiff
Adapt treesitter tests for EMBA
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 4 Apr 2024 14:51:55 +0000 (16:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 5 Apr 2024 12:11:40 +0000 (14:11 +0200)
* 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.

(cherry picked from commit c2e0ebf752cef595de16140933f51e810e0d4061)

test/infra/Makefile.in
test/infra/test-jobs.yml

index 5ae32e7e005ff6543a5056f404c1b3632fd20c5c..20fa9021abc4cc88627e06f4710594d39ccdcae6 100644 (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)
index 1f5d607eda4b8c74a21c645e097c109e0cdad6f6..095964ee4ed3d1de75c2322ef63f9335505bef76 100644 (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