diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-04-07 21:36:15 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-04-07 21:36:15 (GMT) |
commit | 6f711ab4cb085936cb2a697d26747efad32ee0d6 (patch) | |
tree | da94c27be5744d8168139a01589571ca9320228d /tools/h5repack/testh5repack_make.c | |
parent | 42e2d9dd37a4a943d22f01179abc8eac776f0a9a (diff) | |
download | hdf5-6f711ab4cb085936cb2a697d26747efad32ee0d6.zip hdf5-6f711ab4cb085936cb2a697d26747efad32ee0d6.tar.gz hdf5-6f711ab4cb085936cb2a697d26747efad32ee0d6.tar.bz2 |
[svn-r8318] Purpose:
new tests for h5repack
Description:
added tests that do layout type to layout type conversion in a matrix of 9 between compact, contiguous and chunking
Solution:
Platforms tested:
linux
afs has problems; I could not telnet to sol and copper, arabica is really slow (meaning
waiting 1 minute for a typed character) and the writing of a file gave an error
arabica 181% afs: failed to store file (145)
afs: failed to store file (145)
Misc. update:
Diffstat (limited to 'tools/h5repack/testh5repack_make.c')
-rw-r--r-- | tools/h5repack/testh5repack_make.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/h5repack/testh5repack_make.c b/tools/h5repack/testh5repack_make.c index f625d2a..faacce4 100644 --- a/tools/h5repack/testh5repack_make.c +++ b/tools/h5repack/testh5repack_make.c @@ -44,7 +44,6 @@ int make_testfiles(void) return -1; if (make_all_objects(loc_id)<0) goto out; - /* close */ if(H5Fclose(loc_id)<0) return -1; @@ -56,7 +55,6 @@ int make_testfiles(void) return -1; if (make_attributes(loc_id)<0) goto out; - /* close */ if(H5Fclose(loc_id)<0) return -1; /*------------------------------------------------------------------------- @@ -67,18 +65,18 @@ int make_testfiles(void) return -1; if (make_special_objects(loc_id)<0) goto out; - /* close */ if(H5Fclose(loc_id)<0) return -1; /*------------------------------------------------------------------------- - * create a file for the filters test + * create a file for the filters and layouts test *------------------------------------------------------------------------- */ if((loc_id = H5Fcreate(FNAME4,H5F_ACC_TRUNC,H5P_DEFAULT,H5P_DEFAULT))<0) return -1; if (make_filters(loc_id)<0) goto out; - /* close */ + if (make_layout(loc_id)<0) + goto out; if(H5Fclose(loc_id)<0) return -1; @@ -120,7 +118,6 @@ int make_all_objects(hid_t loc_id) * H5G_DATASET *------------------------------------------------------------------------- */ - space_id = H5Screate_simple(1,dims,NULL); dset_id = H5Dcreate(loc_id,"dset_referenced",H5T_NATIVE_INT,space_id,H5P_DEFAULT); H5Sclose(space_id); |