mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
11 lines
248 B
Bash
11 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
|