From 7b250a8bcb84006c736621e1a00b8ee35590b04d Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 3 Aug 2025 14:21:58 +0100 Subject: [PATCH] meson: increase the maximum length of test logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Meson really doesn’t want us to get useful information from test failures! There’s no way to disable this limit entirely, so we just set it to something ridiculous. --- pkgs/by-name/me/meson/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/me/meson/setup-hook.sh b/pkgs/by-name/me/meson/setup-hook.sh index 7d9fd6de0e6d..a9feb15eedd3 100644 --- a/pkgs/by-name/me/meson/setup-hook.sh +++ b/pkgs/by-name/me/meson/setup-hook.sh @@ -72,7 +72,7 @@ mesonCheckPhase() { TERM=dumb ninja -j"$buildCores" $ninjaFlags "${ninjaFlagsArray[@]}" meson-test-prereq echoCmd 'mesonCheckPhase flags' "${flagsArray[@]}" - meson test --no-rebuild --print-errorlogs "${flagsArray[@]}" + meson test --no-rebuild --print-errorlogs --max-lines=1000000 "${flagsArray[@]}" runHook postCheck }