diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-10-22 20:39:03 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-10-22 20:39:03 (GMT) |
commit | 164bae2439d490f5cc93e1068692d42d56d36b76 (patch) | |
tree | 9d641317dc00051ad20714b20f46f3b73bbfdf91 /config | |
parent | 8a12b57483854929dd9ccbcf107dd1051c6c3a12 (diff) | |
download | hdf5-164bae2439d490f5cc93e1068692d42d56d36b76.zip hdf5-164bae2439d490f5cc93e1068692d42d56d36b76.tar.gz hdf5-164bae2439d490f5cc93e1068692d42d56d36b76.tar.bz2 |
TRILAB-36 add option for test script batch command
Diffstat (limited to 'config')
-rwxr-xr-x | config/cmake/scripts/CTestScript.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/cmake/scripts/CTestScript.cmake b/config/cmake/scripts/CTestScript.cmake index 670196b..43cd48d 100755 --- a/config/cmake/scripts/CTestScript.cmake +++ b/config/cmake/scripts/CTestScript.cmake @@ -263,7 +263,11 @@ message (STATUS "Dashboard script configuration:\n${vars}\n") if (NOT LOCAL_SKIP_TEST)
if (NOT LOCAL_MEMCHECK_TEST)
- ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND ${ctest_test_args} RETURN_VALUE res)
+ if (NOT LOCAL_BATCH_TEST) + ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND ${ctest_test_args} RETURN_VALUE res) + else () + execute_process (COMMAND ${LOCAL_BATCH_SCRIPT_COMMAND} ${LOCAL_BATCH_SCRIPT_NAME}) + endif () if (LOCAL_SUBMIT)
ctest_submit (PARTS Test)
endif ()
|