From: Eric Leblond Date: Sun, 23 Sep 2012 16:05:32 +0000 (+0200) Subject: coccinelle: don't test UNITTEST code X-Git-Tag: suricata-1.4beta2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d2998a9cf1d5ee50719402ee7627442c0fa1745;p=thirdparty%2Fsuricata.git coccinelle: don't test UNITTEST code --- diff --git a/qa/coccinelle/run_check.sh b/qa/coccinelle/run_check.sh index 7cf2030eb6..dce88d52e5 100755 --- a/qa/coccinelle/run_check.sh +++ b/qa/coccinelle/run_check.sh @@ -10,7 +10,7 @@ fi for SMPL in *.cocci; do echo "Testing cocci file: $SMPL" for FILE in $LIST ; do - spatch -sp_file $SMPL $PREFIX$FILE 2>/dev/null || exit 1; + spatch -sp_file $SMPL --undefined UNITTESTS $PREFIX$FILE 2>/dev/null || exit 1; done done