[PATCH] Gitlab: Rework sjg-lab calling test.py to be closer to test.py stage

Simon Glass sjg at chromium.org
Tue May 6 20:05:55 CEST 2025


On Tue, 6 May 2025 at 16:04, Tom Rini <trini at konsulko.com> wrote:
>
> There are a few differences between how the test.py stage invokes
> test.py and how the sjg-lab stage invokes test.py. As a start of making
> both the code and the output and artifacts similar, this updates the
> sjg-lab stage with the following:
> - Pass "-ra" so that we get the summary information in the job
> - Make use of TEST_PY_EXTRA for passing "--capture=tee-sys"
> - Re-order some of the arguments to be the same order when possible.
>
> And most importantly:
> - Create and save as an artifact the junitxml output.
>
> The last part here is the kind of test result information that in the
> future we should determine how to archive for future reference.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Simon Glass <sjg at chromium.org>
>
> The JUnit part can be seen for example at:
> https://source.denx.de/u-boot/u-boot/-/pipelines/26106/test_report?job_name=jerry
> ---
>  .gitlab-ci.yml | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list