gitlab CI: add meson to junit script
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 27 Nov 2019 23:35:29 +0000 (09:35 +1000)
committerBenjamin Tissoires <benjamin.tissoires@gmail.com>
Thu, 28 Nov 2019 10:52:54 +0000 (11:52 +0100)
commit3f051ca9d8b30e80c5783b558d4f575f68d522e1
tree85102f2ecf59d4e61b6676a0f7e0317c6261e87d
parent3ac525db195f11c748fecfe8701e042f50300e40
gitlab CI: add meson to junit script

This script was written by Emmanuele Bassi, copied from
https://gist.github.com/ebassi/e5296ec77ae9e0d3a33fd483b5613b09/

It converts meson test results into a junit file which we can then use to
display in the merge request GUI.

Note that as litest writes out junit files as well, some tests are reported
twice. Specifically: where litest fails the failure will be reported once
through litest itself and once by meson test. Oh well.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml
.gitlab-ci/meson-junit-report.py [new file with mode: 0755]