From 236466faf385f98f3639ec04147c171774d03726 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Fri, 17 May 2024 13:29:13 -0600 Subject: package: add `--print-errorlogs` to meson's tests This should have been in there originally, which is our mistake, considering that debugging CI failures is basically impossible without it. Change-Id: I4ab8799e6e0abca1984ed9801fe10c58200861a3 --- package.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'package.nix') diff --git a/package.nix b/package.nix index fe56a4003..325d3e38e 100644 --- a/package.nix +++ b/package.nix @@ -309,7 +309,10 @@ stdenv.mkDerivation (finalAttrs: { doCheck = canRunInstalled; - mesonCheckFlags = [ "--suite=check" ]; + mesonCheckFlags = [ + "--suite=check" + "--print-errorlogs" + ]; # Make sure the internal API docs are already built, because mesonInstallPhase # won't let us build them there. They would normally be built in buildPhase, @@ -342,7 +345,10 @@ stdenv.mkDerivation (finalAttrs: { doInstallCheck = finalAttrs.doCheck; - mesonInstallCheckFlags = [ "--suite=installcheck" ]; + mesonInstallCheckFlags = [ + "--suite=installcheck" + "--print-errorlogs" + ]; installCheckPhase = '' runHook preInstallCheck -- cgit v1.2.3