From: Jean-Philippe Orsini Date: Wed, 24 Sep 2014 06:34:14 +0000 (+0200) Subject: ignore issues itself which does not concern psensor itself X-Git-Tag: v1.2.0~169 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=a94b0149a148edecac5be54140a050252b72073e ignore issues itself which does not concern psensor itself --- diff --git a/scripts/check.sh b/scripts/check.sh new file mode 100755 index 0000000..9919ce3 --- /dev/null +++ b/scripts/check.sh @@ -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`