diff options
| author | Po Lu | 2023-06-03 08:55:45 +0800 |
|---|---|---|
| committer | Po Lu | 2023-06-03 08:55:45 +0800 |
| commit | d84cbcb8ce970d8a54e164a5ef6f0074c0e59f91 (patch) | |
| tree | f27b5e17c45cc2331978f71759e8ab99e0420edc | |
| parent | f16a3f244080081a4e453424ffdc007d125e4f63 (diff) | |
| parent | f947a0219bb6e43966e0e4e61ad6a15b0ed13e18 (diff) | |
| download | emacs-d84cbcb8ce970d8a54e164a5ef6f0074c0e59f91.tar.gz emacs-d84cbcb8ce970d8a54e164a5ef6f0074c0e59f91.zip | |
Merge remote-tracking branch 'origin/master' into feature/android
| -rw-r--r-- | test/infra/Makefile.in | 13 | ||||
| -rw-r--r-- | test/infra/gitlab-ci.yml | 12 | ||||
| -rw-r--r-- | test/infra/test-jobs.yml | 11 |
3 files changed, 12 insertions, 24 deletions
diff --git a/test/infra/Makefile.in b/test/infra/Makefile.in index 057d44f6539..5d40698541d 100644 --- a/test/infra/Makefile.in +++ b/test/infra/Makefile.in | |||
| @@ -100,20 +100,11 @@ endef | |||
| 100 | 100 | ||
| 101 | $(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir)))) | 101 | $(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir)))) |
| 102 | 102 | ||
| 103 | TREE-SITTER-FILES ?= '"'$(shell cd .. ; find lisp -name "*-ts-*.el" | sort | sed s/\\.el/.log/)'"' | ||
| 104 | |||
| 105 | all: generate-test-jobs | 103 | all: generate-test-jobs |
| 106 | 104 | ||
| 107 | .PHONY: generate-test-jobs $(FILE) $(SUBDIR_TARGETS) tree-sitter-files-template | 105 | .PHONY: generate-test-jobs $(FILE) $(SUBDIR_TARGETS) |
| 108 | |||
| 109 | generate-test-jobs: $(FILE) $(SUBDIR_TARGETS) tree-sitter-files-template | ||
| 110 | 106 | ||
| 111 | tree-sitter-files-template: | 107 | generate-test-jobs: $(FILE) $(SUBDIR_TARGETS) |
| 112 | @echo >>$(FILE) | ||
| 113 | @echo '.tree-sitter-files-template:' >>$(FILE) | ||
| 114 | @echo ' variables:' >>$(FILE) | ||
| 115 | @echo ' tree-sitter-files: >-' >>$(FILE) | ||
| 116 | @for name in $(TREE-SITTER-FILES) ; do echo " $${name}" >>$(FILE) ; done | ||
| 117 | 108 | ||
| 118 | $(FILE): | 109 | $(FILE): |
| 119 | $(AM_V_GEN) | 110 | $(AM_V_GEN) |
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 213176bef70..ce2a92620fb 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml | |||
| @@ -275,14 +275,22 @@ build-image-tree-sitter: | |||
| 275 | 275 | ||
| 276 | test-tree-sitter: | 276 | test-tree-sitter: |
| 277 | stage: platforms | 277 | stage: platforms |
| 278 | extends: [.job-template, .test-template, .tree-sitter-template, .tree-sitter-files-template] | 278 | extends: [.job-template, .test-template, .tree-sitter-template] |
| 279 | needs: | 279 | needs: |
| 280 | - job: build-image-tree-sitter | 280 | - job: build-image-tree-sitter |
| 281 | optional: true | 281 | optional: true |
| 282 | variables: | 282 | variables: |
| 283 | target: emacs-tree-sitter | 283 | target: emacs-tree-sitter |
| 284 | # This is needed in order to get a JUnit test report. | 284 | # This is needed in order to get a JUnit test report. |
| 285 | make_params: '-k -C test check-expensive LD_LIBRARY_PATH=/usr/local/lib/tree-sitter LOGFILES="$tree-sitter-files"' | 285 | files: >- |
| 286 | lisp/progmodes/c-ts-mode-tests.log | ||
| 287 | lisp/progmodes/elixir-ts-mode-tests.log | ||
| 288 | lisp/progmodes/go-ts-mode-tests.log | ||
| 289 | lisp/progmodes/heex-ts-mode-tests.log | ||
| 290 | lisp/progmodes/java-ts-mode-tests.log | ||
| 291 | lisp/progmodes/ruby-ts-mode-tests.log | ||
| 292 | lisp/progmodes/typescript-ts-mode-tests.log | ||
| 293 | make_params: '-k -C test check-expensive LD_LIBRARY_PATH=/usr/local/lib/tree-sitter LOGFILES="$files"' | ||
| 286 | 294 | ||
| 287 | build-image-gnustep: | 295 | build-image-gnustep: |
| 288 | stage: platform-images | 296 | stage: platform-images |
diff --git a/test/infra/test-jobs.yml b/test/infra/test-jobs.yml index 48c5b726f28..4e575d50e9a 100644 --- a/test/infra/test-jobs.yml +++ b/test/infra/test-jobs.yml | |||
| @@ -567,14 +567,3 @@ test-src-inotify: | |||
| 567 | variables: | 567 | variables: |
| 568 | target: emacs-inotify | 568 | target: emacs-inotify |
| 569 | make_params: "-k -C test check-src" | 569 | make_params: "-k -C test check-src" |
| 570 | |||
| 571 | .tree-sitter-files-template: | ||
| 572 | variables: | ||
| 573 | tree-sitter-files: >- | ||
| 574 | "lisp/progmodes/c-ts-mode-tests.log | ||
| 575 | lisp/progmodes/elixir-ts-mode-tests.log | ||
| 576 | lisp/progmodes/go-ts-mode-tests.log | ||
| 577 | lisp/progmodes/heex-ts-mode-tests.log | ||
| 578 | lisp/progmodes/java-ts-mode-tests.log | ||
| 579 | lisp/progmodes/ruby-ts-mode-tests.log | ||
| 580 | lisp/progmodes/typescript-ts-mode-tests.log" | ||