diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-02-18 19:03:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-02-18 19:03:53 (GMT) |
commit | 1629fd1ee78c33fdfd8328eef520a7e10aa945a8 (patch) | |
tree | 492cbade970f0660eb3436c5bcde3e712e30e37e /tools/h5ls/CMakeLists.txt | |
parent | 79bc86c220bfc7de65f1fe5e5c49088d9cfbd659 (diff) | |
download | hdf5-1629fd1ee78c33fdfd8328eef520a7e10aa945a8.zip hdf5-1629fd1ee78c33fdfd8328eef520a7e10aa945a8.tar.gz hdf5-1629fd1ee78c33fdfd8328eef520a7e10aa945a8.tar.bz2 |
[svn-r23301]
Diffstat (limited to 'tools/h5ls/CMakeLists.txt')
-rw-r--r-- | tools/h5ls/CMakeLists.txt | 5 |
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) |