Replace Criterion by CUnit
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
parent
60752b3fd8
commit
74a48c5731
47 changed files with 4486 additions and 5388 deletions
|
@ -117,11 +117,10 @@ include(AnalyzeBuild)
|
|||
# in the Coverage module should that ever be necessary.
|
||||
include(Coverage)
|
||||
set(MEMORYCHECK_COMMAND_OPTIONS "--track-origins=yes --leak-check=full --trace-children=yes --child-silent-after-fork=yes --xml=yes --xml-file=TestResultValgrind_%p.xml --tool=memcheck --show-reachable=yes --leak-resolution=high")
|
||||
set(MEMORYCHECK_SUPPRESSIONS_FILE "${CMAKE_CURRENT_LIST_DIR}/valgrind.supp" CACHE FILEPATH "suppression file")
|
||||
|
||||
# By default building the testing tree is enabled by including CTest, but
|
||||
# since not everybody has CUnit and/or Criterion installed, and because it is
|
||||
# not strictly required to build the product itself, switch to off by default.
|
||||
# since not everybody has CUnit, and because it is not strictly required to
|
||||
# build the product itself, switch to off by default.
|
||||
option(BUILD_TESTING "Build the testing tree." OFF)
|
||||
include(CTest)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue