[PATCH] D128261: [Fortran] Relax relative tolerance for FCVS tests

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 02:12:43 PDT 2022


rovka updated this revision to Diff 441314.
rovka retitled this revision from "[Fortran] Relax tolerance for FCVS tests" to "[Fortran] Relax relative tolerance for FCVS tests".
rovka edited the summary of this revision.
rovka added a comment.

Update summary & comment.


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
@@ -40,6 +40,7 @@
 set(SPECIAL_CASES "FM905.f" "FM907.f")
 set(Source ${SPECIAL_CASES})
 set(FP_IGNOREWHITESPACE ON)
+set(FP_TOLERANCE 1.0e-7) # FM905 needs a higher relative tolerance than the rest
 llvm_singlesource()
 set(Source)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128261.441314.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220630/057b85e8/attachment.bin>


More information about the llvm-commits mailing list