diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-09-01 20:22:17 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-09-01 20:22:17 (GMT) |
commit | 130e0a6638351bbdb7e53a82e5bdb810fd13a903 (patch) | |
tree | eb1ad0bd9bc081bb5f1fe8702f9c2437b129dd2a /c++ | |
parent | 09642faf322938fb7afd597e118fc5c7545b71bc (diff) | |
parent | 9842d2ae5f5956ea29e55c4e8d4ce9709882c879 (diff) | |
download | hdf5-130e0a6638351bbdb7e53a82e5bdb810fd13a903.zip hdf5-130e0a6638351bbdb7e53a82e5bdb810fd13a903.tar.gz hdf5-130e0a6638351bbdb7e53a82e5bdb810fd13a903.tar.bz2 |
Merge pull request #7 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-9431-cpp_testhdf5 to develop
* commit '9842d2ae5f5956ea29e55c4e8d4ce9709882c879':
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) |