ignore issues itself which does not concern psensor itself
[psensor.git] / scripts / check.sh
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`