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