From: gregkh@suse.de Date: Sat, 12 Feb 2005 02:42:03 +0000 (-0800) Subject: [PATCH] allow simple-build-check.sh to go faster if MAKEOPTS is set X-Git-Tag: 053~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=5f2a5816cf6a67f8a39d082f119fe55c782b882b;ds=sidebyside [PATCH] allow simple-build-check.sh to go faster if MAKEOPTS is set This lets my multiprocessor boxes do the testing quicker... --- diff --git a/test/simple-build-check.sh b/test/simple-build-check.sh index fa80db4c8..1ebe044b9 100644 --- a/test/simple-build-check.sh +++ b/test/simple-build-check.sh @@ -6,24 +6,24 @@ EXTRAS="extras/chassis_id extras/scsi_id extras/volume_id" echo KERNEL_DIR: "$KERNEL_DIR" make spotless EXTRAS="$EXTRAS" >/dev/null -make all EXTRAS="$EXTRAS" || exit +make all $MAKEOPTS EXTRAS="$EXTRAS" || exit echo -e "\n\n" make spotless EXTRAS="$EXTRAS" >/dev/null -make all DEBUG=true EXTRAS="$EXTRAS" || exit +make all $MAKEOPTS DEBUG=true EXTRAS="$EXTRAS" || exit echo -e "\n\n" make spotless EXTRAS="$EXTRAS" >/dev/null -make all USE_LOG=false EXTRAS="$EXTRAS" || exit +make all $MAKEOPTS USE_LOG=false EXTRAS="$EXTRAS" || exit echo -e "\n\n" make spotless EXTRAS="$EXTRAS" >/dev/null -make all USE_KLIBC=true DEBUG=true EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit +make all $MAKEOPTS USE_KLIBC=true DEBUG=true EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit echo -e "\n\n" make spotless EXTRAS="$EXTRAS" >/dev/null -make all USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit +make all $MAKEOPTS USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit echo -e "\n\n" make spotless EXTRAS="$EXTRAS" >/dev/null - +echo "build test completed successfully"