]> git.lyx.org Git - lyx.git/blob - development/autotests/unreliableTests
ctests: update supported-languages tests.
[lyx.git] / development / autotests / unreliableTests
1 # Regular expressions for tests that should not be executed with
2 # ctest -L export or ctest -L inverted because they do not work as expected
3 # (either unreliable or invalid).
4 #
5 # Patterns will be automatically enclosed with '^' and '$'.
6 # Matching tests get the label "unreliable" and do not get the label "export".
7 #
8 # TODO: Name problem: *invalid* tests (wrong output) are not *unreliable*.
9 #   Use "unfit" or "unapplicable" as better label and name of pattern file?
10
11
12 Sublabel: nonstandard
13 #####################
14 # Documents with additional requirements,
15 # e.g. a class or package file not in TeXLive.
16 # TODO: rename to "extra" or "exotic"?
17
18 # aa.cls (not in TeXLive).
19 export/examples/Articles/Astronomy_%26_Astrophysics.*
20 export/templates/Articles/Astronomy_%26_Astrophysics.*
21
22 # AEA.cls (see https://wiki.lyx.org/Examples/AEA)
23 export/templates/Articles/American_Economic_Association_.*AEA.*
24
25 # copernicus.cls (not in TeXLive)
26 # see https://publications.copernicus.org/for_authors/manuscript_preparation.html
27 export/templates/Articles/Copernicus_Publications_Manuscript_Preparation_.*
28
29 # ectaart.cls
30 # see https://wiki.lyx.org/Examples/Econometrica
31 export/templates/Articles/Econometrica.*
32
33 # iucr.cls (not in TeXLive)
34 export/templates/Articles/International_Union_of_Crystallography.*
35
36 # ws-ijmpc.cls, w-ijmpd.cls
37 # see https://wiki.lyx.org/Examples/IJMP
38 export/templates/Articles/Int._Journal_of_Modern_Physics_C.*
39 export/templates/Articles/Int._Journal_of_Modern_Physics_D.*
40
41 # iopart.cls, iopams.sty, setstack.sty
42 # see https://wiki.lyx.org/Layouts/Iopart
43 export/templates/Articles/Institute_of_Physics_.*
44
45 # jasatex.cls
46 # see https://wiki.lyx.org/Layouts/JASATeX
47 export/templates/Articles/Journal_of_the_Acoustical_Society_of_America.*
48
49 # jss.cls
50 export/templates/Articles/Journal_of_Statistical_Software_.*
51
52 # LilyPond-book version 2.13 or newer.
53 export/examples/(|ja/)Modules/LilyPond_Book_(dvi|pdf|lyx2[23]).*
54
55 # maa-monthly.sty (not in TeXLive)
56 # http://www.maa.org/sites/default/files/pdf/pubs/maa-monthly.sty
57 export/templates/Articles/Mathematical_Monthly.*
58
59 # knitr, RJournal.sty (not in TeXLive)
60 # incompatible with fontspec?
61 export/templates/Articles/R_Journal_.*
62
63 # R (http://www.r-project.org)
64 # R package knitr (http://yihui.name/knitr)
65 export/examples/(|ja/)Modules/Sweave_(dvi|pdf|lyx2[23]).*
66 export/examples/(|ja/)Modules/Rnw.*knitr.*_(dvi|pdf|lyx2[23]).*
67
68 # obsolete versions of documentclass or style files
69 export/templates/Obsolete/.*
70
71 # svjour3.cls, svglov2.clo
72 # see https://wiki.lyx.org/Examples/Springer
73 export/templates/Articles/Springers_Global_Journal_Template.*
74
75 # svmono.cls
76 export/templates/examples/Books/Springer_Monographs.*
77 # svmult.cls
78 export/templates/examples/Books/Springer_Contributed_Books.*
79
80
81 # TeXLive does not set up Hebrew 8-bit TeX fonts
82 # We use the external package "culmus-latex"
83 # https://sourceforge.net/projects/ivritex/files/culmus-latex/culmus-latex-0.7/
84 # With current "culmus-latex", dvipdfm (.*_pdf3) fails because some of the
85 # fonts are type1 "*.pfa" while dvipdfm only works with binary "*.pfb" fonts:
86 #   dvipdfmx:warning: Could not locate a virtual/physical font for TFM "david".
87 #   dvipdfmx:warning: >> This font is mapped to a physical font "DavidCLM-Medium.pfa".
88 #   dvipdfmx:warning: >> Please check if kpathsea library can find this font: DavidCLM-Medium.pfa
89 # but: `kpsewhich DavidCLM-Medium.pfa` finds the font!
90 # Converting with `t1binary` (from t1utils) helps.
91 export/.*/he/.*((dvi|pdf.?)|_texF)
92 export/export/latex/unicodesymbols/.*_he.*pdf2
93 export/export/latex/(supported-languages|he-scrarticle).*
94 export/export/latex/languages/supported-languages_.*_pdf3
95
96
97 # Japanese (platex)
98 # dvips requires special font setup for kanji.
99 # Debian's texlive-lang-japanese does this automatically, tlmgr not.
100 # Without proper font setup setup,
101 # * the Postscript file has wrong and missing characters
102 #   (without error or warning),
103 # * as a consequence, `ps2pdf` fails for some documents:
104 export/.*/ja/.*_pdf
105
106 # "exotic" languages require "exotic" *system* fonts, e.g.
107 # Monomakh Unicode (from Debian package "texlive-fonts-extra" or sci.ponomar.net/fonts.html)
108 # Noto Serif Devanagari (from Debian package "fonts-noto-hinted")
109 export/export/latex/languages/supported-languages_polyglossia_.*_systemF
110
111 Sublabel: needauth
112 ##################
113 # Tests that require authorisation to call external programs.
114 export/examples/External_Material/Gnuplot.*
115 export/examples/Graphics_and_Insets/Minted_File_Listing.*
116 export/examples/Graphics_and_Insets/Minted_Listings.*
117
118
119 Sublabel: erratic
120 #################
121 # Tests depending on local configuration, or the phase of the moon.
122
123
124 Sublabel: varying_versions
125 ##########################
126 # If a test with this tag fails, this may be due to, e.g., the OS
127 # or the version of a dependency.
128
129 # Encoding cp858 only supported by some iconv variants
130 # Gnu iconv only supports it, if configured with "--enable-extra-encodings"
131 # (see https://www.gnu.org/software/libiconv/)
132 export/export/latex/inputenc-cp858_pdf2
133
134 # Fails with current TexLive (works with TL16/17 from Debian/stable)
135 # -------------------------------------------------------------------------
136 # (see "invertedTests" for description)
137
138 export/examples/(|fr/)seminar_(dvi|pdf).*
139
140 export/export/latex/inputenc-luatex-utf8_pdf5_texF
141
142 # since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date").
143 # * garbled output with LuaTeX + TeX fonts (since TL18)
144 # * missing chars with XeTeX + TeX fonts (see invertedTests)
145 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_.*_texF
146 export/(doc|examples)/uk/(Intro|Welcome)_.*_texF
147
148 # Compilation errors under TeXLive-19 with XeTeX, TeX-fonts, inputenc utf8,
149 # and expl3.sty (TL 17 works).
150 export/export/latex/inputenc-xetex-utf8-expl3-bug_pdf4_texF
151
152 # Babel bug (see entry in invertedTests for more information)
153 export/export/latex/languages/supported-languages_babel_non-tex_pdf4_systemF
154
155
156 # Fails with TL16/17 from Debian/stable (resolved with new TexLive)
157 # -------------------------------------------------------------------------
158
159 # aastex: hard-coded version in class name:
160 # 2018-05-12 aastex6.cls -> aastex62.cls
161 export/examples/Articles/American_Astronomical_Society_.*
162 export/templates/Articles/American_Astronomical_Society_.*
163
164 # LuaTeX for Japanese documents using graphicx.sty
165 #   ! Package pdftex.def Error: Option `pdftex' requires pdfTeX,
166 #   (pdftex.def)                but pdfTeX features are missing.
167 export/doc/ja/Tutorial_(dvi3|pdf5)_systemF
168
169 # Korean with LuaTeX:
170 # pop-up: "external command lualatex finished with an error"
171 # terminal message:
172 #   Language korean not found in language.dat.lua
173 #   [\directlua]:1: You cannot set field spec in a node of type glue
174 export/examples/ko/Welcome_(dvi3|pdf5)_systemF
175 export/export/latex/CJK/en-de-el-ru-ko_utf8_(dvi3|pdf5)_systemF
176 export/export/latex/languages/supported-languages_polyglossia_(dvi3|pdf5)_systemF
177
178 # Arabic Beamer example
179 export/examples/ar/Presentations/Beamer_pdf4_.*
180
181 # `acmart` calls "libertine" as default font.
182 # With TeXLive < 18, this clashes with LyX setting up 8-bit TeX fonts
183 # PDF (luatex) and PDF (xetex) (compilation error or wrong fonts).
184 # See also #9744 allow parallel configuration of TeX and non-TeX fonts.
185 export/templates/Articles/Association_for_Computing_Machinery_pdf[45]_texF
186
187
188 Sublabel: wrong_output
189 ######################
190 # Export does not fail but the resulting document has errors.
191 #
192 # These tests are actually not "unreliable" (different result for different
193 # runs) but *invalid* (not measuring what they should measure).
194
195 # seminar.sty uses Postscript specials or PGF resulting in problems with slide
196 # size and orientation depending on the output format and viewing application.
197 # For details see Troubleshooting and the Appendix in examples/seminar.lyx.
198 export/examples/(|fr/)Presentations/Seminar_(dvi|pdf).*
199
200 # Babel-Spanish uses UTF-8 encoded strings if it detects Xe/LuaTeX.
201 # With "language default" (=="latin9"), Babel strings  come out wrong
202 # when compiling with Xe/LuaTeX and TeX-fonts.
203 export/export/latex/es_auto-legacy_texF
204
205 # since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date").
206 # * garbled output with LuaTeX + TeX fonts (since TL18)
207 #   (date and chapter headings)
208 # * missing chars with XeTeX + TeX fonts (see invertedTests)
209 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_.*_texF
210 export/doc/uk/Intro_.*_texF
211
212
213 # LyX issues
214 # **********
215
216 #6197: „amssymb” with Polish babel: name clash \lll ("<<<" vs. "ł")
217 # Wrong output with pdflatex
218 # missing character with XeTeX/LuaTeX and Babel (-> invertedTests)
219 export/export/latex/6197-polish-amssymb_(dvi|pdf).?
220
221 # The following document mixes inTitle layouts and leads to
222 # likely unintended output. See #10347
223 export/export/mixing_inTitle_layouts_(pdf|dvi).*
224
225 # Characters with accents are not output
226 # Reported to LuaTeX mailing list here:
227 # https://www.mail-archive.com/search?l=mid&q=20160831134006.4fewxothddqfeyw4%40steph
228 # (not expecting much attention because DVI is not given high priority)
229 export/doc/es/Customization_dvi3_systemF
230 export/examples/(|es/)Curricula_Vitae/Europe_CV_dvi3_.*F
231
232 # `acmart` requires PDFlatex:
233 # * Missing page number in DVI, Postscript, and PDF (ps2pdf)
234 # * "PDF (ps2pdf)" fails (problem with Postscript) in TeXLive < 2018
235 #   "Postscript" not tested by ctest autotests
236 export/templates/Articles/Association_for_Computing_Machinery_dvi.*
237 export/templates/Articles/Association_for_Computing_Machinery_pdf
238
239 # lyx2lyx back-conversion of "Date" info-inset writes
240 # the name of the day in English instead of Japanese.
241 export/examples/ja/Multilingual_Typesetting_.*_lyx.*
242
243 # No localization of auto-strings with Chinese language under 8-bit TeX
244 # (ctex font issue with texlive-lang-chinese (from Debian) under pdflatex)
245 # and only partial localization with non-tex-fonts:
246 export/export/latex/CJK/zh_CN-toc.*
247 export/doc/zh_CN/(Intro|Tutorial)_(dvi|pdf).?
248
249 # Missing Chinese characters in the DVI (LuaTex)
250 export/doc/zh_CN/(Intro|Tutorial)_dvi3_systemF
251
252 # CJK languages don't change/reset the "language" (which is problematic for
253 # documents in a language that uses a non-standard font encoding)
254 # In a Greek document, Latin letters in a text part set to "Chinese"
255 # come out as Greek letters:
256 export/export/latex/CJK/el-zh_CN_utf8-cjk.*