X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=scripts%2Fcheck.sh;h=7b46404c1a796f30de75ccab2b93219d5e09b8a2;hb=fa18cf0ee422c79f2df4ec530e833208ce8b04f7;hp=9919ce3d8d610fa6a59179625f262b912bd56278;hpb=a94b0149a148edecac5be54140a050252b72073e;p=psensor.git diff --git a/scripts/check.sh b/scripts/check.sh index 9919ce3..7b46404 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -3,9 +3,13 @@ SCRIPT_DIR=`dirname $0` cd $SCRIPT_DIR/.. -./configure CC=cgcc CPPFLAGS="-DCURL_DISABLE_TYPECHECK -Wno-old-initializer" -make clean all check 3>&1 1>&2 2>&3 | tee /tmp/err +./configure --prefix=/tmp CC=cgcc CPPFLAGS="-Wsparse-all -DCURL_DISABLE_TYPECHECK -Wno-old-initializer" +make clean all check install distcheck 3>&1 1>&2 2>&3 | grep -v "^/usr/include" | tee /tmp/err cat /tmp/err echo Number of warnings: `cat /tmp/err|wc -l` + +export G_DEBUG=fatal_warnings + +$SCRIPT_DIR/../src/psensor