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
This commit is contained in:
Qyriad 2024-05-17 13:29:13 -06:00
parent 23c92f0815
commit 236466faf3

View file

@ -309,7 +309,10 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = canRunInstalled; doCheck = canRunInstalled;
mesonCheckFlags = [ "--suite=check" ]; mesonCheckFlags = [
"--suite=check"
"--print-errorlogs"
];
# Make sure the internal API docs are already built, because mesonInstallPhase # 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, # won't let us build them there. They would normally be built in buildPhase,
@ -342,7 +345,10 @@ stdenv.mkDerivation (finalAttrs: {
doInstallCheck = finalAttrs.doCheck; doInstallCheck = finalAttrs.doCheck;
mesonInstallCheckFlags = [ "--suite=installcheck" ]; mesonInstallCheckFlags = [
"--suite=installcheck"
"--print-errorlogs"
];
installCheckPhase = '' installCheckPhase = ''
runHook preInstallCheck runHook preInstallCheck