Skip to content

Commit f86a276

Browse files
committed
Set HDF5_PLUGIN_PATH for test program
1 parent 1c1b410 commit f86a276

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ endforeach()
4949
# Tests
5050
#-----------------------------------------------------------------------------
5151
foreach(vfd_test ${vfd_gds_tests})
52-
add_test(NAME "gds_vfd_test"
52+
add_test(NAME "${vfd_test}"
5353
COMMAND $<TARGET_FILE:${vfd_test}>
5454
)
55+
set_tests_properties(${vfd_test} PROPERTIES
56+
ENVIRONMENT "HDF5_PLUGIN_PATH=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}"
57+
)
5558
endforeach()

0 commit comments

Comments
 (0)