From 17f34b3589a49b60acd7d804d0b993a82d09f999 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Thu, 15 Apr 2021 16:44:39 +0200 Subject: 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. --- tests/integration/deckard | 2 +- tests/integration/meson.build | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/integration') diff --git a/tests/integration/deckard b/tests/integration/deckard index ff1e8471..01eabd23 160000 --- a/tests/integration/deckard +++ b/tests/integration/deckard @@ -1 +1 @@ -Subproject commit ff1e8471785cedada669bf2304442ac0e86b7988 +Subproject commit 01eabd23dc3315ef9d27ae7f5fe19c142dcbdfdb 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', -- cgit v1.2.3