forked from mirrors/nixpkgs
Merge pull request #172365 from sternenseemann/haskell-mk-derivation-stream-test
haskellPackages.mkDerivation: show test outputs as they happen
This commit is contained in:
commit
62074a54da
|
@ -470,7 +470,10 @@ stdenv.mkDerivation ({
|
|||
# `--test-option`, so Cabal passes it to the underlying test suite binary.
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
checkFlagsArray+=(${lib.escapeShellArgs (builtins.map (opt: "--test-option=${opt}") testFlags)})
|
||||
checkFlagsArray+=(
|
||||
"--show-details=streaming"
|
||||
${lib.escapeShellArgs (builtins.map (opt: "--test-option=${opt}") testFlags)}
|
||||
)
|
||||
${setupCommand} test ${testTarget} $checkFlags ''${checkFlagsArray:+"''${checkFlagsArray[@]}"}
|
||||
runHook postCheck
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue