enable test for virtual datasets only for HDF5 >= 1.10.0
@@ -20,7 +20,7 @@ SET(NC4_TESTS tst_dims tst_dims2 tst_dims3 tst_files tst_files4
tst_files6 tst_sync tst_h_strbug tst_h_refs tst_h_scalar tst_rename
tst_rename2 tst_rename3 tst_h5_endians tst_atts_string_rewrite tst_put_vars_two_unlim_dim
tst_hdf5_file_compat tst_fill_attr_vanish tst_rehash tst_types tst_bug324
- tst_atts3 tst_put_vars tst_elatefill tst_udf tst_bug1442 tst_virtual_datasets)
+ tst_atts3 tst_put_vars tst_elatefill tst_udf tst_bug1442)
# Note, renamegroup needs to be compiled before run_grp_rename
@@ -44,6 +44,10 @@ ENDIF(ENABLE_FILTER_TESTING)
ENDIF(BUILD_UTILITIES)
+IF(${HDF5_VERSION} VERSION_GREATER "1.10.0")
+ SET(NC4_TESTS ${NC4_TESTS} tst_virtual_datasets)
+ENDIF(${HDF5_VERSION} VERSION_GREATER "1.10.0")
+
##
# The shell script, run_empty_vlen_test.sh,
# depends on the 'tst_empty_vlen_unlim' binary.
