+# Most Japanese documents use language "japanese" wich is tied to "platex"
+# (automatically invoked instead of "latex" to create a DVI file).
+# For a discussion of alternatives for Japanese with LaTeX , see also
+# https://tex.stackexchange.com/questions/320021/xelatex-using-japanese-ldf-for-babel-causes-invalid-characters-errors
+#
+# Exceptions:
+# The "!" means: "Protect these tests from being matched by future patterns in this file".
+# Export by plain- and pdflatex engines works with language "japanese-cjk", e.g.
+!export/examples/ja/Multilingual_Typesetting_.*CJK.*(dvi|pdf[23]?)
+!export/examples/ja/Multilingual_Typesetting_.*CJK.*systemF
+# the rest:
+export/.*/ja/.*_(pdf2|texF)
+
+# Japanese knitr.lyx and sweave.lyx support only XeLaTeX with system fonts
+# because they use the "bxjsarticle" class and non-TeX fonts
+!export/examples/ja/Modules/Rnw.*knitr.*_(lyx.*|xhtml|pdf4_systemF)
+export/examples/ja/Modules/Rnw.*knitr.*
+!export/examples/ja/Modules/Sweave.*_(lyx.*|xhtml|pdf4_systemF)
+export/examples/ja/Modules/Sweave.*
+
+
+# CJK fails (sometimes) with Xe/LuaTeX and 8-bit fonts:
+#####
+export/examples/ja/Multilingual_Typesetting_.*CJK.(dvi3|pdf5)_texF
+export/.*/zh_CN/.*(dvi3|pdf[45])_texF
+export/export/latex/CJK/zh_CN-toc_*.(dvi3|pdf[45])_texF
+
+
+# export of minted documents to 2.2.x is not guaranteed to work (and currently
+# fails for our two minted example files), as explained here:
+# https://www.mail-archive.com/search?l=mid&q=20190113085555.GA7928%40GIOVE
+export/examples/Insets/Minted.*lyx22
+
+# Subdocuments that are not expected to work as stand-alone documents:
+##############
+export/mathmacros/Spacechild[123].*
+# chapters of Springer books (svmono, svmult) (except 00_Main_File)
+export/templates/Books/Springer_.*/(0[^0]|1.)_.*
+check_load/templates/Books/Springer_.*/(0[^0]|1.)_.*
+export/templates/Theses/PhD_Thesis/(Acknowledgments|Appendix|Summary|Bibliography|Chapter_[12])_lyx.*
+# Used only as include file for some tests
+.*/export/IncludeMissingEndTagDiv.*
+
+# Bibliography.lyx is not expected to compile. See the following for discussion:
+# https://www.mail-archive.com/search?l=mid&q=20190104195414.opgeuggeqakxl2fo%40barna
+# Ignore all formats except xhtml export
+export/templates/Theses/PhD_Thesis/Bibliography_[^x].*
+
+# "Docbook article (SGML)" document class does not work with LaTeX
+##########################
+export/examples/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
+export/templates/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
+
+# `acmart` and `copernicus` are not supported by LyX < 2.3
+export/templates/Articles/Association_for_Computing_Machinery.*_lyx(16|20|21|22)
+export/templates/Articles/Copernicus_Publications_.*_lyx(16|20|21|22)
+# Seems, like only latex and pdflatex compilations work
+#! Missing number, treated as zero.
+# in copernicus.cls:199
+# \ifnum\pdfoutput=\z@
+export/templates/Articles/Copernicus_.*(dvi3|pdf4|pdf5)_(texF|systemF)
+
+
+
+# ============================================================
+Sublabel: obsolete
+# Documents relying on no longer available packages or classes
+# ============================================================
+
+# aastex6.cls is obsoleted by aastex62.cls
+export/attic/examples/Articles/American_Astronomical_Society_.*v._6%29.*
+check_load/attic/examples/Articles/American_Astronomical_Society_.*v._6%29
+export/templates/Obsolete/American_Astronomical_Society_.*v._6%29.*
+check_load/templates/Obsolete/American_Astronomical_Society_.*v._6%29
+# Version 6.2 is not supported in LyX 1.6
+export/examples/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
+export/templates/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
+
+# latex8.sty is obsoleted by IEEEconf
+export/templates/Obsolete/Latex8_Article.*(dvi|pdf|lyx2[23]).*
+
+# ==============================================================
+Sublabel: irrelevant
+# Dedicated test samples that don't need testing in all variants
+# ==============================================================
+
+# LaTeX
+# don't check loading, lyx2lyx, or export to other LyX versions or HTML
+check_load/export/latex/.*
+lyx2lyx/export/latex/.*
+export/export/latex/.*(lyx..|xhtml)
+
+# don't test with non-TeX fonts:
+export/export/latex/languages/supported-languages_babel_(pdf|dvi)._systemF
+export/export/latex/languages/supported-languages_babel_auto-legacy_.*_systemF
+
+# don't test with TeX fonts:
+export/export/latex/languages/supported-languages_babel_non-tex_.*(dvi|pdf.?|texF)
+export/export/latex/languages/supported-languages_polyglossia_.*(dvi|pdf.?|texF)
+
+# HTML
+# don't check loading, lyx2lyx, or export to other LyX versions or DVI/PDF
+check_load/export/xhtml/.*
+lyx2lyx/export/xhtml/.*
+export/export/xhtml/.*(lyx..|dvi.*|pdf.*)