stdenv: Fix error message when checkPhase is missing
This commit is contained in:
parent
b08a133aed
commit
d92a19b039
@ -1037,7 +1037,7 @@ checkPhase() {
|
|||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
|
||||||
if [[ -z "${foundMakefile:-}" ]]; then
|
if [[ -z "${foundMakefile:-}" ]]; then
|
||||||
echo "no Makefile or custom buildPhase, doing nothing"
|
echo "no Makefile or custom checkPhase, doing nothing"
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
@ -1182,7 +1182,7 @@ installCheckPhase() {
|
|||||||
runHook preInstallCheck
|
runHook preInstallCheck
|
||||||
|
|
||||||
if [[ -z "${foundMakefile:-}" ]]; then
|
if [[ -z "${foundMakefile:-}" ]]; then
|
||||||
echo "no Makefile or custom buildPhase, doing nothing"
|
echo "no Makefile or custom installCheckPhase, doing nothing"
|
||||||
#TODO(@oxij): should flagsArray influence make -n?
|
#TODO(@oxij): should flagsArray influence make -n?
|
||||||
elif [[ -z "${installCheckTarget:-}" ]] \
|
elif [[ -z "${installCheckTarget:-}" ]] \
|
||||||
&& ! make -n ${makefile:+-f $makefile} ${installCheckTarget:-installcheck} >/dev/null 2>&1; then
|
&& ! make -n ${makefile:+-f $makefile} ${installCheckTarget:-installcheck} >/dev/null 2>&1; then
|
||||||
|
Loading…
Reference in New Issue
Block a user