summaryrefslogtreecommitdiffstats
path: root/fortran/test/tH5G.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2001-04-27 03:50:22 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2001-04-27 03:50:22 (GMT)
commit9aba4e88c26d98aafaf231163e949b9a53aa9561 (patch)
tree56eb7cef411650b40c4f57c58776620a1ddf2b67 /fortran/test/tH5G.f90
parent6182da802691e5702681faf509ac151fe652dd51 (diff)
downloadhdf5-9aba4e88c26d98aafaf231163e949b9a53aa9561.zip
hdf5-9aba4e88c26d98aafaf231163e949b9a53aa9561.tar.gz
hdf5-9aba4e88c26d98aafaf231163e949b9a53aa9561.tar.bz2
[svn-r3861]
Purpose: Code maintenance Description: read/write APIs have been changed. Solution: Made necessary changes to the tests. Platforms tested: Windows 98, Linux, Solaris 2.7, O2K, T3E
Diffstat (limited to 'fortran/test/tH5G.f90')
-rw-r--r--fortran/test/tH5G.f906
1 files changed, 4 insertions, 2 deletions
diff --git a/fortran/test/tH5G.f90 b/fortran/test/tH5G.f90
index 2ec6435..5486bb8 100644
--- a/fortran/test/tH5G.f90
+++ b/fortran/test/tH5G.f90
@@ -41,6 +41,7 @@
CHARACTER*100 :: commentout !comment to the file
INTEGER :: nmembers
INTEGER :: obj_type
+ INTEGER, DIMENSION(7) :: data_dims
!
! Create the file.
!
@@ -74,7 +75,8 @@
!
! Write data_in to dataset1
!
- CALL h5dwrite_f(dset1_id, H5T_NATIVE_INTEGER, dset1_data, error)
+ data_dims(1) = 1
+ CALL h5dwrite_f(dset1_id, H5T_NATIVE_INTEGER, dset1_data, data_dims, error)
CALL check("h5dwrite_f",error,total_error)
!
@@ -87,7 +89,7 @@
!
! Write data_in to dataset2
!
- CALL h5dwrite_f(dset2_id, H5T_NATIVE_INTEGER, dset2_data, error)
+ CALL h5dwrite_f(dset2_id, H5T_NATIVE_INTEGER, dset2_data, data_dims, error)
CALL check("h5dwrite_f",error,total_error)
!