summaryrefslogtreecommitdiffstats
path: root/tests/integration
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2021-04-15 16:44:39 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2021-04-30 16:24:40 +0200
commit17f34b3589a49b60acd7d804d0b993a82d09f999 (patch)
treeca4a80fc0b037fc36ab4f92026903faa560a48c2 /tests/integration
parentMerge branch 'cache-stale-readers' into 'master' (diff)
downloadknot-resolver-17f34b3589a49b60acd7d804d0b993a82d09f999.tar.xz
knot-resolver-17f34b3589a49b60acd7d804d0b993a82d09f999.zip
ci: utilize test reports
https://docs.gitlab.com/ce/ci/unit_test_reports.html https://mesonbuild.com/Unit-tests.html#testlogjunitxml Implemented fully: build, build-asan; partially: pytests, deckard.
Diffstat (limited to 'tests/integration')
m---------tests/integration/deckard0
-rw-r--r--tests/integration/meson.build4
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/integration/deckard b/tests/integration/deckard
-Subproject ff1e8471785cedada669bf2304442ac0e86b798
+Subproject 01eabd23dc3315ef9d27ae7f5fe19c142dcbdfd
diff --git a/tests/integration/meson.build b/tests/integration/meson.build
index e86eb0ac..1d67d716 100644
--- a/tests/integration/meson.build
+++ b/tests/integration/meson.build
@@ -22,6 +22,8 @@ prepare_deckard = find_program('../../scripts/test-integration-prepare.sh')
deckard_env = environment()
deckard_env.prepend('PATH', sbin_dir)
+junitxml_prefix = '--junitxml=' + meson.build_root() + '/meson-logs'
+
deckard_kresd_run = find_program('deckard/kresd_run.sh')
test(
'integration.deckard',
@@ -30,6 +32,7 @@ test(
args: [
'-n', 'auto',
'-Wignore::DeprecationWarning',
+ junitxml_prefix + '/integration.deckard.junit.xml',
],
suite: [
'postinstall',
@@ -51,6 +54,7 @@ foreach integr_test : integr_tests
'-Wignore::DeprecationWarning',
'--config=@0@'.format(deckard_config_path),
'--scenarios=@0@'.format(integr_test[1]),
+ junitxml_prefix + '/integration.' + integr_test[0] + '.junit.xml',
],
suite: [
'postinstall',