Hi On Mon, May 30, 2022 at 8:32 AM Thomas Huth <th...@redhat.com> wrote: > > On 25/05/2022 19.34, marcandre.lur...@redhat.com wrote: > > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > Could you please provide a patch description? (What's the benefit of this > patch? Why is testlog.txt not sufficient?)
It allows the gitlab UI to show the test results in different ways, see doc: https://docs.gitlab.com/ee/ci/unit_test_reports.html#how-it-works Currently, it only reports avocado test results (.avocado_test_job_template), ex from last run: https://gitlab.com/qemu-project/qemu/-/pipelines/550786617/test_report With this change, the qemu/meson tests are also covered. > > Thanks, > Thomas > > > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > > --- > > .gitlab-ci.d/buildtest-template.yml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/.gitlab-ci.d/buildtest-template.yml > > b/.gitlab-ci.d/buildtest-template.yml > > index dc6d67aacf..b381345dbc 100644 > > --- a/.gitlab-ci.d/buildtest-template.yml > > +++ b/.gitlab-ci.d/buildtest-template.yml > > @@ -44,6 +44,8 @@ > > expire_in: 7 days > > paths: > > - build/meson-logs/testlog.txt > > + reports: > > + junit: build/meson-logs/testlog.junit.xml > > > > .avocado_test_job_template: > > extends: .common_test_job_template >