diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-09-19 15:52:12 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-09-19 15:52:12 (GMT) |
commit | 5a8914a6a7dbb075c56a59f5e9728c0ec1dc3e39 (patch) | |
tree | 90c796933b8ecb68dfd5a9852bfd3802793c63db /c++/test | |
parent | 8f991b6299a52f0f015ed6a8f9bf7da4a5d128ff (diff) | |
download | hdf5-5a8914a6a7dbb075c56a59f5e9728c0ec1dc3e39.zip hdf5-5a8914a6a7dbb075c56a59f5e9728c0ec1dc3e39.tar.gz hdf5-5a8914a6a7dbb075c56a59f5e9728c0ec1dc3e39.tar.bz2 |
HDFFV-9431: allow test to be run in unique vfd folder.
Pulled from trunk
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/CMakeTests.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/test/CMakeTests.cmake b/c++/test/CMakeTests.cmake index 4a4601a..91c36b0 100644 --- a/c++/test/CMakeTests.cmake +++ b/c++/test/CMakeTests.cmake @@ -39,6 +39,7 @@ if (HDF5_TEST_VFD) MACRO (ADD_VFD_TEST vfdname resultcode) if (NOT HDF5_ENABLE_USING_MEMCHECKER) + file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/${vfdname}") add_test ( NAME CPP_VFD-${vfdname}-cpp_testhdf5-clear-objects COMMAND ${CMAKE_COMMAND} @@ -58,7 +59,7 @@ if (HDF5_TEST_VFD) -D "TEST_VFD:STRING=${vfdname}" -D "TEST_EXPECT=${resultcode}" -D "TEST_OUTPUT=cpp_testhdf5" - -D "TEST_FOLDER=${PROJECT_BINARY_DIR}" + -D "TEST_FOLDER=${PROJECT_BINARY_DIR}/${vfdname}" -P "${HDF_RESOURCES_DIR}/vfdTest.cmake" ) set_tests_properties (CPP_VFD-${vfdname}-cpp_testhdf5 PROPERTIES DEPENDS CPP_VFD-${vfdname}-cpp_testhdf5-clear-objects) |