From 3d2998a9cf1d5ee50719402ee7627442c0fa1745 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 23 Sep 2012 18:05:32 +0200 Subject: [PATCH] coccinelle: don't test UNITTEST code --- qa/coccinelle/run_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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