diff options
author | Justus Winter <justus@g10code.com> | 2017-04-18 18:51:06 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2017-04-24 14:28:57 +0200 |
commit | ee715201ae784e840b6136393289e6dbd6f4c540 (patch) | |
tree | 432a7e82b24cc4bdf4f0b7d15bee428ebac9ab33 /tests/migrations | |
parent | gpgscm: Make logging less verbose and more useful. (diff) | |
download | gnupg2-ee715201ae784e840b6136393289e6dbd6f4c540.tar.xz gnupg2-ee715201ae784e840b6136393289e6dbd6f4c540.zip |
gpgscm: Emit JUnit-style XML reports.
* tests/gpgscm/Makefile.am (EXTRA_DIST): Add new file.
* tests/gpgscm/lib.scm (string-translate): New function.
* tests/gpgscm/main.c (main): Load new file.
* tests/gpgscm/tests.scm (dirname): New function.
(test-pool): Record execution times, emit XML report.
(test): Record execution times, record log file name, emit XML report.
(run-tests-parallel): Write XML report.
(run-tests-sequential): Likewise.
* tests/gpgscm/xml.scm: New file.
* tests/gpgme/Makefile.am (CLEANFILES): Add 'report.xml'.
* tests/gpgsm/Makefile.am: Likewise.
* tests/migrations/Makefile.am: Likewise.
* tests/openpgp/Makefile.am: Likewise.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests/migrations')
-rw-r--r-- | tests/migrations/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/Makefile.am b/tests/migrations/Makefile.am index e548723a7..398b15c80 100644 --- a/tests/migrations/Makefile.am +++ b/tests/migrations/Makefile.am @@ -58,7 +58,7 @@ xcheck: EXTRA_DIST = common.scm run-tests.scm setup.scm $(XTESTS) $(TEST_FILES) -CLEANFILES = *.log +CLEANFILES = *.log report.xml # We need to depend on a couple of programs so that the tests don't # start before all programs are built. |