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