summaryrefslogtreecommitdiffstats
path: root/fortran/test/fortranlib_test.f90
diff options
context:
space:
mode:
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 '