ignore cppcheck configurations, but not tests

This commit is contained in:
Enno Rehling 2018-12-02 05:05:37 +01:00
parent 933914a301
commit 0a5cf34420
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
cppcheck $IGNORE -isrc/tests.c \
--quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
-UERESSEA_BUILDNO -UERESSEA_VERSION \
#cppcheck $IGNORE -isrc/tests.c \
cppcheck --quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
-UERESSEA_BUILDNO -UERESSEA_VERSION -UTEST_THREADS \
-IcJSON -Isrc -Iclibs -Istorage src