biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f1d474
)
Use new XML format with cppcheck
author
Teemu Murtola
<teemu.murtola@gmail.com>
Sun, 14 Dec 2014 15:10:54 +0000
(17:10 +0200)
committer
Gerrit Code Review
<gerrit@gerrit.gromacs.org>
Mon, 15 Dec 2014 06:52:40 +0000
(07:52 +0100)
The console output in Jenkins is full of warnings about the old format,
and apparently some issues are not reported in the old format.
Change-Id: I35a40444b39b697d765d65c14706ebe7d2dcf67d
tests/CppCheck.cmake
patch
|
blob
|
history
diff --git
a/tests/CppCheck.cmake
b/tests/CppCheck.cmake
index 2b3e93386c63a4751ce8cbd4034f7923583e5c75..0f7917271f307c9a936f1804ca503c7a4f5c0a55 100644
(file)
--- a/
tests/CppCheck.cmake
+++ b/
tests/CppCheck.cmake
@@
-67,7
+67,7
@@
if (CPPCHECK_EXECUTABLE AND UNIX)
set(_outputopt --template=gcc)
if (CPPCHECK_XML_OUTPUT)
set(_outputext xml)
- set(_outputopt --xml)
+ set(_outputopt --xml
--xml-version=2
)
endif()
set(_common_flags
--enable=style -DLINUX -DHAVE_UNISTD_H