chiark / gitweb /
[PATCH] allow simple-build-check.sh to go faster if MAKEOPTS is set
authorgregkh@suse.de <gregkh@suse.de>
Sat, 12 Feb 2005 02:42:03 +0000 (18:42 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:35:15 +0000 (23:35 -0700)
This lets my multiprocessor boxes do the testing quicker...

test/simple-build-check.sh

index fa80db4c82c8a6796a7b57223aec09a0a130f39b..1ebe044b9849765df3c551c4c4b15a7163caec84 100644 (file)
@@ -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"