ignore issues itself which does not concern psensor itself
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 06:34:14 +0000 (08:34 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 06:34:14 +0000 (08:34 +0200)
scripts/check.sh [new file with mode: 0755]

diff --git a/scripts/check.sh b/scripts/check.sh
new file mode 100755 (executable)
index 0000000..9919ce3
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+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
+
+cat /tmp/err
+
+echo Number of warnings: `cat /tmp/err|wc -l`