ada57910

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

Run mutations inside Cabal checkPhase so test resources are available

Previously compileMutationReport ran the test binary in a separate
derivation, requiring testResourcesDir to be passed explicitly for
packages with golden test files. Now the mutations run inside the
test package's own Cabal build (checkPhase), where Cabal has already
set up the working directory with test_resources/ present. The report
is written to a separate 'report' output via overrideAttrs. This
eliminates testResourcesDir and the compileMutationReport derivation
from mutation-checks.nix.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 3s 3s 3s
Eval 3s 41s 41s 45s
Build 10s 46s 17s 27s
Test - - - -
Deploy - - - -
Suite 0s 1m31s 45s 45s

Timeline

0s10s20s30s40s