improving checking and avoid false/positive
[psensor.git] / scripts / check.sh
index 9919ce3..3fd6671 100755 (executable)
@@ -3,8 +3,8 @@
 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 3>&1 1>&2 2>&3 | grep -v "^/usr/include" | tee /tmp/err 
 
 cat /tmp/err