diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-02-25 17:50:52 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-02-25 17:50:52 (GMT) |
commit | acbfc8b22b628a22359cd535d66dd56b45672f92 (patch) | |
tree | ae09c624a74433af1502c8300fdd2546fbaad7f3 /tools/h5repack | |
parent | 7d466c82cf305f3cb020800d6a77f6b42377dc96 (diff) | |
download | hdf5-acbfc8b22b628a22359cd535d66dd56b45672f92.zip hdf5-acbfc8b22b628a22359cd535d66dd56b45672f92.tar.gz hdf5-acbfc8b22b628a22359cd535d66dd56b45672f92.tar.bz2 |
[svn-r20160] Correct test properties for test order
Tested: local linux
Diffstat (limited to 'tools/h5repack')
-rw-r--r-- | tools/h5repack/CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/h5repack/CMakeLists.txt b/tools/h5repack/CMakeLists.txt index 5de9b84..6413aae 100644 --- a/tools/h5repack/CMakeLists.txt +++ b/tools/h5repack/CMakeLists.txt @@ -235,7 +235,9 @@ IF (BUILD_TESTING) -D "TEST_REFERENCE=${testfilter}" -P "${HDF5_RESOURCES_DIR}/grepTest.cmake" ) - SET_TESTS_PROPERTIES (H5REPACK_VERIFY_LAYOUT-${testname} PROPERTIES DEPENDS H5REPACK-${testname}) + IF (NOT "${last_test}" STREQUAL "") + SET_TESTS_PROPERTIES (H5REPACK_VERIFY_LAYOUT-${testname} PROPERTIES DEPENDS ${last_test}) + ENDIF (NOT "${last_test}" STREQUAL "") SET (last_test "H5REPACK_VERIFY_LAYOUT-${testname}") ELSE (${resultcode} STREQUAL "0") IF (${testfilter} STREQUAL "CHUNKED") @@ -259,8 +261,10 @@ IF (BUILD_TESTING) -D "TEST_REFERENCE=${testfilter}" -P "${HDF5_RESOURCES_DIR}/grepTest.cmake" ) - SET_TESTS_PROPERTIES (H5REPACK_VERIFY_LAYOUT_ALL-${testname} PROPERTIES DEPENDS H5REPACK-${testname}) - SET (last_test "H5REPACK_VERIFY_LAYOUT-${testname}") + IF (NOT "${last_test}" STREQUAL "") + SET_TESTS_PROPERTIES (H5REPACK_VERIFY_LAYOUT_ALL-${testname} PROPERTIES DEPENDS ${last_test}) + ENDIF (NOT "${last_test}" STREQUAL "") + SET (last_test "H5REPACK_VERIFY_LAYOUT_ALL-${testname}") ENDIF (${resultcode} STREQUAL "0") ENDIF (${testtype} STREQUAL "SKIP") ENDMACRO (ADD_H5_VERIFY_TEST) |