Add cppcheck to our tests

This commit is contained in:
Micke Prag 2012-01-09 16:31:43 +01:00
parent 4014158e8f
commit 06be6ecedc

View file

@ -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})