summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index a3ea041..9f41a05 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -882,6 +882,11 @@ test_write_same_element(void)
MESSAGE(5, ("Testing writing to same element of VL string dataset twice\n"));
+ if (!(vol_cap_flags_g & H5VL_CAP_FLAG_FILE_BASIC) || !(vol_cap_flags_g & H5VL_CAP_FLAG_DATASET_BASIC)) {
+ MESSAGE(5, (" -- SKIPPED --\n"));
+ return;
+ }
+
file1 = H5Fcreate(DATAFILE3, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(file1, FAIL, "H5Fcreate");