X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test%2Fsimple-build-check.sh;h=742b28ec1c53d5ddc102367186f928ed46002ce9;hp=fa80db4c82c8a6796a7b57223aec09a0a130f39b;hb=1bcac4e483ace30b90b79a14b2f4c75d4f7ab3bc;hpb=61599bdd06b059e7a5792b0417828d0a87541038 diff --git a/test/simple-build-check.sh b/test/simple-build-check.sh old mode 100644 new mode 100755 index fa80db4c8..742b28ec1 --- a/test/simple-build-check.sh +++ b/test/simple-build-check.sh @@ -1,29 +1,37 @@ #/bin/sh -EXTRAS="extras/chassis_id extras/scsi_id extras/volume_id" +EXTRAS="\ + extras/chassis_id \ + extras/scsi_id \ + extras/ata_id \ + extras/volume_id \ + extras/usb_id \ + extras/dasd_id \ + extras/floppy \ + extras/run_directory" [ -z "$KERNEL_DIR" ] && KERNEL_DIR=/lib/modules/`uname -r`/build 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 -j4 $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 -j4 $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"