summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-03-12 21:21:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-03-12 21:21:00 (GMT)
commitd7f3dc097ef2c8ced8068879044ce6b9fdd9936e (patch)
treee74e75438053c3248c5a34f3b2ee264876c52fc0 /tools
parent0c323c00b731a283a4ad850052996d3f857bc4a2 (diff)
downloadhdf5-d7f3dc097ef2c8ced8068879044ce6b9fdd9936e.zip
hdf5-d7f3dc097ef2c8ced8068879044ce6b9fdd9936e.tar.gz
hdf5-d7f3dc097ef2c8ced8068879044ce6b9fdd9936e.tar.bz2
[svn-r22049] Add working folder to test properties when not using runTest.cmake script
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/h5ls/CMakeLists.txt b/tools/h5ls/CMakeLists.txt
index a057594..599202f 100644
--- a/tools/h5ls/CMakeLists.txt
+++ b/tools/h5ls/CMakeLists.txt
@@ -137,6 +137,7 @@ IF (BUILD_TESTING)
# If using memchecker add tests without using scripts
IF (HDF5_ENABLE_USING_MEMCHECKER)
ADD_TEST (NAME H5LS-${resultfile} COMMAND $<TARGET_FILE:h5ls> ${ARGN})
+ SET_TESTS_PROPERTIES (H5LS-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles")
IF (${resultcode} STREQUAL "1")
SET_TESTS_PROPERTIES (H5LS-${resultfile} PROPERTIES WILL_FAIL "true")
ENDIF (${resultcode} STREQUAL "1")