summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-08 19:14:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-08 19:14:43 (GMT)
commit8b8637d014f76f33b6e1c07a3fa5200dfe4fa200 (patch)
treeb1d60b8c349e4f503ebdfc489bdded2b6f99792d
parent8ff85dff9b88b79c16b5f1f23f054ab3216402bf (diff)
downloadhdf5-8b8637d014f76f33b6e1c07a3fa5200dfe4fa200.zip
hdf5-8b8637d014f76f33b6e1c07a3fa5200dfe4fa200.tar.gz
hdf5-8b8637d014f76f33b6e1c07a3fa5200dfe4fa200.tar.bz2
[svn-r20199] Add expected fail condition to memcheck alternate tests.
-rw-r--r--tools/h5diff/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5diff/CMakeLists.txt b/tools/h5diff/CMakeLists.txt
index 664a308..0a367d9 100644
--- a/tools/h5diff/CMakeLists.txt
+++ b/tools/h5diff/CMakeLists.txt
@@ -273,6 +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")
+ SET_TESTS_PROPERTIES (H5DIFF-${resultfile} PROPERTIES WILL_FAIL "true")
+ ENDIF (${resultcode} STREQUAL "1")
ELSE (HDF5_ENABLE_USING_MEMCHECKER)
ADD_TEST (
NAME H5DIFF-${resultfile}