davidsch / rpms / bout++

Forked from rpms/bout++ 2 years ago
Clone

Blame test-metric-precision.patch

David Schwörer 86b481b
commit 9feb40fb4feb6d90456a45f8b09464307f1a1873
David Schwörer 86b481b
Author: David Schwörer <schword2@mail.dcu.ie>
David Schwörer 86b481b
Date:   Sun Nov 24 13:56:49 2019 +0000
David Schwörer 86b481b
David Schwörer 86b481b
    Loosen tolerance for other arches
David Schwörer 86b481b
David Schwörer 86b481b
diff --git a/tests/unit/mesh/parallel/test_shiftedmetric.cxx b/tests/unit/mesh/parallel/test_shiftedmetric.cxx
David Schwörer 86b481b
index 9fb0c421f..b589af68d 100644
David Schwörer 86b481b
--- a/tests/unit/mesh/parallel/test_shiftedmetric.cxx
David Schwörer 86b481b
+++ b/tests/unit/mesh/parallel/test_shiftedmetric.cxx
David Schwörer 86b481b
@@ -166,7 +166,8 @@ TEST_F(ShiftedMetricTest, FromFieldAligned) {
David Schwörer 86b481b
   // Loosen tolerance a bit due to FFTs
David Schwörer 86b481b
   EXPECT_TRUE(IsFieldEqual(result, expected, "RGN_ALL",
David Schwörer 86b481b
                            FFTTolerance));
David Schwörer 86b481b
-  EXPECT_TRUE(IsFieldEqual(toFieldAligned(result), input));
David Schwörer 86b481b
+  EXPECT_TRUE(IsFieldEqual(toFieldAligned(result), input,
David Schwörer 86b481b
+			   "RGN_ALL", FFTTolerance));
David Schwörer 86b481b
   EXPECT_TRUE(areFieldsCompatible(result, expected));
David Schwörer 86b481b
   EXPECT_FALSE(areFieldsCompatible(result, input));
David Schwörer 86b481b
 }