Skip to content
Snippets Groups Projects
Verified Commit d6561dc1 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

ci: try to improve meson's junit.xml

GitLab doesn't show the <system-*> tags, so let's replace them.
For now it's just hacky sed; I can't use xsltproc or similar.
parent 17f34b35
Branches
Tags
1 merge request!1171ci: utilize test reports
Pipeline #80709 failed with stages
in 12 minutes and 59 seconds
......@@ -73,6 +73,8 @@ stages:
- build_dist/meson-dist/*.tar.xz
reports:
junit: build_ci*/meson-logs/testlog.junit.xml
after_script:
- ci/fix-meson-junit.sh build_ci*/meson-logs/testlog.junit.xml
archive:
<<: *build
......
#!/bin/sh
sed 's|</testcase>|</testcase>\n|g' -i "$@"
sed -e '/<failure \/>/,/<\/testcase>/s/<\(\/\?\)system-\(out\|err\)>/<\1failure>/g' \
-e 's/<failure \/>//g' \
-i "$@"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment