Paul Eggert
4da38c6321
Update copyright year to 2025
...
Run "TZ=UTC0 admin/update-copyright".
2025-01-01 07:39:17 +00:00
Michael Albinus
7d8ff5a56c
Adapt tressitter tests on EMBA
...
* test/infra/Makefile.in (TREE-SITTER-FILES): Simplify.
* test/infra/test-jobs.yml: Regenerate.
2024-07-16 10:11:10 +02:00
Michael Albinus
eae1104f97
Extend treesitter tests on emba
...
* test/infra/Dockerfile.emba (emacs-tree-sitter): Install c-ashrp
grammar.
* test/infra/Makefile.in (TREE-SITTER-FILES): Add csharp-mode-tests.el.
(tree-sitter-files): Rename from tree-sitter-files-template.
Generate .tree-sitter-files.
* test/infra/gitlab-ci.yml (test-tree-sitter): Extend .tree-sitter-files.
* test/infra/test-jobs.yml: Regenerate.
2024-07-15 09:35:54 +02:00
Michael Albinus
d844521abd
Improve treesitter tests on EMBA
...
* test/infra/Makefile.in (subdir_template):
* test/infra/gitlab-ci.yml (.tree-sitter-template): Check also
textmodes subdirectory for treesitter files.
* test/infra/test-jobs.yml: Regenerate.
2024-04-30 09:25:53 +02:00
Michael Albinus
6f810459d8
; Fix last commit
...
* test/infra/Makefile.in:
* test/infra/gitlab-ci.yml:
* test/infra/test-jobs.yml: Do not quote make_params.
2024-04-22 16:54:07 +02:00
Michael Albinus
42c8e2dfce
Rework EMBA integration
...
* test/infra/Dockerfile.emba (emacs-inotify, emacs-filenotify-gio)
(emacs-eglot, emacs-tree-sitter, emacs-gnustep)
(emacs-native-comp-speed0, emacs-native-comp-speed1)
(emacs-native-comp-speed2): Use "-j `nproc`".
(emacs-eglot): Add libxml2-dev and node-typescript.
(emacs-tree-sitter) Add libxml2-dev and tree-sitter-rust.
* test/infra/Makefile.in (subdir_template): Simplify make_params.
* test/infra/gitlab-ci.yml (.job-template): Set environment
variable NPROC. Use "-k -j \$NPROC".
(test-filenotify-gio, test-eglot, test-tree-sitter)
(test-native-comp-speed2): Simplify make_params.
* test/infra/test-jobs.yml: Regenerate.
2024-04-22 13:38:10 +02:00
Michael Albinus
c2e0ebf752
Adapt treesitter tests for EMBA
...
* 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.
2024-04-04 16:51:55 +02:00
Po Lu
ecf08f0621
Merge from savannah/emacs-29
...
dc4e6b1329
; Update copyright years in more files
64b3777631
; Run set-copyright from admin.el
8e1c56ae46
; Add 2024 to copyright years
# Conflicts:
# doc/misc/modus-themes.org
# doc/misc/texinfo.tex
# etc/NEWS
# etc/refcards/ru-refcard.tex
# etc/themes/modus-operandi-theme.el
# etc/themes/modus-themes.el
# etc/themes/modus-vivendi-theme.el
# lib/alloca.in.h
# lib/binary-io.h
# lib/c-ctype.h
# lib/c-strcasecmp.c
# lib/c-strncasecmp.c
# lib/careadlinkat.c
# lib/cloexec.c
# lib/close-stream.c
# lib/diffseq.h
# lib/dup2.c
# lib/filemode.h
# lib/fpending.c
# lib/fpending.h
# lib/fsusage.c
# lib/getgroups.c
# lib/getloadavg.c
# lib/gettext.h
# lib/gettime.c
# lib/gettimeofday.c
# lib/group-member.c
# lib/malloc.c
# lib/md5-stream.c
# lib/md5.c
# lib/md5.h
# lib/memmem.c
# lib/memrchr.c
# lib/nanosleep.c
# lib/save-cwd.h
# lib/sha1.c
# lib/sig2str.c
# lib/stdlib.in.h
# lib/strtoimax.c
# lib/strtol.c
# lib/strtoll.c
# lib/time_r.c
# lib/xalloc-oversized.h
# lisp/auth-source-pass.el
# lisp/emacs-lisp/lisp-mnt.el
# lisp/emacs-lisp/timer.el
# lisp/info-look.el
# lisp/jit-lock.el
# lisp/loadhist.el
# lisp/mail/rmail.el
# lisp/net/ntlm.el
# lisp/net/webjump.el
# lisp/progmodes/asm-mode.el
# lisp/progmodes/project.el
# lisp/progmodes/sh-script.el
# lisp/textmodes/flyspell.el
# lisp/textmodes/reftex-toc.el
# lisp/textmodes/reftex.el
# lisp/textmodes/tex-mode.el
# lisp/url/url-gw.el
# m4/alloca.m4
# m4/clock_time.m4
# m4/d-type.m4
# m4/dirent_h.m4
# m4/dup2.m4
# m4/euidaccess.m4
# m4/fchmodat.m4
# m4/filemode.m4
# m4/fsusage.m4
# m4/getgroups.m4
# m4/getloadavg.m4
# m4/getrandom.m4
# m4/gettime.m4
# m4/gettimeofday.m4
# m4/gnulib-common.m4
# m4/group-member.m4
# m4/inttypes.m4
# m4/malloc.m4
# m4/manywarnings.m4
# m4/mempcpy.m4
# m4/memrchr.m4
# m4/mkostemp.m4
# m4/mktime.m4
# m4/nproc.m4
# m4/nstrftime.m4
# m4/pathmax.m4
# m4/pipe2.m4
# m4/pselect.m4
# m4/pthread_sigmask.m4
# m4/readlink.m4
# m4/realloc.m4
# m4/sig2str.m4
# m4/ssize_t.m4
# m4/stat-time.m4
# m4/stddef_h.m4
# m4/stdint.m4
# m4/stdio_h.m4
# m4/stdlib_h.m4
# m4/stpcpy.m4
# m4/strnlen.m4
# m4/strtoimax.m4
# m4/strtoll.m4
# m4/time_h.m4
# m4/timegm.m4
# m4/timer_time.m4
# m4/timespec.m4
# m4/unistd_h.m4
# m4/warnings.m4
# nt/configure.bat
# nt/preprep.c
# test/lisp/register-tests.el
2024-01-02 10:28:14 +08:00
Po Lu
8e1c56ae46
; Add 2024 to copyright years
2024-01-02 09:47:10 +08:00
Michael Albinus
b6d4819060
Adapt emba integration
...
* test/infra/Makefile.in (subdir_template): Special handling of lib-src.
* test/infra/test-jobs.yml: Regenerate.
2023-06-11 20:34:11 +02:00
Michael Albinus
7ca1d782f5
Improve tree-sitter tests on emba
...
* test/infra/Dockerfile.emba (emacs-tree-sitter): Install further
grammars.
* test/infra/Makefile.in (subdir_template): Special handling of src.
(TREE-SITTER-FILES): Add treesit-tests.el.
* test/infra/test-jobs.yml: Regenerate.
2023-06-05 17:16:46 +02:00
Michael Albinus
f1fd3d2606
Adapt emba integration
...
* admin/notes/emba: Improve docker call.
* test/infra/Dockerfile.emba (emacs-eglot, emacs-tree-sitter):
Install also gawk.
* test/infra/Makefile.in (TREE-SITTER-FILES): New variable.
(tree-sitter-files-template): New rule.
(.PHONY, generate-test-jobs): Add it to dependencies.
* test/infra/gitlab-ci.yml (variables): Disable CI_DEBUG_TRACE.
(test-tree-sitter): Extends also .tree-sitter-files-template. Use
$tree_sitter_files.
* test/infra/test-jobs.yml: Regenerate.
2023-06-03 10:19:02 +02:00
Michael Albinus
f947a0219b
Fix tree-sitter tests on emba
...
* 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.
2023-06-02 13:44:00 +02:00
Michael Albinus
2d6ba3e034
Adapt tree-sitter tests on emba
...
* test/infra/Makefile.in (TREE-SITTER-FILES): Double-quote variable.
* test/infra/test-jobs.yml: Regenerate.
2023-06-01 15:57:43 +02:00
Michael Albinus
3e3c277870
Improve tree-sitter tests on emba
...
* test/infra/Dockerfile.emba (emacs-tree-sitter): Install only
grammars which are needed.
* test/infra/Makefile.in (subdir_template): Special handling of
progmodes.
(TREE-SITTER-FILES): New variable.
(tree-sitter-files-template): New rule.
(.PHONY, generate-test-jobs): Add it to dependencies.
* test/infra/gitlab-ci.yml (.tree-sitter-template):
Add test/lisp/progmodes/*-ts-mode-resources/**.
(test-tree-sitter): Extends also .tree-sitter-files-template. Use
$tree-sitter-files.
* test/infra/test-jobs.yml: Regenerate.
2023-05-31 08:44:44 +02:00
Eli Zaretskii
cae528457c
; Add 2023 to copyright years.
2023-01-01 05:31:12 -05:00
Eli Zaretskii
823b6b8d26
; Add 2022 to copyright years.
2022-01-01 07:07:15 -05:00
Michael Albinus
55f652c856
Make generation of JUnit test reports more robust.
...
* lisp/emacs-lisp/ert.el (ert-load-file-name): New defvar.
(ert-write-junit-test-report): Use it. Make detection of selector
more robust. Protect calls of `xml-escape-string' with 'noerror.
* test/infra/Makefile.in (subdir_template): Use "make -k ...".
* test/infra/gitlab-ci.yml (test-filenotify-gio):
Adapt make_params in order to get a JUnit test report.
(test-native-comp-speed0): Use "make -k ...".
* test/infra/test-jobs.yml: Regenerate.
* test/lisp/progmodes/perl-mode-tests.el (top):
Set `ert-load-file-name'.
2021-12-18 18:43:18 +01:00
Michael Albinus
b30b33ed9b
ERT can generate JUnit test reports
...
* .gitignore: Add test/**/*.xml.
* admin/notes/emba: Mention JUnit test report.
* etc/NEWS: ERT can generate JUnit test reports.
* lisp/emacs-lisp/ert.el (xml-escape-string): Autoload.
(ert-write-junit-test-report)
(ert-write-junit-test-summary-report): New defuns.
(ert-run-tests-batch, ert-summarize-tests-batch-and-exit): Call them.
* test/Makefile.in (clean): Remove *.xml.
* test/README: Mention $EMACS_TEST_JUNIT_REPORT environment variable.
* test/infra/Makefile.in ($(FILE)): Generate header commentary.
(clean): Remove.
* test/infra/gitlab-ci.yml (variables): Set EMACS_TEST_JUNIT_REPORT.
(.job-template): Use it in script and after_script.
(.build-template, .gnustep-template, .filenotify-gio-template)
(.native-comp-template): Adapt rules.
(.test-template): Trigger JUnit test report.
* test/infra/test-jobs.yml: Regenerate.
2021-12-13 16:09:56 +01:00
Michael Albinus
338f780237
Simplify use of artifacts in emba files
...
* test/infra/gitlab-ci.yml (.test-template): Re-insert.
(test-all-inotify, test-filenotify-gio, test-gnustep)
(test-native-comp-speed0):
* test/infra/Makefile.in (subdir_template): Use it when
appropriate. Remove artifacts.
* test/infra/test-jobs.yml: Regenerate.
2021-11-27 16:53:05 +01:00
Michael Albinus
39e2c214df
Some optimizations for emba jobs
...
* test/infra/gitlab-ci.yml (.test-template): Remove.
(test-all-inotify, test-filenotify-gio, test-gnustep)
(test-native-comp-speed0):
* test/infra/Makefile.in (subdir_template): Remove .test-template
from extends. Add or adapt needs and artifacts.
* test/infra/test-jobs.yml: Regenerate.
2021-11-24 20:27:34 +01:00
Michael Albinus
5b2ba7da4f
; Fix syntax error in generated test/infra/test-jobs.yml
2021-11-24 14:47:55 +01:00
Michael Albinus
7878c7f596
* admin/notes/emba (Emacs jobset): Remove stage slow.
...
* test/infra/Makefile.in (subdir_template): Add rule.
* test/infra/gitlab-ci.yml (.job-template): Remove changes section.
(.build-template, .gnustep-template, .filenotify-gio-template):
(.native-comp-template): Adapt changes section.
(.test-template): Add needs. Adapt artifacts paths.
(stages): Remove slow.
(test-all-inotify): Move up. Change stage to normal. Remove timeout.
(test-filenotify-gio, test-gnustep, test-native-comp-speed0):
Move needs up.
* test/infra/test-jobs.yml: Regenerate.
2021-11-24 13:43:32 +01:00
Michael Albinus
88637c3415
Adapt artifacts paths in emba testjobs
...
* test/infra/Makefile.in (subdir_template): Adapt artifacts paths.
* test/infra/test-jobs.yml: Regenerate.
2021-11-23 16:25:41 +01:00
Michael Albinus
c3ac8285d4
; Remove "needs" from emba jobs
2021-11-22 19:40:56 +01:00
Michael Albinus
d737bfe911
; Fix error in artifacts paths of emba jobs
2021-11-22 16:47:23 +01:00
Michael Albinus
196196c739
Adapt emba jobs
...
* admin/notes/emba (Emacs jobset): Precise.
* test/infra/Makefile.in (tn): New variable.
(subdir_template): Use it. Handle eieio-tests, faceup-tests and
so-long-tests. Rearrange .PHONY entry. Add needs and artifacts
to emba job.
* test/infra/gitlab-ci.yml (test-filenotify-gio): Move up.
* test/infra/test-jobs.yml: Regenerate.
2021-11-22 16:33:16 +01:00
Michael Albinus
75d294cd4a
Reorganize emba control files
...
Using dynamic job generation in GitLab does not work sufficiently. So
we generate the jobs in the Emacs sources.
* configure.ac (SUBDIR_MAKEFILES): Add test/infra/Makefile.
* test/Makefile.in (subdirs, generate-test-jobs): New targets.
* test/infra/Makefile.in:
* test/infra/test-jobs.yml: New files.
* test/infra/default-gitlab-ci.yml:
* test/infra/test-jobs-generator.sh: Remove.
* test/infra/gitlab-ci.yml: Insert contents of default-gitlab-ci.yml.
(stages): Remove generator and trigger. Add normal.
(test-jobs-generator, test-jobs-pipeline): Remove jobs.
(top): Include test-jobs.yml.
2021-11-21 14:39:29 +01:00