summaryrefslogtreecommitdiffstats
path: root/fortran/test/fortranlib_test.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2003-02-27 21:29:09 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2003-02-27 21:29:09 (GMT)
commit00cb0fc9951a543de7d0e71c5c6aea2cd1cbb031 (patch)
tree1bd92bada8c21371cbd044e333336bc313870050 /fortran/test/fortranlib_test.f90
parent86c1f6a750da020601849e96fb331621d85e833b (diff)
downloadhdf5-00cb0fc9951a543de7d0e71c5c6aea2cd1cbb031.zip
hdf5-00cb0fc9951a543de7d0e71c5c6aea2cd1cbb031.tar.gz
hdf5-00cb0fc9951a543de7d0e71c5c6aea2cd1cbb031.tar.bz2
[svn-r6443]
Purpose: Bug fix Description: Added tests for enumeration types. Platforms tested: modi4, artabica, eirene
Diffstat (limited to 'fortran/test/fortranlib_test.f90')
-rw-r--r--fortran/test/fortranlib_test.f9010
1 files changed, 10 insertions, 0 deletions
diff --git a/fortran/test/fortranlib_test.f90 b/fortran/test/fortranlib_test.f90
index d90fcba..9b00bab 100644
--- a/fortran/test/fortranlib_test.f90
+++ b/fortran/test/fortranlib_test.f90
@@ -37,6 +37,7 @@
INTEGER :: basic_select_total_error = 0
INTEGER :: total_error_compoundtest = 0
INTEGER :: basic_datatype_total_error = 0
+ INTEGER :: enum_total_error = 0
INTEGER :: external_total_error = 0
INTEGER :: attribute_total_error = 0
INTEGER :: identifier_total_error = 0
@@ -206,6 +207,15 @@
write(*, fmt = e_format) error_string
total_error = total_error + total_error_compoundtest
+ error_string = failure
+ CALL enumtest(cleanup, enum_total_error)
+ IF (enum_total_error == 0) error_string = success
+ write(*, fmt = '(19a)', advance = 'no') ' Enum datatype test'
+ write(*, fmt = '(51x,a)', advance = 'no') ' '
+ write(*, fmt = e_format) error_string
+ total_error = total_error + enum_total_error
+
+
! write(*,*)
! write(*,*) '========================================='
! write(*,*) 'Testing PROPERTY interface '