diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-07-15 17:51:04 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-07-15 17:51:04 (GMT) |
commit | bb02990b22598e0280848b520cd57b589ee70808 (patch) | |
tree | c036f0d619c3dcb16f89a8df2c793d038db7f746 /tools | |
parent | cbfc5097507c200a5737bbd5db4b603b84ab3ab0 (diff) | |
download | hdf5-bb02990b22598e0280848b520cd57b589ee70808.zip hdf5-bb02990b22598e0280848b520cd57b589ee70808.tar.gz hdf5-bb02990b22598e0280848b520cd57b589ee70808.tar.bz2 |
[svn-r19073] Added check for no encoding to determine result for test
Tested: Windows
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5repack/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/h5repack/CMakeLists.txt b/tools/h5repack/CMakeLists.txt index cbf40a5..adec48a 100644 --- a/tools/h5repack/CMakeLists.txt +++ b/tools/h5repack/CMakeLists.txt @@ -53,8 +53,13 @@ IF (BUILD_TESTING) ADD_TEST (NAME testh5repack_detect_szip COMMAND $<TARGET_FILE:testh5repack_detect_szip>) IF (HDF5_ENABLE_SZIP_SUPPORT) - SET (passRegex "yes") - SET_TESTS_PROPERTIES (testh5repack_detect_szip PROPERTIES PASS_REGULAR_EXPRESSION "yes") + IF (HDF5_ENABLE_SZIP_ENCODING) + SET (passRegex "yes") + SET_TESTS_PROPERTIES (testh5repack_detect_szip PROPERTIES PASS_REGULAR_EXPRESSION "yes") + ELSE (HDF5_ENABLE_SZIP_ENCODING) + SET (passRegex "no") + SET_TESTS_PROPERTIES (testh5repack_detect_szip PROPERTIES PASS_REGULAR_EXPRESSION "no") + ENDIF (HDF5_ENABLE_SZIP_ENCODING) ELSE (HDF5_ENABLE_SZIP_SUPPORT) SET (passRegex "no") SET_TESTS_PROPERTIES (testh5repack_detect_szip PROPERTIES PASS_REGULAR_EXPRESSION "no") |