]> git.lyx.org Git - lyx.git/blob - development/autotests/unreliableTests
5cb6c10a864bd56ab9e358bc27fcfbf2a40277fc
[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" fonts, e.g.
107 # MonomakhUnicode (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 # Test depending on e.g. OS or version of a non-TeX-Live dependency.
127 # Note that a full, up-to-date TeX Live installation is required so this
128 # sublabel is about versions of other dependencies.
129
130 # Encoding cp858 only supported by some iconv variants
131 # Gnu iconv only supports it, if configured with "--enable-extra-encodings"
132 # (see https://www.gnu.org/software/libiconv/)
133 export/export/latex/inputenc-cp858_pdf2
134
135 # aastex: hard-coded version in class name:
136 # 2018-05-12 aastex6.cls -> aastex62.cls
137 export/examples/Articles/American_Astronomical_Society_.*
138 export/templates/Articles/American_Astronomical_Society_.*
139
140
141 # New failures with current TexLive (works with TL16/17 from Debian/stable)
142 # -------------------------------------------------------------------------
143 # (see "invertedTests" for description)
144
145 export/examples/(|fr/)seminar_(dvi|pdf).*
146
147 export/export/latex/inputenc-luatex-utf8_pdf5_texF
148
149 # since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date").
150 # * garbled output with LuaTeX + TeX fonts (since TL18)
151 # * missing chars with XeTeX + TeX fonts (see invertedTests)
152 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_.*_texF
153 export/(doc|examples)/uk/(Intro|Welcome)_.*_texF
154
155 # Compilation errors under TeXLive-19 with XeTeX, TeX-fonts, inputenc utf8,
156 # and expl3.sty (TL 17 works).
157 export/export/latex/inputenc-xetex-utf8-expl3-bug_pdf4_texF
158
159 # Babel bug (see entry in invertedTests for more information)
160 export/export/latex/languages/supported-languages_babel_non-tex_pdf4_systemF
161
162
163 # Fails with TL16/17 from Debian/stable (resolved with new TexLive)
164 # -------------------------------------------------------------------------
165
166 # LuaTeX for Japanese documents using graphicx.sty
167 #   ! Package pdftex.def Error: Option `pdftex' requires pdfTeX,
168 #   (pdftex.def)                but pdfTeX features are missing.
169 export/doc/ja/Tutorial_(dvi3|pdf5)_systemF
170
171 # Korean with LuaTeX:
172 # Language korean not found in language.dat.lua
173 export/examples/ko/Welcome_(dvi3|pdf5)_systemF
174 export/export/latex/CJK/en-de-el-ru-ko_utf8_(dvi3|pdf5)_systemF
175
176 # Arabic Beamer example
177 export/examples/ar/Presentations/Beamer_pdf4_.*
178
179 # `acmart` calls "libertine" as default font.
180 # With TeXLive < 18, this clashes with LyX setting up 8-bit TeX fonts
181 # PDF (luatex) and PDF (xetex) (compilation error or wrong fonts).
182 # See also #9744 allow parallel configuration of TeX and non-TeX fonts.
183 export/templates/Articles/Association_for_Computing_Machinery_pdf[45]_texF
184
185
186 Sublabel: wrong_output
187 ######################
188 # Export does not fail but the resulting document has errors.
189 #
190 # These tests are actually not "unreliable" (different result for different
191 # runs) but *invalid* (not measuring what they should measure).
192
193 # seminar.sty uses Postscript specials or PGF resulting in problems with slide
194 # size and orientation depending on the output format and viewing application.
195 # For details see Troubleshooting and the Appendix in examples/seminar.lyx.
196 export/examples/(|fr/)Presentations/Seminar_(dvi|pdf).*
197
198 # Babel-Spanish uses UTF-8 encoded strings if it detects Xe/LuaTeX.
199 # With "language default" (=="latin9"), Babel strings  come out wrong
200 # when compiling with Xe/LuaTeX and TeX-fonts.
201 export/export/latex/es_auto-legacy_texF
202
203 # since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date").
204 # * garbled output with LuaTeX + TeX fonts (since TL18)
205 #   (date and chapter headings)
206 # * missing chars with XeTeX + TeX fonts (see invertedTests)
207 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_.*_texF
208 export/doc/uk/Intro_.*_texF
209
210
211 # LyX issues
212 # **********
213
214 #6197: „amssymb” with Polish babel: name clash \lll ("<<<" vs. "ł")
215 # Wrong output with pdflatex
216 # missing character with XeTeX/LuaTeX and Babel (-> invertedTests)
217 export/export/latex/6197-polish-amssymb_(dvi|pdf).?
218
219 # The following document mixes inTitle layouts and leads to
220 # likely unintended output. See #10347
221 export/export/mixing_inTitle_layouts_(pdf|dvi).*
222
223 # Characters with accents are not output
224 # Reported to LuaTeX mailing list here:
225 # https://www.mail-archive.com/search?l=mid&q=20160831134006.4fewxothddqfeyw4%40steph
226 # (not expecting much attention because DVI is not given high priority)
227 export/doc/es/Customization_dvi3_systemF
228 export/examples/(|es/)Curricula_Vitae/Europe_CV_dvi3_.*F
229
230 # `acmart` requires PDFlatex:
231 # * Missing page number in DVI, Postscript, and PDF (ps2pdf)
232 # * "PDF (ps2pdf)" fails (problem with Postscript) in TeXLive < 2018
233 #   "Postscript" not tested by ctest autotests
234 export/templates/Articles/Association_for_Computing_Machinery_dvi.*
235 export/templates/Articles/Association_for_Computing_Machinery_pdf
236
237 # lyx2lyx back-conversion of "Date" info-inset writes
238 # the name of the day in English instead of Japanese.
239 export/examples/ja/Multilingual_Typesetting_.*_lyx.*
240
241 # No localization of auto-strings with Chinese language under 8-bit TeX
242 # (ctex font issue with texlive-lang-chinese (from Debian) under pdflatex)
243 # and only partial localization with non-tex-fonts:
244 export/export/latex/CJK/zh_CN-toc.*
245 export/doc/zh_CN/(Intro|Tutorial)_(dvi|pdf).?
246
247 # Missing Chinese characters in the DVI (LuaTex)
248 export/doc/zh_CN/(Intro|Tutorial)_dvi3_systemF
249
250 # CJK languages don't change/reset the "language" (which is problematic for
251 # documents in a language that uses a non-standard font encoding)
252 # In a Greek document, Latin letters in a text part set to "Chinese"
253 # come out as Greek letters:
254 export/export/latex/CJK/el-zh_CN_utf8-cjk.*