diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-03-15 17:43:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-03-15 17:43:50 (GMT) |
commit | 34dd499cdb52119c4f1e482c225c7c8629d55225 (patch) | |
tree | 93a50bf14596573aac979b3939d47fca60c890bc | |
parent | 82b64c5e976fb2daa9fd0695361a42f67a6b9d85 (diff) | |
download | hdf5-34dd499cdb52119c4f1e482c225c7c8629d55225.zip hdf5-34dd499cdb52119c4f1e482c225c7c8629d55225.tar.gz hdf5-34dd499cdb52119c4f1e482c225c7c8629d55225.tar.bz2 |
[svn-r20251] Correct expected fail tests to check a result code of NOT 0
-rw-r--r-- | tools/h5diff/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5diff/CMakeLists.txt b/tools/h5diff/CMakeLists.txt index 0a367d9..6e74a00 100644 --- a/tools/h5diff/CMakeLists.txt +++ b/tools/h5diff/CMakeLists.txt @@ -273,9 +273,9 @@ IF (BUILD_TESTING) # If using memchecker add tests without using scripts IF (HDF5_ENABLE_USING_MEMCHECKER) ADD_TEST (NAME H5DIFF-${resultfile} COMMAND $<TARGET_FILE:h5diff> ${ARGN}) - IF (${resultcode} STREQUAL "1") + IF (NOT ${resultcode} STREQUAL "0") SET_TESTS_PROPERTIES (H5DIFF-${resultfile} PROPERTIES WILL_FAIL "true") - ENDIF (${resultcode} STREQUAL "1") + ENDIF (NOT ${resultcode} STREQUAL "0") ELSE (HDF5_ENABLE_USING_MEMCHECKER) ADD_TEST ( NAME H5DIFF-${resultfile} |