summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-02-14 20:00:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-02-14 20:00:50 (GMT)
commit325c3b869fc2686356d993d071bfa73069f6ea79 (patch)
tree2c5c64b456a6e77d1fa8c0801797301aa0bc5b20 /tools
parent8bdc6f991eafb571f9351a6b00e164944eb301d7 (diff)
downloadhdf5-325c3b869fc2686356d993d071bfa73069f6ea79.zip
hdf5-325c3b869fc2686356d993d071bfa73069f6ea79.tar.gz
hdf5-325c3b869fc2686356d993d071bfa73069f6ea79.tar.bz2
[svn-r23278] HDFFV-8311: Correct test dependency
Tested: local linux
Diffstat (limited to 'tools')
-rw-r--r--tools/h5stat/CMakeLists.txt5
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)