mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
10 lines
248 B
Bash
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
|