Add cppcheck to our tests
This commit is contained in:
parent
4014158e8f
commit
06be6ecedc
1 changed files with 2 additions and 1 deletions
|
@ -4,5 +4,6 @@ ADD_EXECUTABLE(TestRunner cppunit.cpp)
|
|||
TARGET_LINK_LIBRARIES(TestRunner cppunit TelldusCommonTests)
|
||||
ADD_DEPENDENCIES(TestRunner TelldusCommonTests)
|
||||
|
||||
ADD_TEST(Tests ${CMAKE_CURRENT_BINARY_DIR}/TestRunner)
|
||||
ADD_TEST(cppunit ${CMAKE_CURRENT_BINARY_DIR}/TestRunner)
|
||||
ADD_TEST(cppcheck cppcheck --quiet --error-exitcode=2 ${CMAKE_SOURCE_DIR})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue