depot/third_party/nixpkgs/pkgs/by-name/ky/kyua/kyua-check-hook.sh

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