summaryrefslogtreecommitdiffstats
path: root/tools/test/h5dump
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-12-29 19:13:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-12-29 19:13:30 (GMT)
commit9a477bef3a55718fbc886a70576f90c8329f7f12 (patch)
treeb364111eef4f80b396c2ba40f0fb3a6d9a5786bc /tools/test/h5dump
parent6d3f7dea8683053cad86c04ac800ecf78361590f (diff)
downloadhdf5-9a477bef3a55718fbc886a70576f90c8329f7f12.zip
hdf5-9a477bef3a55718fbc886a70576f90c8329f7f12.tar.gz
hdf5-9a477bef3a55718fbc886a70576f90c8329f7f12.tar.bz2
HDFFV-9724 add valgrind ENV
Diffstat (limited to 'tools/test/h5dump')
-rw-r--r--tools/test/h5dump/CMakeTestsVDS.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/test/h5dump/CMakeTestsVDS.cmake b/tools/test/h5dump/CMakeTestsVDS.cmake
index 368471c..922e79e 100644
--- a/tools/test/h5dump/CMakeTestsVDS.cmake
+++ b/tools/test/h5dump/CMakeTestsVDS.cmake
@@ -155,7 +155,10 @@
# If using memchecker add tests without using scripts
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME H5DUMP_PREFIX-${resultfile} COMMAND $<TARGET_FILE:h5dump> ${ARGN})
- set_tests_properties (H5DUMP_PREFIX-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds/prefix")
+ set_tests_properties (H5DUMP_PREFIX-${resultfile} PROPERTIES
+ ENVIRONMENT "HDF5_VDS_PREFIX=${PROJECT_BINARY_DIR}/testfiles/vds/"
+ WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds/prefix"
+ )
if (NOT "${resultcode}" STREQUAL "0")
set_tests_properties (H5DUMP_PREFIX-${resultfile} PROPERTIES WILL_FAIL "true")
endif ()