summaryrefslogtreecommitdiffstats
path: root/ci/fix-meson-junit.sh
blob: 02cf4880b408e2244024c1f1024fbca2a9df5ecd (plain)
1
2
3
4
5
#!/bin/sh
sed 's|</testcase>|</testcase>\n|g' -i "$@"
sed -e '/<failure \/>/,/<\/testcase>/s/<\(\/\?\)system-\(out\|err\)>/<\1failure>/g' \
	-e 's/<failure \/>//g' \
	-i "$@"