diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-06-12 13:50:47 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-06-12 13:50:47 (GMT) |
commit | 20d45c853d83eb04fc72e01a3b5461240312095d (patch) | |
tree | 51b958611b5b12f994db92f8cdb3ebffa7791673 /tools/h5stat/CMakeLists.txt | |
parent | 75f31948821d7b134f20948f1d3c18547c4c654f (diff) | |
download | hdf5-20d45c853d83eb04fc72e01a3b5461240312095d.zip hdf5-20d45c853d83eb04fc72e01a3b5461240312095d.tar.gz hdf5-20d45c853d83eb04fc72e01a3b5461240312095d.tar.bz2 |
[svn-r22453] Add missing property for resultcode of 1 to MEMCHECKER tests
Diffstat (limited to 'tools/h5stat/CMakeLists.txt')
-rw-r--r-- | tools/h5stat/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5stat/CMakeLists.txt b/tools/h5stat/CMakeLists.txt index 091da9a..fa9f815 100644 --- a/tools/h5stat/CMakeLists.txt +++ b/tools/h5stat/CMakeLists.txt @@ -93,6 +93,9 @@ IF (BUILD_TESTING) # If using memchecker add tests without using scripts IF (HDF5_ENABLE_USING_MEMCHECKER) ADD_TEST (NAME H5STAT-${resultfile} COMMAND $<TARGET_FILE:h5stat> ${ARGN}) + IF (NOT ${resultcode} STREQUAL "0") + SET_TESTS_PROPERTIES (H5STAT-${resultfile} PROPERTIES WILL_FAIL "true") + ENDIF (NOT ${resultcode} STREQUAL "0") IF (NOT "${last_test}" STREQUAL "") SET_TESTS_PROPERTIES (H5STAT-${resultfile} PROPERTIES DEPENDS ${last_test}) ENDIF (NOT "${last_test}" STREQUAL "") |