diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-27 20:28:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-27 20:28:27 (GMT) |
commit | 2c93a80648a72fd19d13c3c014ef998dc1f88f8f (patch) | |
tree | 545dda6a2ce07309b440397baa189bb10e70bc3f /test/ttime.c | |
parent | 0ee1ca5c204516f07f71476906218850a67425a3 (diff) | |
download | hdf5-2c93a80648a72fd19d13c3c014ef998dc1f88f8f.zip hdf5-2c93a80648a72fd19d13c3c014ef998dc1f88f8f.tar.gz hdf5-2c93a80648a72fd19d13c3c014ef998dc1f88f8f.tar.bz2 |
[svn-r14160] Description:
Make H5Topen versioned, and add regression test for H5Topen1.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'test/ttime.c')
-rw-r--r-- | test/ttime.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/ttime.c b/test/ttime.c index 927d68a..37e0b5e 100644 --- a/test/ttime.c +++ b/test/ttime.c @@ -81,8 +81,8 @@ test_time_commit(void) file_id = H5Fopen(DATAFILE, H5F_ACC_RDWR, H5P_DEFAULT); CHECK(file_id, FAIL, "H5Fopen"); - tid = H5Topen(file_id, "Committed D32LE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D32LE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D32LE)) TestErrPrintf("H5T_UNIX_D32LE datatype not found\n"); @@ -90,8 +90,8 @@ test_time_commit(void) status = H5Tclose (tid); CHECK(status, FAIL, "H5Tclose"); - tid = H5Topen(file_id, "Committed D32BE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D32BE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D32BE)) TestErrPrintf("H5T_UNIX_D32BE datatype not found\n"); @@ -99,8 +99,8 @@ test_time_commit(void) status = H5Tclose (tid); CHECK(status, FAIL, "H5Tclose"); - tid = H5Topen(file_id, "Committed D64LE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D64LE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D64LE)) TestErrPrintf("H5T_UNIX_D64LE datatype not found"); @@ -108,8 +108,8 @@ test_time_commit(void) status = H5Tclose (tid); CHECK(status, FAIL, "H5Tclose"); - tid = H5Topen(file_id, "Committed D64BE type"); - CHECK(tid, FAIL, "H5Topen"); + tid = H5Topen2(file_id, "Committed D64BE type", H5P_DEFAULT); + CHECK(tid, FAIL, "H5Topen2"); if(!H5Tequal(tid, H5T_UNIX_D64BE)) TestErrPrintf("H5T_UNIX_D64BE datatype not found"); |