summaryrefslogtreecommitdiffstats
path: root/contrib/ctest
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-12 15:10:36 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-12 15:10:36 (GMT)
commit72fb2cd0bd89eb40d4a96f86d464d9801ad91f59 (patch)
treeea6ec14f4da720b2ec80d9b1c10904f13ee43d32 /contrib/ctest
parentba050afaaad699e60ca657b311d5c34d038bb89c (diff)
downloaduscxml-72fb2cd0bd89eb40d4a96f86d464d9801ad91f59.zip
uscxml-72fb2cd0bd89eb40d4a96f86d464d9801ad91f59.tar.gz
uscxml-72fb2cd0bd89eb40d4a96f86d464d9801ad91f59.tar.bz2
Got prolog datamodel to compile again
Diffstat (limited to 'contrib/ctest')
-rw-r--r--contrib/ctest/common.ctest.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/ctest/common.ctest.inc b/contrib/ctest/common.ctest.inc
index 4fa5829..6a6f286 100644
--- a/contrib/ctest/common.ctest.inc
+++ b/contrib/ctest/common.ctest.inc
@@ -36,8 +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)
+set(WITH_COVERAGE TRUE)
+find_program(CTEST_COVERAGE_COMMAND NAMES gcov)
#set(WITH_MEMCHECK TRUE)
#find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind)
@@ -71,9 +71,9 @@ set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"${CTEST_SOURCE_DIRECTO
### Test! ################################################################
# clean build directory for everything but continuous tests
-if (NOT ${CTEST_SUBMIT_TYPE} MATCHES ".*Continuous.*")
+#if (NOT ${CTEST_SUBMIT_TYPE} MATCHES ".*Continuous.*")
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
-endif()
+#endif()
ctest_start(${CTEST_SUBMIT_TYPE}) # start testing
#
@@ -106,11 +106,11 @@ endif()
ctest_build() # build custom target that depends on all the actual tests
ctest_test() # run tests
-if (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
+if(CTEST_COVERAGE_COMMAND)
ctest_coverage()
-endif (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
-if (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
+endif()
+if (WITH_MEMCHECK)
ctest_memcheck()
-endif (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
+endif()
ctest_submit() # submit