ci: add `--print-errorlogs` to `meson test`

In order to avoid having to dig through artifacts to see what failed.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17804>
This commit is contained in:
Eric Engestrom 2022-07-29 11:57:39 +01:00 committed by Marge Bot
parent 661440717a
commit 155c8bc964
3 changed files with 3 additions and 3 deletions

View File

@ -34,6 +34,6 @@ jobs:
- name: Build
run: meson compile -C build
- name: Test
run: meson test -C build
run: meson test -C build --print-errorlogs
- name: Install
run: meson install -C build

View File

@ -79,6 +79,6 @@ meson _build --native-file=native.file \
cd _build
meson configure
ninja
LC_ALL=C.UTF-8 meson test --num-processes ${FDO_CI_CONCURRENT:-4} ${MESON_TEST_ARGS}
LC_ALL=C.UTF-8 meson test --num-processes ${FDO_CI_CONCURRENT:-4} --print-errorlogs ${MESON_TEST_ARGS}
ninja install
cd ..

View File

@ -61,7 +61,7 @@ meson `
-Dlibelf:warning_level=1 `
$sourcedir && `
meson install --skip-subprojects && `
meson test --num-processes 32
meson test --num-processes 32 --print-errorlogs
$buildstatus = $?
Pop-Location