- rm build_ci*/meson-logs/testlog*.txt # start with clean testlog
artifacts:
when: always
+ # The deckard-specific parts are a little messy, but they're hard to separate in YAML.
paths:
- build_ci*/meson-logs/testlog*.txt
- tmpdeckard*
+ - build_ci*/meson-logs/integration.deckard.junit.xml
+ reports:
+ junit: build_ci*/meson-logs/integration.deckard.junit.xml
.nodep: &nodep
<<: *common
- .local
- build_ci*
- build_dist/meson-dist/*.tar.xz
+ reports:
+ junit: build_ci*/meson-logs/testlog.junit.xml
archive:
<<: *build
paths:
- build_ci*/meson-logs/testlog*.txt
- tests/pytests/*.html
+ - tests/pytests/*.junit.xml
+ reports: # Can't have multiple junit XMLs?
+ junit: tests/pytests/pytests.parallel.junit.xml
script:
- ${MESON_TEST} --suite pytests
# }}}
-Subproject commit ff1e8471785cedada669bf2304442ac0e86b7988
+Subproject commit 01eabd23dc3315ef9d27ae7f5fe19c142dcbdfdb
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',
args: [
'-n', 'auto',
'-Wignore::DeprecationWarning',
+ junitxml_prefix + '/integration.deckard.junit.xml',
],
suite: [
'postinstall',
'-Wignore::DeprecationWarning',
'--config=@0@'.format(deckard_config_path),
'--scenarios=@0@'.format(integr_test[1]),
+ junitxml_prefix + '/integration.' + integr_test[0] + '.junit.xml',
],
suite: [
'postinstall',
'-d',
'--html', 'pytests.parallel.html',
'--self-contained-html',
+ '--junitxml=pytests.parallel.junit.xml',
'-n', '24',
'-v',
],
python3,
args: [
'-m', 'pytest',
+ '--junitxml=pytests.single.junit.xml',
'-ra',
'--capture=no',
'conn_flood.py',