diff options
-rw-r--r-- | contrib/ctest/common.ctest.inc | 6 | ||||
-rw-r--r-- | contrib/ctest/hosts/debian64.ctest | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/contrib/ctest/common.ctest.inc b/contrib/ctest/common.ctest.inc index 6a6f286..d00fac9 100644 --- a/contrib/ctest/common.ctest.inc +++ b/contrib/ctest/common.ctest.inc @@ -36,10 +36,8 @@ set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1048576) ### Coverage and Memory checks? (untested) ################################ -set(WITH_COVERAGE TRUE) -find_program(CTEST_COVERAGE_COMMAND NAMES gcov) +#find_program(CTEST_COVERAGE_COMMAND NAMES gcov) -#set(WITH_MEMCHECK TRUE) #find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind) #set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE ${CTEST_SOURCE_DIRECTORY}/tests/valgrind.supp) @@ -109,7 +107,7 @@ ctest_test() # run tests if(CTEST_COVERAGE_COMMAND) ctest_coverage() endif() -if (WITH_MEMCHECK) +if (CTEST_MEMORYCHECK_COMMAND) ctest_memcheck() endif() diff --git a/contrib/ctest/hosts/debian64.ctest b/contrib/ctest/hosts/debian64.ctest new file mode 100644 index 0000000..579e3dd --- /dev/null +++ b/contrib/ctest/hosts/debian64.ctest @@ -0,0 +1,7 @@ +set(CTEST_CMAKE_GENERATOR "Unix Makefiles") +set(CTEST_SITE "epikur.local") +set(CTEST_BUILD_CONFIGURATION "Debug") + +set(CTEST_BUILD_NAME "darwin-x86_64 llvm generic") +include("tests/generic.ctest") +include("common.ctest.inc") |