aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-10-21 09:57:11 +1100
committerNeil <nyamatongwe@gmail.com>2016-10-21 09:57:11 +1100
commit88f8c2318d64135c26acc83d1c2bcc8a64d49cb1 (patch)
tree5831bfd5a7f7aae65e3176caf7ddd46710f7649c
parent2c2d83f8b2d63137107e0e0ecfb041667d80e52f (diff)
downloadscintilla-mirror-88f8c2318d64135c26acc83d1c2bcc8a64d49cb1.tar.gz
Avoid spurious cppcheck warnings for unit testing code.
-rw-r--r--cppcheck.suppress4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index 095af77ba..699aaa61c 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -46,3 +46,7 @@ variableScope:scintilla/lexers/LexVHDL.cxx
// Suppress everything in catch.hpp as won't be changing
*:scintilla/test/unit/catch.hpp
+// Spurious errors due to choice of variadic or two argument TEST_CASE macro
+preprocessorErrorDirective:scintilla/test/unit/*.cxx
+syntaxError:scintilla/test/unit/UnitTester.cxx
+syntaxError:scintilla/test/unit/unitTest.cxx