enable and add a cmake test target

can be run with:

'make test' or 'ctest'

'ctest -V' is useful to analyse the failures, and they don't all pass
for the moment.
master
Nicholas Brown 2016-11-18 11:29:16 +00:00
parent dc947424b9
commit c1918bf9d5
2 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,8 @@ include(CppcheckTargets)
### basic modules
ENABLE_TESTING()
SUBDIRS(
src
)

View File

@ -60,3 +60,5 @@ IF (JOURNALD_FOUND)
${JOURNALD_LIBRARIES}
)
ENDIF (JOURNALD_FOUND)
ADD_TEST(vermont vermonttest)