improving checking and avoid false/positive
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 19:09:44 +0000 (21:09 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 19:09:44 +0000 (21:09 +0200)
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