* test/infra/Makefile.in: Revert tree-sitter relevant changes.
* test/infra/gitlab-ci.yml (test-tree-sitter): Remove
.tree-sitter-files-template. List files explicitly.
* test/infra/test-jobs.yml: Regenerate.
$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir))))
-TREE-SITTER-FILES ?= '"'$(shell cd .. ; find lisp -name "*-ts-*.el" | sort | sed s/\\.el/.log/)'"'
-
all: generate-test-jobs
-.PHONY: generate-test-jobs $(FILE) $(SUBDIR_TARGETS) tree-sitter-files-template
-
-generate-test-jobs: $(FILE) $(SUBDIR_TARGETS) tree-sitter-files-template
+.PHONY: generate-test-jobs $(FILE) $(SUBDIR_TARGETS)
-tree-sitter-files-template:
- @echo >>$(FILE)
- @echo '.tree-sitter-files-template:' >>$(FILE)
- @echo ' variables:' >>$(FILE)
- @echo ' tree-sitter-files: >-' >>$(FILE)
- @for name in $(TREE-SITTER-FILES) ; do echo " $${name}" >>$(FILE) ; done
+generate-test-jobs: $(FILE) $(SUBDIR_TARGETS)
$(FILE):
$(AM_V_GEN)
test-tree-sitter:
stage: platforms
- extends: [.job-template, .test-template, .tree-sitter-template, .tree-sitter-files-template]
+ extends: [.job-template, .test-template, .tree-sitter-template]
needs:
- job: build-image-tree-sitter
optional: true
variables:
target: emacs-tree-sitter
# This is needed in order to get a JUnit test report.
- make_params: '-k -C test check-expensive LD_LIBRARY_PATH=/usr/local/lib/tree-sitter LOGFILES="$tree-sitter-files"'
+ files: >-
+ lisp/progmodes/c-ts-mode-tests.log
+ lisp/progmodes/elixir-ts-mode-tests.log
+ lisp/progmodes/go-ts-mode-tests.log
+ lisp/progmodes/heex-ts-mode-tests.log
+ lisp/progmodes/java-ts-mode-tests.log
+ lisp/progmodes/ruby-ts-mode-tests.log
+ lisp/progmodes/typescript-ts-mode-tests.log
+ make_params: '-k -C test check-expensive LD_LIBRARY_PATH=/usr/local/lib/tree-sitter LOGFILES="$files"'
build-image-gnustep:
stage: platform-images
variables:
target: emacs-inotify
make_params: "-k -C test check-src"
-
-.tree-sitter-files-template:
- variables:
- tree-sitter-files: >-
- "lisp/progmodes/c-ts-mode-tests.log
- lisp/progmodes/elixir-ts-mode-tests.log
- lisp/progmodes/go-ts-mode-tests.log
- lisp/progmodes/heex-ts-mode-tests.log
- lisp/progmodes/java-ts-mode-tests.log
- lisp/progmodes/ruby-ts-mode-tests.log
- lisp/progmodes/typescript-ts-mode-tests.log"