From: Francesco Chemolli Date: Thu, 8 May 2014 13:28:08 +0000 (+0200) Subject: Allow test suite to override make program via MAKE environment variable X-Git-Tag: SQUID_3_5_0_1~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b01023dc897895f203f0dca0a3f3006e541c9386;p=thirdparty%2Fsquid.git Allow test suite to override make program via MAKE environment variable --- diff --git a/test-suite/buildtest.sh b/test-suite/buildtest.sh index 64cee26707..7622207695 100755 --- a/test-suite/buildtest.sh +++ b/test-suite/buildtest.sh @@ -42,7 +42,7 @@ fi # but skip if we have no files to remove. FILECOUNT=`ls -1 | grep -c .` if test "${FILECOUNT}" != "0" ; then - make -k distclean || echo "distclean done. errors are unwanted but okay here." + ${MAKE:-make} -k distclean || echo "distclean done. errors are unwanted but okay here." ls -la . rm -fr ./src/fs/aufs/.deps src/fs/diskd/.deps fi @@ -55,7 +55,7 @@ fi # eval is need to correctly handle quoted arguments eval "$base/../configure ${DISTCHECK_CONFIGURE_FLAGS} ${configcache}" \ 2>&1 && \ - make ${pjobs} ${MAKETEST} 2>&1 + ${MAKE:-make} ${pjobs} ${MAKETEST} 2>&1 # Remember and then explicitly return the result of the last command # to the script caller. Probably not needed on most or all platforms.