* [PATCH] gitlab-ci: add meson JUnit test result into report
@ 2022-05-25 17:34 marcandre.lureau
2022-05-30 6:31 ` Thomas Huth
0 siblings, 1 reply; 3+ messages in thread
From: marcandre.lureau @ 2022-05-25 17:34 UTC (permalink / raw)
To: qemu-devel
Cc: pbonzini, berrange, f4bug, Marc-André Lureau,
Alex Bennée, Thomas Huth, Wainer dos Santos Moschetta,
Beraldo Leal
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@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
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gitlab-ci: add meson JUnit test result into report
2022-05-25 17:34 [PATCH] gitlab-ci: add meson JUnit test result into report marcandre.lureau
@ 2022-05-30 6:31 ` Thomas Huth
2022-05-30 7:41 ` Marc-André Lureau
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2022-05-30 6:31 UTC (permalink / raw)
To: marcandre.lureau, qemu-devel
Cc: pbonzini, berrange, f4bug, Alex Bennée,
Wainer dos Santos Moschetta, Beraldo Leal
On 25/05/2022 19.34, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
Could you please provide a patch description? (What's the benefit of this
patch? Why is testlog.txt not sufficient?)
Thanks,
Thomas
> Signed-off-by: Marc-André Lureau <marcandre.lureau@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gitlab-ci: add meson JUnit test result into report
2022-05-30 6:31 ` Thomas Huth
@ 2022-05-30 7:41 ` Marc-André Lureau
0 siblings, 0 replies; 3+ messages in thread
From: Marc-André Lureau @ 2022-05-30 7:41 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-devel, Bonzini, Paolo, P. Berrange, Daniel,
Mathieu-Daudé, Philippe, Alex Bennée,
Wainer dos Santos Moschetta, Beraldo Leal
Hi
On Mon, May 30, 2022 at 8:32 AM Thomas Huth <thuth@redhat.com> wrote:
>
> On 25/05/2022 19.34, marcandre.lureau@redhat.com wrote:
> > From: Marc-André Lureau <marcandre.lureau@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.lureau@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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-30 7:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 17:34 [PATCH] gitlab-ci: add meson JUnit test result into report marcandre.lureau
2022-05-30 6:31 ` Thomas Huth
2022-05-30 7:41 ` Marc-André Lureau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).