Module: Mesa
Branch: main
Commit: 155c8bc9646bd70925982a10a8f526c33f71a869
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=155c8bc9646bd70925982a10a8f526c33f71a869

Author: Eric Engestrom <[email protected]>
Date:   Fri Jul 29 11:57:39 2022 +0100

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 <[email protected]>
Acked-by: David Heidelberg <[email protected]>
Acked-by: Daniel Stone <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17804>

---

 .github/workflows/ci.yml          | 2 +-
 .gitlab-ci/meson/build.sh         | 2 +-
 .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

Reply via email to