summaryrefslogtreecommitdiffstats
path: root/fortran/test/tH5P_F03.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2014-04-07 17:05:22 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2014-04-07 17:05:22 (GMT)
commit849177c7b6810d2fc4c16092fc3e37a3fee12075 (patch)
tree009fea2e69f97ffea9ec5f7458675df78fbee0d4 /fortran/test/tH5P_F03.f90
parentf6a04cded9e3ec9d2c672215c8ab7fffdec0a1ea (diff)
downloadhdf5-849177c7b6810d2fc4c16092fc3e37a3fee12075.zip
hdf5-849177c7b6810d2fc4c16092fc3e37a3fee12075.tar.gz
hdf5-849177c7b6810d2fc4c16092fc3e37a3fee12075.tar.bz2
[svn-r24979] Maintenance: Addressed DT failures on emu in 64-bit mode and on macs, linux, powerpc
for non-standard sizes of reals. Platforms tested: jam, ostrich, platypus, kite, quail, emu
Diffstat (limited to 'fortran/test/tH5P_F03.f90')
-rw-r--r--fortran/test/tH5P_F03.f9016
1 files changed, 13 insertions, 3 deletions
diff --git a/fortran/test/tH5P_F03.f90 b/fortran/test/tH5P_F03.f90
index dbc4927..9f71a73 100644
--- a/fortran/test/tH5P_F03.f90
+++ b/fortran/test/tH5P_F03.f90
@@ -205,8 +205,18 @@ SUBROUTINE test_create(total_error)
CALL H5Pget_fill_value_f(dcpl, comp_type_id, f_ptr, error)
CALL check("H5Pget_fill_value_f", error, total_error)
- CALL compare_floats(rd_c%a, fill_ctype%a, differ1)
- CALL compare_floats(rd_c%y, fill_ctype%y, differ2)
+ differ1 = .FALSE.
+ differ2 = .FALSE.
+ if(abs(rd_c%a - fill_ctype%a) .ge. 1.D-08) then
+ differ1 = .TRUE.
+ endif
+ ! This is a workaround; needs to be fixed
+ !CALL compare_floats(rd_c%a, fill_ctype%a, differ1)
+ if(abs(rd_c%y - fill_ctype%y) .ge. 1.D-08) then
+ differ2 = .TRUE.
+ endif
+ ! This is a workaround; needs to be fixed
+ !CALL compare_floats(rd_c%y, fill_ctype%y, differ2)
IF( differ1 .OR. &
differ2 .OR. &
rd_c%x .NE. fill_ctype%x .OR. &
@@ -457,7 +467,7 @@ SUBROUTINE external_test_offset(cleanup,total_error)
USE HDF5 ! This module contains all necessary modules
IMPLICIT NONE
- INTEGER, INTENT(OUT) :: total_error
+ INTEGER, INTENT(INOUT) :: total_error
LOGICAL, INTENT(IN) :: cleanup
INTEGER(hid_t) :: fapl=-1 ! file access property list