[flang-commits] [PATCH] D128261: [Fortran] Relax relative tolerance for FCVS tests
Diana Picus via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Aug 15 05:24:00 PDT 2022
rovka updated this revision to Diff 452636.
rovka edited the summary of this revision.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128261/new/
https://reviews.llvm.org/D128261
Files:
Fortran/UnitTests/fcvs21_f95/CMakeLists.txt
Index: Fortran/UnitTests/fcvs21_f95/CMakeLists.txt
===================================================================
--- Fortran/UnitTests/fcvs21_f95/CMakeLists.txt
+++ Fortran/UnitTests/fcvs21_f95/CMakeLists.txt
@@ -50,6 +50,11 @@
set(Source ${SPECIAL_CASES})
if (FCVS_ALLOW_FLEXIBLE_OUTPUT)
set(FP_IGNOREWHITESPACE ON)
+
+ # FM905 needs a higher relative tolerance than the rest. The reference output
+ # contains 2.5E-11, but gfortran (reasonably) prints 2.50000003E-11. Both
+ # should be accepted.
+ set(FP_TOLERANCE 1.0e-7)
endif()
llvm_singlesource()
set(Source)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128261.452636.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220815/c77163b9/attachment-0001.bin>
More information about the flang-commits
mailing list