diff options
| author | Eric Engestrom <eric@igalia.com> | 2022-07-29 11:57:39 +0100 |
|---|---|---|
| committer | Marge Bot <emma+marge@anholt.net> | 2022-07-29 12:06:13 +0000 |
| commit | 155c8bc9646bd70925982a10a8f526c33f71a869 (patch) | |
| tree | e8cef2eba43abccc50aaab92b64bac7871310340 | |
| parent | 661440717aabf280abb1ca6969641a710e483c4d (diff) | |
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>
| -rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
| -rwxr-xr-x | .gitlab-ci/meson/build.sh | 2 | ||||
| -rw-r--r-- | .gitlab-ci/windows/mesa_build.ps1 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4a210099e0..4fce00b0161 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.gitlab-ci/meson/build.sh b/.gitlab-ci/meson/build.sh index 2d22df886f1..83df5471696 100755 --- a/.gitlab-ci/meson/build.sh +++ b/.gitlab-ci/meson/build.sh @@ -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 .. diff --git a/.gitlab-ci/windows/mesa_build.ps1 b/.gitlab-ci/windows/mesa_build.ps1 index 372471e6a98..326e5268f12 100644 --- a/.gitlab-ci/windows/mesa_build.ps1 +++ b/.gitlab-ci/windows/mesa_build.ps1 @@ -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 |