summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-08-30 15:27:07 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-08-30 15:27:07 (GMT)
commit203b2b2e75816bfd0f4d54ecd2cb1f41b1247447 (patch)
tree3e03487f4266ed611abc89080d8da147d61c14cf /tools/h5repack
parent3b878ea9d9afb8cb186597d876b569304976d74f (diff)
downloadhdf5-203b2b2e75816bfd0f4d54ecd2cb1f41b1247447.zip
hdf5-203b2b2e75816bfd0f4d54ecd2cb1f41b1247447.tar.gz
hdf5-203b2b2e75816bfd0f4d54ecd2cb1f41b1247447.tar.bz2
Windows returns -1 instaed of 255 as on linux for the test
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/CMakeTests.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5repack/CMakeTests.cmake b/tools/h5repack/CMakeTests.cmake
index cad675e..d0aa6c8 100644
--- a/tools/h5repack/CMakeTests.cmake
+++ b/tools/h5repack/CMakeTests.cmake
@@ -1147,7 +1147,11 @@
ADD_H5_UD_TEST (plugin_test 0 h5repack_layout.h5 -v -f UD=257,1,9)
ADD_H5_UD_TEST (plugin_none 0 h5repack_layout.UD.h5 -v -f NONE)
# check for no parameters
- ADD_H5_CMP_TEST (plugin_zero "" "TEST" 255 h5repack_layout.h5 -v -f UD=250,0)
+ set (TESTRETVAL 255)
+ if (WIN32)
+ set (TESTRETVAL -1)
+ endif()
+ ADD_H5_CMP_TEST (plugin_zero "" "TEST" ${TESTRETVAL} h5repack_layout.h5 -v -f UD=250,0)
if (HDF5_TEST_VFD)
# Run test with different Virtual File Driver