forked from github/server
ignore cppcheck configurations, but not tests
This commit is contained in:
parent
dd7b0e4db3
commit
a949cfd345
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
|
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
|
||||||
|
|
||||||
cppcheck $IGNORE -isrc/tests.c \
|
#cppcheck $IGNORE -isrc/tests.c \
|
||||||
--quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
|
cppcheck --quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
|
||||||
-UERESSEA_BUILDNO -UERESSEA_VERSION \
|
-UERESSEA_BUILDNO -UERESSEA_VERSION -UTEST_THREADS \
|
||||||
-IcJSON -Isrc -Iclibs -Istorage src
|
-IcJSON -Isrc -Iclibs -Istorage src
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue