summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-12-21 20:30:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-12-21 20:30:13 (GMT)
commite441a676ebc26fb63ff144243a7783e69c0f5288 (patch)
treeed68c10f1d001f99180dbfe3b3e6c6636c32206e
parent79c347c1eec8eb50e8c6a627b8342eef274fa233 (diff)
downloadhdf5-e441a676ebc26fb63ff144243a7783e69c0f5288.zip
hdf5-e441a676ebc26fb63ff144243a7783e69c0f5288.tar.gz
hdf5-e441a676ebc26fb63ff144243a7783e69c0f5288.tar.bz2
[svn-r21841] Added option to skip testing
Tested: local linux
-rw-r--r--CTestScript.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/CTestScript.cmake b/CTestScript.cmake
index 333a8b7..e27a571 100644
--- a/CTestScript.cmake
+++ b/CTestScript.cmake
@@ -104,9 +104,11 @@ CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}")
CTEST_CONFIGURE (BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_READ_CUSTOM_FILES ("${CTEST_BINARY_DIRECTORY}")
CTEST_BUILD (BUILD "${CTEST_BINARY_DIRECTORY}")
-CTEST_TEST (BUILD "${CTEST_BINARY_DIRECTORY}")
-#CTEST_MEMCHECK (BUILD "${CTEST_BINARY_DIRECTORY}")
-#CTEST_COVERAGE (BUILD "${CTEST_BINARY_DIRECTORY}")
+if(NOT LOCAL_SKIP_TEST)
+ CTEST_TEST (BUILD "${CTEST_BINARY_DIRECTORY}")
+# CTEST_MEMCHECK (BUILD "${CTEST_BINARY_DIRECTORY}")
+# CTEST_COVERAGE (BUILD "${CTEST_BINARY_DIRECTORY}")
+endif(NOT LOCAL_SKIP_TEST)
CTEST_SUBMIT ()
EXECUTE_PROCESS (COMMAND "cpack"