summaryrefslogtreecommitdiffstats
path: root/tools/test/h5ls/CMakeTestsVDS.cmake
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/h5ls/CMakeTestsVDS.cmake
parent6d3f7dea8683053cad86c04ac800ecf78361590f (diff)
downloadhdf5-9a477bef3a55718fbc886a70576f90c8329f7f12.zip
hdf5-9a477bef3a55718fbc886a70576f90c8329f7f12.tar.gz
hdf5-9a477bef3a55718fbc886a70576f90c8329f7f12.tar.bz2
HDFFV-9724 add valgrind ENV
Diffstat (limited to 'tools/test/h5ls/CMakeTestsVDS.cmake')
-rw-r--r--tools/test/h5ls/CMakeTestsVDS.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/test/h5ls/CMakeTestsVDS.cmake b/tools/test/h5ls/CMakeTestsVDS.cmake
index f25bd98..00e7d28 100644
--- a/tools/test/h5ls/CMakeTestsVDS.cmake
+++ b/tools/test/h5ls/CMakeTestsVDS.cmake
@@ -119,7 +119,10 @@
# If using memchecker add tests without using scripts
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME H5LS_PREFIX-${resultfile} COMMAND $<TARGET_FILE:h5ls> ${ARGN})
- set_tests_properties (H5LS_PREFIX-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds/prefix")
+ set_tests_properties (H5LS_PREFIX-${resultfile} PROPERTIES
+ ENVIRONMENT "HDF5_VDS_PREFIX=\${ORIGIN}"
+ WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds/prefix"
+ )
if ("${resultcode}" STREQUAL "1")
set_tests_properties (H5LS_PREFIX-${resultfile} PROPERTIES WILL_FAIL "true")
endif ()