python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / interpreters / lua-5 / hooks / luarocks-check-hook.sh
blobbc6c6255d56014a9f30f1bb0583fbedbd1fadc9b
1 # Setup hook for checking whether Python imports succeed
2 echo "Sourcing luarocks-check-hook.sh"
4 luarocksCheckPhase () {
5 echo "Executing luarocksCheckPhase"
6 runHook preCheck
8 luarocks test
10 runHook postCheck
11 echo "Finished executing luarocksCheckPhase"
14 if [ -z "${dontLuarocksCheck-}" ] && [ -z "${checkPhase-}" ]; then
15 echo "Using luarocksCheckPhase"
16 checkPhase+=" luarocksCheckPhase"