]> git.lyx.org Git - features.git/blob - development/autotests/ignoredTests
dccf88bcfdf525f0c3f8ec3dec28c12ce34b3699
[features.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 # Tests created for lyx2lyx-tests only
19 !export/export/lyx2lyx/lyx_.*_test_lyx[12][1236]
20 .*/export/lyx2lyx/lyx_.*_test.*
21
22 # Ignore MergedManuals_xhtml because the test is very time-consuming
23 # and the underlying subdocuments are already tested
24 # Ignore MergedManuals_lyx2[2-9] too
25 # due to following xhtml export of converted file
26 export/doc/(ja/|)MergedManuals_(xhtml|lyx2[2-9])
27
28
29 # ===========================================
30 Sublabel: special
31 # Documents that do not work with all exports
32 # ===========================================
33
34 # Only PDFLaTeX
35 ###############
36 # Inside these two files, we state that they should only be expected
37 # to work with pdflatex and possibly lualatex.
38 export/examples/Modules/PDF_Form_(dvi.*|pdf[^25]*)
39 export/examples/(|de/|fr/)Modules/PDF_Comments_dvi3_.*F
40 export/examples/(|de/|fr/)Modules/PDF_Comments_pdf5_texF
41
42 # jss.cls (not on CTAN)
43 # "All documents need to be processed by pdflatex" [jss.pdf]
44 export/templates/Articles/Journal_of_Statistical_Software_.*(dvi|dvi3_.*|pdf3?)
45
46 # No dvipdf[m]
47 ##############
48 # Beamer does not work with dvipdf[m] (wrong output or compilation errors).
49 # See `texdoc beamer`.
50 # TODO: Should the export do PDF (dvipdfm) be made unavailable for Beamer or
51 # just a warning be given in the example or documentation?
52 export/.*/(|de/|es/|fr/|ja/).*Beamer.*pdf3
53
54 # Only Postscript (and ps2pdf)
55 #################
56 # Document uses Postscript specials
57 # Does not compile with pdflatex or non-TeX fonts (see note in the document source).
58 export/examples/Graphics_and_Insets/Instant_Preview_pdf[25].*
59 export/examples/Graphics_and_Insets/Instant_Preview_(dvi3|pdf4)_systemF
60
61 export/examples/Articles/Chess/Game_2_pdf[25].*
62 export/examples/(|fr/)Presentations/Powerdot_pdf[25].*
63 export/examples/Modules/Chessboard_(lyx(16|20|21|22|23)|(pdf3|pdf5|dvi3)_texF)
64
65 # XeTeX with TeX fonts
66 ######################
67 # XeTeX with TeX-fonts works only for input encodings "utf8" and "ascii".
68 # Generally, documentation and templates use "auto" 8-bit encodings.
69 # 1. Exceptions to the following pattern (test cases with the right encoding):
70 !export/examples/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN)/Welcome_pdf4_texF
71 # encoding right but packages clash:
72 #!export/examples/ja/Multilingual_Typesetting_.*CJK.*_pdf4_texF
73 # 2. Catchall patterns to ignore the other tests:
74 .*_pdf4_texF
75 export/(doc|examples|templates)/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ja|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN)/.*pdf4_texF
76
77 # CJK fails (sometimes) with LuaTeX and 8-bit fonts:
78 export/examples/ja/Multilingual_Typesetting_.*CJK.(dvi3|pdf5)_texF
79 export/.*/zh_CN/.*(dvi3|pdf5)_texF
80 export/export/latex/CJK/zh_CN-toc_*.(dvi3|pdf5)_texF
81
82 # pLaTeX
83 ########
84 # ignore with pdflatex and Xe/LuaTeX with 8-bit fonts:
85 #
86 export/export/latex/.*platex.*(pdf2|texF)
87 export/export/latex/ja_wrong_auto_encoding_.*(pdf2|texF)
88 #
89 # Most Japanese documents use language "japanese" wich is tied to "platex"
90 # (automatically invoked instead of "latex" to create a DVI file).
91 # For a discussion of alternatives for Japanese with LaTeX , see also
92 # https://tex.stackexchange.com/questions/320021/xelatex-using-japanese-ldf-for-babel-causes-invalid-characters-errors
93 #
94 # Exceptions: 
95 # The "!" means: "Protect these tests from being matched by future patterns in this file".
96 # Export by plain- and pdflatex engines works with language "japanese-cjk", e.g.
97 !export/examples/ja/Multilingual_Typesetting_.*CJK.*(dvi|pdf[23]?)
98 !export/examples/ja/Multilingual_Typesetting_.*CJK.*systemF
99 # the rest:
100 export/.*/ja/.*_(pdf2|texF)
101
102 # Japanese knitr.lyx and sweave.lyx support only XeLaTeX with system fonts
103 # because they use the "bxjsarticle" class and non-TeX fonts
104 !export/examples/ja/Modules/Rnw.*knitr.*_(lyx.*|xhtml|pdf4_systemF)
105 export/examples/ja/Modules/Rnw.*knitr.*
106 !export/examples/ja/Modules/Sweave.*_(lyx.*|xhtml|pdf4_systemF)
107 export/examples/ja/Modules/Sweave.*
108
109
110 # export of minted documents to 2.2.x is not guaranteed to work (and currently
111 # fails for our two minted example files), as explained here:
112 # https://www.mail-archive.com/search?l=mid&q=20190113085555.GA7928%40GIOVE
113 export/examples/Insets/Minted.*lyx22
114
115 # Subdocuments that are not expected to work as stand-alone documents:
116 export/mathmacros/Spacechild[123].*
117 # chapters of Springer books (svmono, svmult) (except 00_Main_File)
118 export/templates/Books/Springer_.*/(0[^0]|1.)_.*
119 check_load/templates/Books/Springer_.*/(0[^0]|1.)_.*
120 export/templates/Theses/PhD_Thesis/(Acknowledgments|Appendix|Summary|Bibliography|Chapter_[12])_lyx.*
121 # Used only as include file for some tests
122 .*/export/IncludeMissingEndTagDiv.*
123
124 # Bibliography.lyx is not expected to compile. See the following for discussion:
125 #   https://www.mail-archive.com/search?l=mid&q=20190104195414.opgeuggeqakxl2fo%40barna
126 # Ignore all formats except xhtml export
127 export/templates/Theses/PhD_Thesis/Bibliography_[^x].*
128
129 # Document class "Docbook article (SGML)" does not work with LaTeX:
130 export/examples/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
131 export/templates/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
132
133 # `acmart` and `copernicus` are not supported by LyX < 2.3
134 export/templates/Articles/Association_for_Computing_Machinery.*_lyx(16|20|21|22)
135 export/templates/Articles/Copernicus_Publications_.*_lyx(16|20|21|22)
136 # Seems, like only latex and pdflatex compilations work
137 #! Missing number, treated as zero.
138 # in copernicus.cls:199
139 # \ifnum\pdfoutput=\z@
140 export/templates/Articles/Copernicus_.*(dvi3|pdf4|pdf5)_(texF|systemF)
141
142
143
144 # ============================================================
145 Sublabel: obsolete
146 # Documents relying on no longer available packages or classes
147 # ============================================================
148
149 # aastex6.cls is obsoleted by aastex62.cls
150 export/attic/examples/Articles/American_Astronomical_Society_.*v._6%29.*
151 check_load/attic/examples/Articles/American_Astronomical_Society_.*v._6%29
152 export/templates/Obsolete/American_Astronomical_Society_.*v._6%29.*
153 check_load/templates/Obsolete/American_Astronomical_Society_.*v._6%29
154 # Version 6.2 is not supported in LyX 1.6
155 export/examples/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
156 export/templates/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
157
158 # latex8.sty is obsoleted by IEEEconf
159 export/templates/Obsolete/Latex8_Article.*(dvi|pdf|lyx2[23]).*
160
161 # ==============================================================
162 Sublabel: irrelevant
163 # Dedicated test samples that don't need testing in all variants
164 # ==============================================================
165
166 # Dedicated test samples for LaTeX:
167
168 # don't check loading, lyx2lyx, or export to other LyX versions or HTML
169 check_load/export/latex/.*
170 lyx2lyx/export/latex/.*
171 export/export/latex/.*(lyx..|xhtml)
172
173 # don't test with non-TeX fonts:
174 export/export/latex/en-th_(LTH|language-default).*systemF