summaryrefslogtreecommitdiffstats
path: root/testpar/API/t_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/API/t_file.c')
-rw-r--r--testpar/API/t_file.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/testpar/API/t_file.c b/testpar/API/t_file.c
index 936454a..a96f593 100644
--- a/testpar/API/t_file.c
+++ b/testpar/API/t_file.c
@@ -994,6 +994,18 @@ test_delete(void)
MPI_Comm_size(MPI_COMM_WORLD, &mpi_size);
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
+ /* Make sure the connector supports the API functions being tested */
+ if (!(vol_cap_flags_g & H5VL_CAP_FLAG_FILE_BASIC) || !(vol_cap_flags_g & H5VL_CAP_FLAG_FILE_MORE)) {
+ if (MAINPROCESS) {
+ puts("SKIPPED");
+ printf(" API functions for basic file or file more aren't supported with this "
+ "connector\n");
+ fflush(stdout);
+ }
+
+ return;
+ }
+
/* setup file access plist */
fapl_id = H5Pcreate(H5P_FILE_ACCESS);
VRFY((fapl_id != H5I_INVALID_HID), "H5Pcreate");