]> git.lyx.org Git - lyx.git/blob - development/autotests/ignoredTests
ctests: ignore a couple more roundtrip tests
[lyx.git] / development / autotests / ignoredTests
1 # Regular expressions for test combinations known to fail permanently
2 # or to be irrelevant
3 #
4 # Patterns will be automatically enclosed with '^' and '$'.
5 # Combinations matching these patterns will be skipped
6 # by the cmake test configuration.
7
8
9 # ================================================
10 Sublabel: problematic
11 # Documents that cause problems for the test suite
12 # ================================================
13
14 # problems exporting to lyx16x
15 export/examples/Modules/Noweb_lyx16
16 export/examples/Modules/Noweb2LyX_lyx16
17
18 # Ignore MergedManuals_xhtml because the test is very time-consuming
19 # and the underlying subdocuments are already tested
20 # Ignore MergedManuals_lyx2[2-9] too
21 # due to following xhtml export of converted file
22 export/doc/(ja/|)MergedManuals_(xhtml|lyx2[2-9])
23
24 # Legacy encoding cp858 only supported by some iconv variants.
25 # (Gnu iconv only supports it, if configured with "--enable-extra-encodings"
26 #  see https://www.gnu.org/software/libiconv/)
27 export/export/latex/inputenc-cp858_pdf2
28
29 # Korean legacy encoding fails (missing fonts)
30 # 2019-05-17: This is a minor issue since we default to utf8 now. 
31 export/export/latex/CJK/ko_default_pdf2
32
33
34 # ================================================
35 Sublabel: lyx_wontfix
36 # Tests that would fail because of LyX bugs or missing features. Not worth it
37 # to invert because would take up testing time for issues that are not likely
38 # to be fixed.
39 # ================================================
40
41 # lyx2lyx roundtrip does not converge in these cases because ERT is added on
42 # each backwards export. The exports still compile; it is just that there is
43 # no convergence.
44 # Simplified example: \textbf{hello} -> \textbf{\textbf{hello}} -> ...
45 #
46 # (currently no tests in this category, but we expect some in the future)
47
48 # (https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218237.html)
49 # These are old problems. One is related to a questionable nomencl change
50 # which we addressed in master but not in stable, see
51 # https://www.lyx.org/trac/ticket/10634#comment:2
52 # The other is due to CJK quotation marks which are not supported in 2.3.
53 #
54 # TODO: unignore these tests after they are not used for compilation anymore
55 #       (we only use "recent" lyx2lyx roundtrip to test compilation.
56 export/doc/de/UserGuide_lyx2(2|3)
57
58 # perhaps related to the above de/UserGuide issue:
59 # gives the following index error:
60 # ERROR: CHAR: index 0 should be less than the length of the string
61 export/doc/fr/EmbeddedObjects_lyx(2|3)
62
63 # (https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218252.html)
64 # from Kornel:
65 # Exporting to 2.3 format and exporting from the exported differ in extra lines and
66 # in changed sequence of 2 lines at begin.
67 #
68 # $ diff doc/fr/UserGuide.23.lyx fr/UserGuide.23.23.lyx
69 export/doc/fr/UserGuide_lyx2(2|3)
70
71
72 # ===========================================
73 Sublabel: special
74 # Documents that do not work with all exports
75 # ===========================================
76
77 # XeTeX with TeX fonts
78 ######################
79 # XeTeX with TeX-fonts works only for input encodings "utf8-plain" and "ascii".
80 # Ignore all (except dedicated XeTeX tests):
81 export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF
82 !export/export/.*xetex.*_pdf4_texF
83 export/.*/(|ar|ca|cs|da|de|en|el|es|eu|fa|fr|gl|he|hu|id|it|lt|nb||nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk).*_pdf4_texF
84
85 # Only PDFLaTeX
86 ###############
87 # Inside these two files, we state that they should only be expected
88 # to work with pdflatex and possibly lualatex.
89 export/examples/Modules/PDF_Form_(dvi.*|pdf[^25]*)
90 export/examples/(|de/|fr/)Modules/PDF_Comments_dvi3_.*F
91 export/examples/(|de/|fr/)Modules/PDF_Comments_pdf5_texF
92
93 # jss.cls (not on CTAN)
94 # "All documents need to be processed by pdflatex" [jss.pdf]
95 export/templates/Articles/Journal_of_Statistical_Software_.*(dvi|dvi3_.*|pdf3?)
96
97 # No dvipdf[m]
98 ##############
99 # Beamer does not work with dvipdf[m] (wrong output or compilation errors).
100 # See `texdoc beamer`.
101 # TODO: Should the export do PDF (dvipdfm) be made unavailable for Beamer or
102 # just a warning be given in the example or documentation?
103 export/.*/(|de/|es/|fr/|ja/).*Beamer.*pdf3
104
105 # Only Postscript (and ps2pdf)
106 #################
107 # Document uses Postscript specials
108 # Does not compile with pdflatex or non-TeX fonts (see note in the document source).
109 export/examples/Graphics_and_Insets/Instant_Preview_pdf[25].*
110 export/examples/Graphics_and_Insets/Instant_Preview_(dvi3|pdf4)_systemF
111
112 export/examples/Articles/Chess/Game_2_pdf[25].*
113 export/examples/(|fr/)Presentations/Powerdot_pdf[25].*
114 export/examples/Modules/Chessboard_(lyx(16|20|21|22|23)|(pdf5|dvi3)_texF)
115
116 # pLaTeX
117 ########
118 # ignore with pdflatex and Xe/LuaTeX with 8-bit fonts:
119 #
120 export/export/latex/.*platex.*(pdf2|texF)
121 export/export/latex/languages/ja[-_].*_(pdf2|texF)
122 #
123 # Most Japanese documents use language "japanese" which is tied to "platex"
124 # (automatically invoked instead of "latex" to create a DVI file).
125 # For a discussion of alternatives for Japanese with LaTeX , see also
126 # https://tex.stackexchange.com/questions/320021/xelatex-using-japanese-ldf-for-babel-causes-invalid-characters-errors
127 #
128 # Exceptions: 
129 # The "!" means: "Protect these tests from being matched by future patterns in this file".
130 # Export by plain- and pdflatex engines works with language "japanese-cjk", e.g.
131 !export/examples/ja/Multilingual_Typesetting_with_CJK_(dvi|pdf[23]?)
132 !export/examples/ja/Multilingual_Typesetting_with_CJK_.*systemF
133 # the rest:
134 export/.*/ja/.*_(pdf2|texF)
135
136 # Japanese knitr.lyx and sweave.lyx support only XeLaTeX with system fonts
137 # because they use the "bxjsarticle" class and non-TeX fonts
138 !export/examples/ja/Modules/Rnw.*knitr.*_(lyx.*|xhtml|pdf4_systemF)
139 export/examples/ja/Modules/Rnw.*knitr.*
140 !export/examples/ja/Modules/Sweave.*_(lyx.*|xhtml|pdf4_systemF)
141 export/examples/ja/Modules/Sweave.*
142
143 # The LuaTeX-ja package, which is loaded by bxjs* class, is not designed
144 # to be used with dvilua(la)tex:
145 #   https://www.mail-archive.com/search?l=mid&q=20200917155146.ec1bd9f9b5d5f5936513e5dd%40yahoo.co.jp
146 # These started to fail due to a "luatex" package update in the TL20 cycle.
147 export/.*/(ja|zh_CN)/.*_dvi3_systemF
148 export/export/latex/CJK/zh_CN-toc.*_dvi3_systemF
149
150 # CJK fails (sometimes) with Xe/LuaTeX and 8-bit fonts:
151 #####
152 export/examples/ja/Multilingual_Typesetting_.*CJK.(dvi3|pdf5)_texF
153 export/.*/(ko|zh_CN)/.*(dvi3|pdf[45])_texF
154 export/export/latex/CJK/zh_CN-toc_*.(dvi3|pdf[45])_texF
155 export/export/latex/CJK/en-de-el-ru-ko_utf8_.*_texF
156
157 # export of minted documents to 2.2.x is not guaranteed to work (and currently
158 # fails for our two minted example files), as explained here:
159 # https://www.mail-archive.com/search?l=mid&q=20190113085555.GA7928%40GIOVE
160 export/examples/Insets/Minted.*lyx22
161
162 # Subdocuments that are not expected to work as stand-alone documents:
163 ##############
164 export/mathmacros/Spacechild[123].*
165 # chapters of Springer books (svmono, svmult) (except 00_Main_File)
166 export/templates/Books/Springer_.*/(0[^0]|1.)_.*
167 check_load/templates/Books/Springer_.*/(0[^0]|1.)_.*
168 export/templates/Theses/PhD_Thesis/(Acknowledgments|Appendix|Summary|Bibliography|Chapter_[12])_lyx.*
169 # Used only as include file for some tests
170 .*/export/IncludeMissingEndTagDiv.*
171
172 # Bibliography.lyx is not expected to compile. See the following for discussion:
173 #   https://www.mail-archive.com/search?l=mid&q=20190104195414.opgeuggeqakxl2fo%40barna
174 # Ignore all formats except xhtml export
175 export/templates/Theses/PhD_Thesis/Bibliography_[^x].*
176
177 # `acmart` and `copernicus` are not supported by LyX < 2.3
178 export/templates/Articles/Association_for_Computing_Machinery.*_lyx(16|20|21|22)
179 export/templates/Articles/Copernicus_Publications_.*_lyx(16|20|21|22)
180 # Seems, like only latex and pdflatex compilations work
181 #! Missing number, treated as zero.
182 # in copernicus.cls:199
183 # \ifnum\pdfoutput=\z@
184 export/templates/Articles/Copernicus_.*_(texF|systemF)
185
186
187
188 # ============================================================
189 Sublabel: obsolete
190 # Documents relying on no longer available packages or classes
191 # ============================================================
192
193 # aastex6.cls is obsoleted by aastex62.cls
194 export/attic/examples/Articles/American_Astronomical_Society_.*v._6%29.*
195 check_load/attic/examples/Articles/American_Astronomical_Society_.*v._6%29
196 export/templates/Obsolete/American_Astronomical_Society_.*v._6%29.*
197 check_load/templates/Obsolete/American_Astronomical_Society_.*v._6%29
198 # Version 6.2 is not supported in LyX 1.6
199 export/examples/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
200 export/templates/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
201
202 # latex8.sty is obsoleted by IEEEconf
203 export/templates/Obsolete/Latex8_Article.*(dvi|pdf|lyx2[23]).*
204
205 # ==============================================================
206 Sublabel: irrelevant
207 # Dedicated test samples that don't need testing in all variants
208 # ==============================================================
209
210 # LaTeX
211 # don't check loading, lyx2lyx, or export to other LyX versions or HTML
212 check_load/export/latex/.*
213 lyx2lyx/export/latex/.*
214 export/export/latex/.*(lyx..|xhtml)
215
216 # don't test with non-TeX fonts:
217 export/export/latex/inputenc-.*_systemF # 11522 still open but already tested
218 export/export/latex/languages/supported-languages_babel_(pdf|dvi)._systemF
219 export/export/latex/languages/supported-languages_babel_auto-legacy_.*_systemF
220 export/export/latex/lyxbugs/6197-polish-amssymb_pdf5_systemF
221 export/export/latex/languages/nested-inputenc_auto-legacy_.*_systemF
222 export/export/latex/languages/cyrillic-languages-conflict_.*_systemF
223 export/export/latex/languages/th-en_utf8_.*_systemF
224
225 # wrong output but does not fail:
226 export/export/latex/lyxbugs/3059-language-in-tables_.*_systemF
227
228 # don't test with TeX fonts:
229 export/export/latex/languages/supported-languages_babel_non-tex_.*(dvi|pdf.?|texF)
230 export/export/latex/languages/supported-languages_polyglossia_.*(dvi|pdf.?|texF)
231 export/export/latex/languages/supported-languages_XeTeX_.*(dvi|pdf.?|texF)
232 export/export/latex/languages/supported-languages_(dvi3|pdf5).*_texF
233 export/export/latex/lyxbugs-resolved/9633-.*(dvi|pdf.?|texF)
234 export/export/latex/lyxbugs/11522-systemfonts-Math-missingchars_pdf5_texF
235 export/templates/Articles/American_Psychological_Association_%28APA%29,_v\._7_(dvi3|pdf5)_texF
236 export/export/latex/languages/latinErt_(dvi3|pdf5)_texF
237 export/export/latex/languages/mixed_ltr-art_arabi-standard-font_(dvi3|pdf5)_texF
238
239 # TeXLive does not set up Hebrew 8-bit TeX fonts
240 export/export/latex/unicodesymbols/152-modifiers-presentation_he_.*_pdf2
241 # Tests which are not expected to succeed, because used
242 # as a child
243 export/export/latex/languages/supported-languages_(dvi|pdf).*
244
245 # lyx2lyx
246 # dedicated lyx2lyx tests
247 !export/export/lyx2lyx/.*lyx..
248 export/export/lyx2lyx/.*
249
250
251 # HTML
252 # don't check loading, lyx2lyx, or export to other LyX versions or DVI/PDF
253 check_load/export/xhtml/.*
254 lyx2lyx/export/xhtml/.*
255 export/export/xhtml/.*(lyx..|dvi.*|pdf.*)
256
257 # DocBook
258 # not expected to successful compile
259 check_load/export/docbook/.*
260 lyx2lyx/export/docbook/.*
261 export/export/docbook/.*(lyx..|dvi.*|pdf.*)
262
263 # ================================================
264 # epub
265 Sublabel: lyx_later
266 # Tests ignored for now since a lot of them are
267 # failing (and are not regressions).
268 export/.*/(ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ja|ko|lt|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN|).*_epub
269
270 # For zh_CN: Jürgen pointed out that it might be due to this issue:
271 #   https://tex.stackexchange.com/questions/548139/
272 # TODO: and that we might want to report it here:
273 #   https://www.nongnu.org/cjk/
274 # ML discussion was here:
275 #   https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217924.html
276 export/doc/zh_CN/Tutorial_(lyx22|lyx23|dvi|pdf|pdf2|pdf3)