From: Jean-Philippe Orsini Date: Thu, 25 Sep 2014 10:30:40 +0000 (+0200) Subject: fail on warning X-Git-Tag: v1.2.0~112 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=fa18cf0ee422c79f2df4ec530e833208ce8b04f7 fail on warning --- diff --git a/scripts/check.sh b/scripts/check.sh index ba48fda..7b46404 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -9,3 +9,7 @@ make clean all check install distcheck 3>&1 1>&2 2>&3 | grep -v "^/usr/include" cat /tmp/err echo Number of warnings: `cat /tmp/err|wc -l` + +export G_DEBUG=fatal_warnings + +$SCRIPT_DIR/../src/psensor