diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-09-01 16:08:18 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-09-01 16:08:18 (GMT) |
commit | 9842d2ae5f5956ea29e55c4e8d4ce9709882c879 (patch) | |
tree | eb1ad0bd9bc081bb5f1fe8702f9c2437b129dd2a /c++ | |
parent | 09642faf322938fb7afd597e118fc5c7545b71bc (diff) | |
download | hdf5-9842d2ae5f5956ea29e55c4e8d4ce9709882c879.zip hdf5-9842d2ae5f5956ea29e55c4e8d4ce9709882c879.tar.gz hdf5-9842d2ae5f5956ea29e55c4e8d4ce9709882c879.tar.bz2 |
Add VFD name to test folder
Diffstat (limited to 'c++')
-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) |