fail on warning
authorJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 25 Sep 2014 10:30:40 +0000 (12:30 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 25 Sep 2014 10:30:40 +0000 (12:30 +0200)
scripts/check.sh

index ba48fda..7b46404 100755 (executable)
@@ -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