summaryrefslogtreecommitdiffstats
path: root/test/cross_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cross_read.c')
-rw-r--r--test/cross_read.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/cross_read.c b/test/cross_read.c
index cb71996..b8a2b46 100644
--- a/test/cross_read.c
+++ b/test/cross_read.c
@@ -229,8 +229,10 @@ check_file(char *filename)
#endif
/* Open the file. */
- if ((fid = H5Fopen(pathname, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0)
+ if ((fid = H5Fopen(pathname, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) {
+ nerrors++;
FAIL_STACK_ERROR;
+ }
TESTING("regular dataset of LE DOUBLE");
nerrors += check_data_f(DATASETNAME, fid);
@@ -357,6 +359,14 @@ main(void)
h5_reset();
+ /*
+ * Skip tests for VFDs that need modified filenames.
+ */
+ if (h5_driver_uses_modified_filename()) {
+ HDputs(" -- SKIPPED for incompatible VFD --");
+ HDexit(EXIT_SUCCESS);
+ }
+
HDputs("\n");
HDputs("Testing reading data created on Linux");
h5_fixname(FILENAME[1], H5P_DEFAULT, filename, sizeof(filename));