summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-02-14 18:48:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-02-14 18:48:10 (GMT)
commitba355ce8872af7f5a8fd4c9ea7e814cab2900847 (patch)
tree5d83097a8a57ede1107ff18cfcfcec2fbfae433d /tools
parentbf80a61b1471f819266a4ea1d405eb740a082f9b (diff)
downloadhdf5-ba355ce8872af7f5a8fd4c9ea7e814cab2900847.zip
hdf5-ba355ce8872af7f5a8fd4c9ea7e814cab2900847.tar.gz
hdf5-ba355ce8872af7f5a8fd4c9ea7e814cab2900847.tar.bz2
[svn-r23276] HDFFV-8311: Correct test dependency
Tested: local linux
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/h5ls/CMakeLists.txt b/tools/h5ls/CMakeLists.txt
index 5cce6cb..70943b5 100644
--- a/tools/h5ls/CMakeLists.txt
+++ b/tools/h5ls/CMakeLists.txt
@@ -145,10 +145,9 @@ IF (BUILD_TESTING)
IF (NOT "${last_test}" STREQUAL "")
SET_TESTS_PROPERTIES (H5LS-${resultfile} PROPERTIES DEPENDS ${last_test})
ENDIF (NOT "${last_test}" STREQUAL "")
- SET (last_test "H5LS-${resultfile}")
ELSE (HDF5_ENABLE_USING_MEMCHECKER)
ADD_TEST (
- NAME H5LS-clear-${resultfile}-objects
+ NAME H5LS-${resultfile}-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove ./testfiles/${resultfile}.out ./testfiles/${resultfile}.out.err
)
@@ -163,7 +162,7 @@ IF (BUILD_TESTING)
-D "TEST_REFERENCE=${resultfile}.ls"
-P "${HDF5_RESOURCES_DIR}/runTest.cmake"
)
- SET_TESTS_PROPERTIES (H5LS-${resultfile} PROPERTIES DEPENDS "H5LS-clear-${resultfile}-objects")
+ SET_TESTS_PROPERTIES (H5LS-${resultfile} PROPERTIES DEPENDS "H5LS-${resultfile}-clear-objects")
ENDIF (HDF5_ENABLE_USING_MEMCHECKER)
ENDMACRO (ADD_H5_TEST file)