From: Dale Weiler Date: Wed, 11 Sep 2013 20:38:18 +0000 (-0400) Subject: Test for gmqcc in check-proj X-Git-Tag: 0.3.5~97 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c52ad67a7cefc602a1a415eca0f92cd23beaf28f;p=xonotic%2Fgmqcc.git Test for gmqcc in check-proj --- diff --git a/misc/check-proj.sh b/misc/check-proj.sh index a97030a..6573eda 100755 --- a/misc/check-proj.sh +++ b/misc/check-proj.sh @@ -71,12 +71,13 @@ else fi # compile projects in those directories +which gmqcc >> /dev/null || (echo "error gmqcc not installed" && exit 1) pushd ~/.gmqcc/testsuite/projects >> /dev/null find . -maxdepth 1 -mindepth 1 -type d -printf "%f\n" | while read -r line do - echo -n "compiling $line..." + echo -n "compiling $line... " pushd "$line" >> /dev/null - gmqcc -std=qcc >> /dev/null + gmqcc -std=qcc > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "error" else