summaryrefslogtreecommitdiffstats
path: root/contrib/ctest/common.ctest.inc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ctest/common.ctest.inc')
-rw-r--r--contrib/ctest/common.ctest.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ctest/common.ctest.inc b/contrib/ctest/common.ctest.inc
index 2e25d22..c0ec100 100644
--- a/contrib/ctest/common.ctest.inc
+++ b/contrib/ctest/common.ctest.inc
@@ -97,9 +97,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 RETAIN_BUILD_DIR)
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
-#endif()
+endif()
ctest_start(${CTEST_SUBMIT_TYPE}) # start testing
#