sc/qa/extras/vba-macro-test.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 5cc94afc31bad214a7258a2b3a9323e4924c6cbd
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Oct 14 13:30:15 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Oct 20 20:00:05 2022 +0200

    CppunitTest_sc_vba_macro_test: Do not test specific file on Windows
    
    tb39 fails now with
    
    
C:/cygwin64/home/tdf/lode/jenkins/workspace/gerrit_windows/sc/qa/extras/vba-macro-test.cxx(605)
 : error : Assertion
    Test name: VBAMacroTest::testVba
    equality assertion failed
    - Expected: OK
    - Actual  : Test Results
    ============
    
     Failed:  : Test change event for Range.Clear set:
     Failed:  : Test change event for Range.ClearContents set:
     Failed:  : Test change event for Range.Replace:
     Failed:  : Test change event for Range.FillRight:
    Tests passed: 4
    Tests failed: 4
    
    - script reported failure in file Ranges-3.xls
    
    Change-Id: If226dfc201f124712abeec422cf79a675d25b9fb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141365
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    (cherry picked from commit a42c8923031522284c3199bed397c9e9639a71b5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141413

diff --git a/sc/qa/extras/vba-macro-test.cxx b/sc/qa/extras/vba-macro-test.cxx
index 18ac229538a2..261ee3943a0a 100644
--- a/sc/qa/extras/vba-macro-test.cxx
+++ b/sc/qa/extras/vba-macro-test.cxx
@@ -494,9 +494,18 @@ void VBAMacroTest::testVba()
         { OUString("range-4."),
           OUString(
               
"vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document")
 },
+// FIXME: sometimes it fails on Windows with
+// Failed:  : Test change event for Range.Clear set:
+// Failed:  : Test change event for Range.ClearContents set:
+// Failed:  : Test change event for Range.Replace:
+// Failed:  : Test change event for Range.FillRight:
+// Tests passed: 4
+// Tests failed: 4
+#if !defined(_WIN32)
         { OUString("Ranges-3."),
           OUString(
               
"vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document")
 },
+#endif
         { OUString("TestCalc_Rangetest."),
           OUString(
               
"vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document")
 },

Reply via email to