From: Jean-Philippe Orsini Date: Sat, 20 Apr 2013 08:29:22 +0000 (+0000) Subject: script to run smatch X-Git-Tag: v0.8.0.5~80 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=739a3b0ef7f911f3bf19d50e788256d5d31f1846 script to run smatch --- diff --git a/scripts/smatch.sh b/scripts/smatch.sh new file mode 100755 index 0000000..6b506ba --- /dev/null +++ b/scripts/smatch.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +SMATCH_DIR=$HOME/soft/smatch + +SCRIPT_DIR=`dirname $0` + +cd $SCRIPT_DIR/.. +make clean +make CHECK="$SMATCH_DIR/smatch --full-path" CC=$SMATCH_DIR/cgcc | tee warns.txt \ No newline at end of file