[Libreoffice-commits] core.git: sc/qa

Tomáš Chvátal tchvatal at suse.com
Fri May 13 09:19:50 UTC 2016


 sc/qa/unit/ucalc_formula.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit efec1f7024f11f68c3fca476416c78414266f259
Author: Tomáš Chvátal <tchvatal at suse.com>
Date:   Thu May 12 11:07:13 2016 +0200

    Fix unittest failure on aarch64
    
    Change-Id: Ice8d67a7531ef718a9e45d3e5d30817822383749
    Reviewed-on: https://gerrit.libreoffice.org/24924
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index ffce49a..fa49e0d 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -6851,7 +6851,7 @@ void Test::testFuncMDETERM()
         // interim results or optimization not catching it, this test fails
         // when comparing to 0.0, so have a narrow error margin. See also
         // commit message of 8140309d636d4a870875f2dd75ed3dfff2c0fbaf
-#if SAL_TYPES_SIZEOFPOINTER == 4
+#if SAL_TYPES_SIZEOFPOINTER == 4 || defined(__aarch64__)
         CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Calculation of MDETERM incorrect for singular integer matrix",
                 0.0, m_pDoc->GetValue(aPos), 1e-12);
 #else


More information about the Libreoffice-commits mailing list