diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-02-21 21:08:12 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-02-21 21:08:12 (GMT) |
commit | 42388490d6ad2bca5b3666158df0caae82990155 (patch) | |
tree | adc81d031ac5bd3a50bf1c2fbb9ce20445717ebd /tools/h5diff | |
parent | 78bce9b4b389b0f78d8200bc257a76dcb7380b49 (diff) | |
download | hdf5-42388490d6ad2bca5b3666158df0caae82990155.zip hdf5-42388490d6ad2bca5b3666158df0caae82990155.tar.gz hdf5-42388490d6ad2bca5b3666158df0caae82990155.tar.bz2 |
[svn-r20130] Add test dependencies to order tests
Tested: local linux
Diffstat (limited to 'tools/h5diff')
-rw-r--r-- | tools/h5diff/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/h5diff/CMakeLists.txt b/tools/h5diff/CMakeLists.txt index aabb899..3041171 100644 --- a/tools/h5diff/CMakeLists.txt +++ b/tools/h5diff/CMakeLists.txt @@ -282,6 +282,10 @@ IF (BUILD_TESTING) -D "TEST_APPEND=EXIT CODE:" -P "${HDF5_RESOURCES_DIR}/runTest.cmake" ) + IF (NOT "${last_test}" STREQUAL "") + SET_TESTS_PROPERTIES (H5DIFF-${resultfile} PROPERTIES DEPENDS ${last_test}) + ENDIF (NOT "${last_test}" STREQUAL "") + SET (last_test "H5DIFF-${resultfile}") ENDMACRO (ADD_H5_TEST file) ############################################################################## @@ -605,6 +609,10 @@ IF (BUILD_TESTING) h5diff_90.out h5diff_90.out.err ) + IF (NOT "${last_test}" STREQUAL "") + SET_TESTS_PROPERTIES (H5DIFF-clearall-objects PROPERTIES DEPENDS ${last_test}) + ENDIF (NOT "${last_test}" STREQUAL "") + SET (last_test "H5DIFF-clearall-objects") # If using memchecker add tests without using scripts IF (HDF5_ENABLE_USING_MEMCHECKER) |