From 5d0aeda4e9e06ae754eeacc5ab9599b0e9a2d8ba Mon Sep 17 00:00:00 2001
From: Max Kellermann <max.kellermann@gmail.com>
Date: Tue, 11 Mar 2025 10:10:26 +0100
Subject: [PATCH] .github/workflows/build.yml: run unit tests with
 "--print-errorlogs"

With this option, Meson prints errors instead of logging them to a
file (that would be inaccessible).
---
 .github/workflows/build.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7aaef50cf..71aa0acd1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -121,7 +121,7 @@ jobs:
         run: meson compile -C output/full --verbose
 
       - name: Unit Tests
-        run: meson test -C output/full
+        run: meson test -C output/full --print-errorlogs
 
       - name: Configure Mini
         run: |
@@ -148,7 +148,7 @@ jobs:
         run: meson compile -C output/mini --verbose
 
       - name: Unit Tests Mini
-        run: meson test -C output/mini
+        run: meson test -C output/mini --print-errorlogs
 
   build-macos:
     strategy:
@@ -219,7 +219,7 @@ jobs:
         run: meson compile -C output/full --verbose
 
       - name: Unit Tests
-        run: meson test -C output/full
+        run: meson test -C output/full --print-errorlogs
 
       - name: Configure Mini
         run: |
@@ -246,7 +246,7 @@ jobs:
         run: meson compile -C output/mini --verbose
 
       - name: Unit Tests Mini
-        run: meson test -C output/mini
+        run: meson test -C output/mini --print-errorlogs
 
   build-msys2:
     strategy: