aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-05-17 13:29:13 -0600
committerQyriad <qyriad@qyriad.me>2024-05-17 21:42:33 +0000
commit236466faf385f98f3639ec04147c171774d03726 (patch)
tree1ac64a481acf7beb0dfcc7656e32ff9daeaf72c7
parent23c92f08151acf9823fd4f6cfd0a91aadb45961b (diff)
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
-rw-r--r--package.nix10
1 files changed, 8 insertions, 2 deletions
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