From 4d5c5540740120810ae4b10eee1eb314b530be21 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Aug 2025 17:38:21 +0100 Subject: [PATCH] qpdf: get more useful test output --- pkgs/by-name/qp/qpdf/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/qp/qpdf/package.nix b/pkgs/by-name/qp/qpdf/package.nix index 857ea50290a1..5531aff39c17 100644 --- a/pkgs/by-name/qp/qpdf/package.nix +++ b/pkgs/by-name/qp/qpdf/package.nix @@ -6,6 +6,7 @@ libjpeg, perl, zlib, + ctestCheckHook, # for passthru.tests cups-filters, @@ -45,9 +46,15 @@ stdenv.mkDerivation (finalAttrs: { libjpeg ]; + nativeCheckInputs = [ ctestCheckHook ]; + nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; + cmakeFlags = [ + (lib.cmakeBool "SHOW_FAILED_TEST_OUTPUT" true) + ]; + preConfigure = '' patchShebangs qtest/bin/qtest-driver patchShebangs run-qtest