nixpkgs/pkgs/by-name/ky/kyua/kyua-check-hook.sh
2024-04-27 18:09:52 -04:00

10 lines
248 B
Bash

kyuaCheckPhase() {
runHook preCheck
# Kyua expects to save test results in ~/.kyua/store
HOME=$TMPDIR kyua test
runHook postCheck
}
if [ -z "${dontUseKyuaCheck-}" ] && [ -z "${checkPhase-}" ]; then
checkPhase=kyuaCheckPhase
fi