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:
parent
23c92f0815
commit
236466faf3
1 changed files with 8 additions and 2 deletions
10
package.nix
10
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
|
||||
|
|
Loading…
Reference in a new issue