]> git.pld-linux.org Git - packages/libreoffice.git/blob - disable-failing-test.patch
- disable more flaky tests (update from Debian)
[packages/libreoffice.git] / disable-failing-test.patch
1 --- a/writerperfect/Module_writerperfect.mk
2 +++ b/writerperfect/Module_writerperfect.mk
3 @@ -31,7 +31,6 @@ $(eval $(call gb_Module_add_check_targets,writerperfect,\
4         CppunitTest_writerperfect_calc \
5         CppunitTest_writerperfect_draw \
6         CppunitTest_writerperfect_impress \
7 -       CppunitTest_writerperfect_writer \
8         StaticLibrary_writerperfect_importtestbase \
9  ))
10  
11 --- libreoffice-5.0.2.1/dbaccess/Module_dbaccess.mk~    2015-09-05 09:59:15.000000000 +0200
12 +++ libreoffice-5.0.2.1/dbaccess/Module_dbaccess.mk     2015-09-17 08:53:09.973934654 +0200
13 @@ -45,16 +45,8 @@ $(eval $(call gb_Module_add_check_targets,dbaccess,\
14         CppunitTest_dbaccess_empty_stdlib_save \
15         CppunitTest_dbaccess_nolib_save \
16         CppunitTest_dbaccess_macros_test \
17 -       $(if $(ENABLE_JAVA), \
18 -               CppunitTest_dbaccess_RowSetClones) \
19  ))
20  
21 -ifeq ($(ENABLE_JAVA),TRUE)
22 -$(eval $(call gb_Module_add_check_targets,dbaccess,\
23 -    CppunitTest_dbaccess_hsqldb_test \
24 -))
25 -endif
26 -
27  # This runs a suite of peformance tests on embedded firebird and HSQLDB.
28  # Instructions on running the test can be found in qa/unit/embeddedb_performancetest
29  ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
30
31 --- libreoffice-5.3.0.3/dbaccess/Module_dbaccess.mk~    2017-02-02 13:13:39.000000000 +0100
32 +++ libreoffice-5.3.0.3/dbaccess/Module_dbaccess.mk     2017-02-02 14:38:31.994811891 +0100
33 @@ -34,12 +34,6 @@ $(eval $(call gb_Module_add_l10n_targets
34         UIConfig_dbtdata \
35  ))
36  
37 -ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
38 -$(eval $(call gb_Module_add_check_targets,dbaccess,\
39 -    CppunitTest_dbaccess_firebird_test \
40 -))
41 -endif
42 -
43  $(eval $(call gb_Module_add_check_targets,dbaccess,\
44         CppunitTest_dbaccess_dialog_save \
45         CppunitTest_dbaccess_empty_stdlib_save \
46 @@ -49,13 +43,6 @@ $(eval $(call gb_Module_add_check_target
47  
48  # This runs a suite of peformance tests on embedded firebird and HSQLDB.
49  # Instructions on running the test can be found in qa/unit/embeddedb_performancetest
50 -ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
51 -ifeq ($(ENABLE_JAVA),TRUE)
52 -$(eval $(call gb_Module_add_check_targets,dbaccess,\
53 -    CppunitTest_dbaccess_embeddeddb_performancetest \
54 -))
55 -endif
56 -endif
57  
58  $(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
59         JunitTest_dbaccess_complex \
60
61 14:13 < mst__> _rene_, the toolkit unoapi tests are known to be flaky (in some 
62                system dependent way) e.g. on the Win@6 tinderbox it always 
63                crashes
64 14:14 < mst__> _rene_, sc.ScAccessible* tests also fail on some systems some of 
65                the time
66
67 diff --git a/toolkit/Module_toolkit.mk b/toolkit/Module_toolkit.mk
68 index 25db0b6..14e507c 100644
69 --- a/toolkit/Module_toolkit.mk
70 +++ b/toolkit/Module_toolkit.mk
71 @@ -26,11 +26,11 @@ $(eval $(call gb_Module_add_targets,toolkit,\
72  ifneq ($(OOO_JUNIT_JAR),)
73  $(eval $(call gb_Module_add_subsequentcheck_targets,toolkit,\
74      JunitTest_toolkit_complex \
75 -    JunitTest_toolkit_unoapi_1 \
76 -    JunitTest_toolkit_unoapi_2 \
77 -    JunitTest_toolkit_unoapi_3 \
78 -    JunitTest_toolkit_unoapi_4 \
79  ))
80  endif
81 +#    JunitTest_toolkit_unoapi_1 \
82 +#    JunitTest_toolkit_unoapi_2 \
83 +#    JunitTest_toolkit_unoapi_3 \
84 +#    JunitTest_toolkit_unoapi_4 \
85  
86  # vim: set noet sw=4 ts=4:
87 diff --git a/sc/qa/unoapi/sc_1.sce b/sc/qa/unoapi/sc_1.sce
88 index fa1684c..cc8e1a5 100644
89 --- a/sc/qa/unoapi/sc_1.sce
90 +++ b/sc/qa/unoapi/sc_1.sce
91 @@ -24,10 +24,3 @@
92  # i84554 -o sc.AccessibleEditableTextPara_PreviewNote
93  # i88241 -o sc.AccessibleEditableTextPara_HeaderFooter
94  -o sc.AccessibleEditableTextPara_PreviewCell
95 --o sc.ScAccessibleCell
96 -# i91044 -o sc.ScAccessibleCsvCell
97 -# i91044 -o sc.ScAccessibleCsvGrid
98 -# i84641 -o sc.ScAccessibleCsvRuler
99 -# i88330 -o sc.ScAccessibleDocument
100 -# i91045 -o sc.ScAccessibleDocumentPagePreview
101 --o sc.ScAccessiblePageHeader
102 diff --git a/sc/qa/unoapi/sc_2.sce b/sc/qa/unoapi/sc_2.sce
103 index dbfc3e1..d235c5d 100644
104 --- a/sc/qa/unoapi/sc_2.sce
105 +++ b/sc/qa/unoapi/sc_2.sce
106 @@ -15,11 +15,6 @@
107  #   except in compliance with the License. You may obtain a copy of
108  #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
109  #
110 -# fdo#FOO -o sc.ScAccessiblePageHeaderArea
111 --o sc.ScAccessiblePreviewCell
112 --o sc.ScAccessiblePreviewHeaderCell
113 --o sc.ScAccessiblePreviewTable
114 -# fdo#45337 -o sc.ScAccessibleSpreadsheet
115  # FIXME_REMOVE_WHEN_RE_BASE_COMPLETE
116  # -o sc.ScAnnotationObj
117  # -o sc.ScAnnotationShapeObj
118
119 20:42 <@vmiklos> _rene_: yes?
120 20:43 < _rene_> vmiklos: see the ml. works, but that of course is not a fix for the test :)
121 20:43 < _rene_> s/works/lloconv works/
122 20:43 < _rene_> vmiklos: and as a test failure is fatal (at least on i386/amd64)..
123 20:44 < loircbot> LibreOffice (core) vmiklos *  (3 files in 3 dirs): tdf#83300 DOCX import: 'TOC Heading' should not be 'keep with next' by default
124 20:44 <@vmiklos> _rene_: thanks for testing. yes, but then my idea that perhaps the part to fix is the testcase, not the real code may be true at the end :)
125 20:45 < _rene_> yeah, or how the test is run (deinit?)
126 20:45 < _rene_> because it does say OK...
127 20:45 < _rene_> and then SIGSEGVs ;)
128 20:46 < loircbot> LibreOffice (core) [feature/glyphy] tml * external/glyphy/glyphy-windows.patch.1: Update the GLyphy patch for Windows
129 20:48 <@vmiklos> _rene_: aah, actually it may be a real bug then -- IIRC lloconv has some dirty _exit() hack..
130 [...]
131 11:21 < _rene_> vmiklos: I think I'll revert to non-libmerged to get that test 
132                 fixed for beta1. I don't like having all tests disabled. can 
133                 live with it for a alpha, but...
134 11:22 < _rene_> but merged-nonmerged-merged ping-pong is also not ideal ;)
135 11:22 < bubli> tml__: No way I do :P
136 11:22 < _rene_> especially as I would differentiate from official TDF builds 
137                 with not-libmerged..
138 [...]
139 11:48 <@vmiklos> _rene_: right, either revert to non-merged or patch/sed out 
140                  that single test for now.
141
142 diff --git a/libreofficekit/Module_libreofficekit.mk b/libreofficekit/Module_libreofficekit.mk
143 index 0b2fd4a..ae40d59 100644
144 --- a/libreofficekit/Module_libreofficekit.mk
145 +++ b/libreofficekit/Module_libreofficekit.mk
146 @@ -11,9 +11,9 @@ $(eval $(call gb_Module_Module,libreofficekit))
147      CppunitTest_libreofficekit_checkapi \
148  ))
149  
150 -$(eval $(call gb_Module_add_subsequentcheck_targets,libreofficekit,\
151 -    CppunitTest_libreofficekit_tiledrendering \
152 -))
153 +#$(eval $(call gb_Module_add_subsequentcheck_targets,libreofficekit,\
154 +#    CppunitTest_libreofficekit_tiledrendering \
155 +#))
156  
157  ifneq ($(ENABLE_GTK3),)
158  $(eval $(call gb_Module_add_targets,libreofficekit,\
159
160 12:18 < _rene_> chris_wot: ping?
161 12:18 < chris_wot> heya
162 12:18 < chris_wot> you pinged?
163 12:19 < _rene_> chris_wot: any news on 
164                 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815292?
165 12:20 < _rene_> (of course the this-night-uploaded rc3 also failed)
166 12:21 < chris_wot> ah, sorry - I've looked at an EMF regression, but I've not 
167                    gotten any further on that one
168 12:22 < chris_wot> I honestly think that for this one just disable the test for 
169                    now
170 12:22 < chris_wot> I'll ping the ML
171
172 diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
173 index 54eed4d..78019bd 100644
174 --- a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
175 +++ b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
176 @@ -1103,28 +1103,28 @@ DECLARE_OOXMLEXPORT_TEST(testTDF93675, "no-numlevel-but-indented.odt")
177      assertXPath(pXmlDoc, "//w:ind", "start", "1418");
178  }
179  
180 -DECLARE_OOXMLEXPORT_TEST(testFlipAndRotateCustomShape, "flip_and_rotate.odt")
181 -{
182 -    xmlDocPtr pXmlDoc = parseExport("word/document.xml");
183 -    if (!pXmlDoc)
184 -        return;
185 -    // there should be no flipH and flipV attributes in this case
186 -    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipH");
187 -    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipV");
188 -    // check rotation angle
189 -    assertXPath(pXmlDoc, "//a:xfrm", "rot", "13500000");
190 -    // check the first few coordinates of the polygon
191 -#ifndef MACOSX /* Retina-related rounding rountrip error
192 -                * hard to smooth out due to the use of string compare
193 -                * instead of number */
194 -    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "x", "2351");
195 -    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "y", "3171");
196 -    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "x", "1695");
197 -    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "y", "3171");
198 -    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "x", "1695");
199 -    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "y", "1701");
200 -#endif
201 -}
202 +//DECLARE_OOXMLEXPORT_TEST(testFlipAndRotateCustomShape, "flip_and_rotate.odt")
203 +//{
204 +//    xmlDocPtr pXmlDoc = parseExport("word/document.xml");
205 +//    if (!pXmlDoc)
206 +//        return;
207 +//    // there should be no flipH and flipV attributes in this case
208 +//    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipH");
209 +//    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipV");
210 +//    // check rotation angle
211 +//    assertXPath(pXmlDoc, "//a:xfrm", "rot", "13500000");
212 +//    // check the first few coordinates of the polygon
213 +//#ifndef MACOSX /* Retina-related rounding rountrip error
214 +//                * hard to smooth out due to the use of string compare
215 +//                * instead of number */
216 +//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "x", "2351");
217 +//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "y", "3171");
218 +//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "x", "1695");
219 +//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "y", "3171");
220 +//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "x", "1695");
221 +//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "y", "1701");
222 +//#endif
223 +//}
224  
225  #endif
226  
227 diff --git a/svx/qa/unoapi/svx.sce b/svx/qa/unoapi/svx.sce
228 index 1c3925f..a16f001 100644
229 --- a/svx/qa/unoapi/svx.sce
230 +++ b/svx/qa/unoapi/svx.sce
231 @@ -25,7 +25,7 @@
232  #i111216 -o svx.AccessiblePresentationGraphicShape
233  #i111216 -o svx.AccessiblePresentationOLEShape
234  #i85539 -o svx.AccessiblePresentationShape
235 --o svx.AccessibleShape
236 +#-o svx.AccessibleShape
237  #i90294 -o svx.GraphicExporter
238  -o svx.SvxDrawPage
239  #i85501 -o svx.SvxGraphCtrlAccessibleContext
This page took 0.042796 seconds and 3 git commands to generate.