diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-02 14:24:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-02 14:24:46 (GMT) |
commit | 5df52404bc6f6323ebf064b3d82b8e683de96eba (patch) | |
tree | d83cd5a7e6a40ce7dcfacf9106b32ea636b73963 /test/dsets.c | |
parent | 046e64a9bd725c5ba0bebef1ba7278445e391d25 (diff) | |
download | hdf5-5df52404bc6f6323ebf064b3d82b8e683de96eba.zip hdf5-5df52404bc6f6323ebf064b3d82b8e683de96eba.tar.gz hdf5-5df52404bc6f6323ebf064b3d82b8e683de96eba.tar.bz2 |
Misc. small cleanups to sync against incoming page buffering changes.
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/dsets.c b/test/dsets.c index d086c58..39b7c22 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -507,7 +507,7 @@ test_simple_io(const char *env_h5_drvr, hid_t fapl) TESTING("simple I/O"); - /* Can't run this test with multi-file VFDs */ + /* Can't run this test with multi-file VFDs because of HDopen/read/seek the file directly */ if(HDstrcmp(env_h5_drvr, "split") && HDstrcmp(env_h5_drvr, "multi") && HDstrcmp(env_h5_drvr, "family")) { h5_fixname(FILENAME[4], fapl, filename, sizeof filename); @@ -645,7 +645,7 @@ test_userblock_offset(const char *env_h5_drvr, hid_t fapl) TESTING("dataset offset with user block"); - /* Can't run this test with multi-file VFDs */ + /* Can't run this test with multi-file VFDs because of HDopen/read/seek the file directly */ if(HDstrcmp(env_h5_drvr, "split") && HDstrcmp(env_h5_drvr, "multi") && HDstrcmp(env_h5_drvr, "family")) { h5_fixname(FILENAME[2], fapl, filename, sizeof filename); @@ -1984,10 +1984,11 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32, } } - PASSED(); - /* Get the storage size of the dataset */ if((*dset_size=H5Dget_storage_size(dataset))==0) goto error; + + PASSED(); + /* Clean up objects used for this test */ if(H5Dclose (dataset) < 0) goto error; if(H5Sclose (sid) < 0) goto error; @@ -2932,6 +2933,7 @@ test_nbit_int(hid_t file) PASSED(); return 0; + error: return -1; } |