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:
parent
661440717a
commit
155c8bc964
|
@ -34,6 +34,6 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: meson compile -C build
|
run: meson compile -C build
|
||||||
- name: Test
|
- name: Test
|
||||||
run: meson test -C build
|
run: meson test -C build --print-errorlogs
|
||||||
- name: Install
|
- name: Install
|
||||||
run: meson install -C build
|
run: meson install -C build
|
||||||
|
|
|
@ -79,6 +79,6 @@ meson _build --native-file=native.file \
|
||||||
cd _build
|
cd _build
|
||||||
meson configure
|
meson configure
|
||||||
ninja
|
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
|
ninja install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
@ -61,7 +61,7 @@ meson `
|
||||||
-Dlibelf:warning_level=1 `
|
-Dlibelf:warning_level=1 `
|
||||||
$sourcedir && `
|
$sourcedir && `
|
||||||
meson install --skip-subprojects && `
|
meson install --skip-subprojects && `
|
||||||
meson test --num-processes 32
|
meson test --num-processes 32 --print-errorlogs
|
||||||
|
|
||||||
$buildstatus = $?
|
$buildstatus = $?
|
||||||
Pop-Location
|
Pop-Location
|
||||||
|
|
Loading…
Reference in New Issue