summaryrefslogtreecommitdiffstats
path: root/fortran/test
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2001-11-27 15:17:44 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2001-11-27 15:17:44 (GMT)
commit8b869685cbb2e9725793c9051f85ae9f9b1e8829 (patch)
tree8d453dc0979bdd391f35ace24eafe1ca67adfc2f /fortran/test
parente4895fb48fbd64e6a753e350b1d9592335745431 (diff)
downloadhdf5-8b869685cbb2e9725793c9051f85ae9f9b1e8829.zip
hdf5-8b869685cbb2e9725793c9051f85ae9f9b1e8829.tar.gz
hdf5-8b869685cbb2e9725793c9051f85ae9f9b1e8829.tar.bz2
[svn-r4641]
Purpose: Maintenance Description: Added tests for the H5E Fortran interface Platforms tested: arabica and eirene
Diffstat (limited to 'fortran/test')
-rw-r--r--fortran/test/Makefile.in2
-rw-r--r--fortran/test/fortranlib_test.f909
2 files changed, 10 insertions, 1 deletions
diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in
index cb3af45..ba4b919 100644
--- a/fortran/test/Makefile.in
+++ b/fortran/test/Makefile.in
@@ -21,7 +21,7 @@ TEST_PROGS_SRC=fortranlib_test.f90 fflush1.f90 fflush2.f90
TEST_PROGS=$(TEST_PROGS_SRC:.f90=)
TEST_SRC=hdf5test.f90 tH5F.f90 tH5D.f90 tH5R.f90 tH5S.f90 tH5T.f90 \
- tH5Sselect.f90 tH5P.f90 tH5A.f90 tH5I.f90 tH5G.f90
+ tH5Sselect.f90 tH5P.f90 tH5A.f90 tH5I.f90 tH5G.f90 tH5E.f90
TEST_OBJ=$(TEST_SRC:.f90=.lo)
DISTCLEAN=$(TEST_PROGS_SRC:.f90=.lo) $(TEST_PROGS_SRC:.f90=.o) *.h5
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(*,*) ' ============================================ '