diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-02-14 20:00:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-02-14 20:00:50 (GMT) |
commit | 325c3b869fc2686356d993d071bfa73069f6ea79 (patch) | |
tree | 2c5c64b456a6e77d1fa8c0801797301aa0bc5b20 | |
parent | 8bdc6f991eafb571f9351a6b00e164944eb301d7 (diff) | |
download | hdf5-325c3b869fc2686356d993d071bfa73069f6ea79.zip hdf5-325c3b869fc2686356d993d071bfa73069f6ea79.tar.gz hdf5-325c3b869fc2686356d993d071bfa73069f6ea79.tar.bz2 |
[svn-r23278] HDFFV-8311: Correct test dependency
Tested: local linux
-rw-r--r-- | tools/h5stat/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/h5stat/CMakeLists.txt b/tools/h5stat/CMakeLists.txt index 9afb365..447df70 100644 --- a/tools/h5stat/CMakeLists.txt +++ b/tools/h5stat/CMakeLists.txt @@ -99,10 +99,9 @@ IF (BUILD_TESTING) IF (NOT "${last_test}" STREQUAL "") SET_TESTS_PROPERTIES (H5STAT-${resultfile} PROPERTIES DEPENDS ${last_test}) ENDIF (NOT "${last_test}" STREQUAL "") - SET (last_test "H5STAT-${resultfile}") ELSE (HDF5_ENABLE_USING_MEMCHECKER) ADD_TEST ( - NAME H5STAT-clear-${resultfile}-objects + NAME H5STAT-${resultfile}-clear-objects COMMAND ${CMAKE_COMMAND} -E remove ${resultfile}.out ${resultfile}.out.err ) @@ -117,7 +116,7 @@ IF (BUILD_TESTING) -D "TEST_REFERENCE=${resultfile}.ddl" -P "${HDF5_RESOURCES_DIR}/runTest.cmake" ) - SET_TESTS_PROPERTIES (H5STAT-${resultfile} PROPERTIES DEPENDS "H5STAT-clear-${resultfile}-objects") + SET_TESTS_PROPERTIES (H5STAT-${resultfile} PROPERTIES DEPENDS "H5STAT-${resultfile}-clear-objects") ENDIF (HDF5_ENABLE_USING_MEMCHECKER) ENDMACRO (ADD_H5_TEST file) |