coccinelle: don't test UNITTEST code

pull/91/head
Eric Leblond 13 years ago
parent e176be6fcc
commit 3d2998a9cf

@ -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

Loading…
Cancel
Save