summaryrefslogtreecommitdiffstats
path: root/tools/test/h5ls
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-12-13 21:17:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-12-13 21:17:02 (GMT)
commit65e09afd6c05ab34fde4f8779ca93a822014c8aa (patch)
tree22172affc93f0da2424611618e5a60c34896a487 /tools/test/h5ls
parentba714e682047d19fba7ef2c87b072f75ac772e88 (diff)
downloadhdf5-65e09afd6c05ab34fde4f8779ca93a822014c8aa.zip
hdf5-65e09afd6c05ab34fde4f8779ca93a822014c8aa.tar.gz
hdf5-65e09afd6c05ab34fde4f8779ca93a822014c8aa.tar.bz2
Add prefix dir to the clear command
Diffstat (limited to 'tools/test/h5ls')
-rw-r--r--tools/test/h5ls/CMakeTestsVDS.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5ls/CMakeTestsVDS.cmake b/tools/test/h5ls/CMakeTestsVDS.cmake
index f7eb198..f25bd98 100644
--- a/tools/test/h5ls/CMakeTestsVDS.cmake
+++ b/tools/test/h5ls/CMakeTestsVDS.cmake
@@ -119,7 +119,7 @@
# 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")
+ set_tests_properties (H5LS_PREFIX-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds/prefix")
if ("${resultcode}" STREQUAL "1")
set_tests_properties (H5LS_PREFIX-${resultfile} PROPERTIES WILL_FAIL "true")
endif ()
@@ -134,7 +134,7 @@
${resultfile}.out
${resultfile}.out.err
)
- set_tests_properties (H5LS_PREFIX-${resultfile}-clear-objects PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds")
+ set_tests_properties (H5LS_PREFIX-${resultfile}-clear-objects PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds/prefix")
add_test (
NAME H5LS_PREFIX-${resultfile}
COMMAND "${CMAKE_COMMAND}"