diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-12-21 20:30:13 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-12-21 20:30:13 (GMT) |
commit | e441a676ebc26fb63ff144243a7783e69c0f5288 (patch) | |
tree | ed68c10f1d001f99180dbfe3b3e6c6636c32206e | |
parent | 79c347c1eec8eb50e8c6a627b8342eef274fa233 (diff) | |
download | hdf5-e441a676ebc26fb63ff144243a7783e69c0f5288.zip hdf5-e441a676ebc26fb63ff144243a7783e69c0f5288.tar.gz hdf5-e441a676ebc26fb63ff144243a7783e69c0f5288.tar.bz2 |
[svn-r21841] Added option to skip testing
Tested: local linux
-rw-r--r-- | CTestScript.cmake | 8 |
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" |