summaryrefslogtreecommitdiffstats
path: root/fortran/test/fortranlib_test.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2001-11-27 15:11:56 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2001-11-27 15:11:56 (GMT)
commit6336d12b0383b7adcf29a91cf3dbbe4ceaff6d42 (patch)
tree9f8d49005d12f8d7d248f429bc791af2fd48b796 /fortran/test/fortranlib_test.f90
parent3adfa54afcb04b8b6fecfda31fc1585cea6ac6e4 (diff)
downloadhdf5-6336d12b0383b7adcf29a91cf3dbbe4ceaff6d42.zip
hdf5-6336d12b0383b7adcf29a91cf3dbbe4ceaff6d42.tar.gz
hdf5-6336d12b0383b7adcf29a91cf3dbbe4ceaff6d42.tar.bz2
[svn-r4638]
Purpose: Maintenance Description: Added tests for the H5E Fortran interface Platforms tested: arabica and eirene
Diffstat (limited to 'fortran/test/fortranlib_test.f90')
-rw-r--r--fortran/test/fortranlib_test.f909
1 files changed, 9 insertions, 0 deletions
diff --git a/fortran/test/fortranlib_test.f90 b/fortran/test/fortranlib_test.f90
index 07a17b0..13e96b0 100644
--- a/fortran/test/fortranlib_test.f90
+++ b/fortran/test/fortranlib_test.f90
@@ -25,6 +25,7 @@
INTEGER :: attribute_total_error = 0
INTEGER :: identifier_total_error = 0
INTEGER :: group_total_error = 0
+ INTEGER :: error_total_error = 0
CHARACTER*8 error_string
CHARACTER*8 :: success = ' PASSED '
CHARACTER*8 :: failure = '*FAILED*'
@@ -215,6 +216,14 @@
write(*, fmt = e_format) error_string
total_error = total_error + identifier_total_error
+ error_string = failure
+ CALL error_report_test(error_total_error)
+ IF (error_total_error == 0) error_string = success
+ write(*, fmt = '(11a)', advance = 'no') ' Error test'
+ write(*, fmt = '(59x,a)', advance = 'no') ' '
+ write(*, fmt = e_format) error_string
+ total_error = total_error + error_total_error
+
write(*,*)
write(*,*) ' ============================================ '