diff options
| author | Michael Albinus | 2021-12-13 16:09:56 +0100 |
|---|---|---|
| committer | Michael Albinus | 2021-12-13 16:09:56 +0100 |
| commit | b30b33ed9b3cdacecebef73ad1131f03c635de7a (patch) | |
| tree | 51f74825579561f8267b0ba7d0b885dcd88378cf /admin | |
| parent | c1476afb99fbba316832c12e584a633684966c09 (diff) | |
| download | emacs-b30b33ed9b3cdacecebef73ad1131f03c635de7a.tar.gz emacs-b30b33ed9b3cdacecebef73ad1131f03c635de7a.zip | |
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.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/notes/emba | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/notes/emba b/admin/notes/emba index f1b52b2cde0..2135c7a97cc 100644 --- a/admin/notes/emba +++ b/admin/notes/emba | |||
| @@ -63,6 +63,10 @@ They can be downloaded from the server, visiting the URL | |||
| 63 | <https://emba.gnu.org/emacs/emacs/-/pipelines>, and selecting the job | 63 | <https://emba.gnu.org/emacs/emacs/-/pipelines>, and selecting the job |
| 64 | in question. | 64 | in question. |
| 65 | 65 | ||
| 66 | Every pipeline generates a JUnit test report for the respective test | ||
| 67 | jobs, which can be inspected on the pipeline web page. This test | ||
| 68 | report counts completed ERT tests, aborted tests are not counted. | ||
| 69 | |||
| 66 | * Emba configuration | 70 | * Emba configuration |
| 67 | 71 | ||
| 68 | The emba configuration files are hosted on | 72 | The emba configuration files are hosted on |