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

11 lines
248 B
Bash
Raw Normal View History

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