summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-03 15:54:03 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-03 15:54:03 (GMT)
commit21679512089060a7c3e5efdebd799d6237d40ca5 (patch)
tree458f6ffe6546a074ec770f5c467e07a21a1d2c95
parent8530fb58b2537729276c1640046862d4fed19afe (diff)
downloaduscxml-21679512089060a7c3e5efdebd799d6237d40ca5.zip
uscxml-21679512089060a7c3e5efdebd799d6237d40ca5.tar.gz
uscxml-21679512089060a7c3e5efdebd799d6237d40ca5.tar.bz2
Do not clean build dir for continuous tests
-rw-r--r--contrib/ctest/common.ctest.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/ctest/common.ctest.inc b/contrib/ctest/common.ctest.inc
index ec0813e..f6360f5 100644
--- a/contrib/ctest/common.ctest.inc
+++ b/contrib/ctest/common.ctest.inc
@@ -70,8 +70,10 @@ set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"${CTEST_SOURCE_DIRECTO
### Test! ################################################################
-# clean build directory
-ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+# clean build directory for everything but continuous tests
+if (NOT ${CTEST_SUBMIT_TYPE} MATCHES ".*Continuous.*")
+ ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+endif()
ctest_start(${CTEST_SUBMIT_TYPE}) # start testing
#