From 714c3d1ee60df7efb1523e752c26fe17e4c74fb2 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Fri, 12 Apr 2013 21:41:13 +0200 Subject: Disabled code coverage again as it is not working --- contrib/ctest/common.ctest.inc | 6 ++---- contrib/ctest/hosts/debian64.ctest | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 contrib/ctest/hosts/debian64.ctest 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") -- cgit v0.12