[LyX/master] DocBook: move tests to inverted instead of ignored.

Thibaut Cuvelier tcuvelier at lyx.org
Sat Oct 17 03:27:10 UTC 2020


commit 31ad4d6e2180585f3f968de9fa5048e9fd2c5864
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sat Oct 17 05:55:05 2020 +0200

    DocBook: move tests to inverted instead of ignored.
    
    LyX should still avoid crashing on those, and if they start to pass, then something is wrong (most likely, a very large part of the files is being ignored).
---
 development/autotests/ignoredTests  |   14 +-------------
 development/autotests/invertedTests |   28 +++++++++++++++++++++++++++-
 2 files changed, 28 insertions(+), 14 deletions(-)

diff --git a/development/autotests/ignoredTests b/development/autotests/ignoredTests
index c5e384b..dcb146a 100644
--- a/development/autotests/ignoredTests
+++ b/development/autotests/ignoredTests
@@ -216,19 +216,7 @@ lyx2lyx/export/xhtml/.*
 export/export/xhtml/.*(lyx..|dvi.*|pdf.*)
 
 # DocBook
-# not expected to successful compile 
+# not expected to successful compile
 check_load/export/docbook/.*
 lyx2lyx/export/docbook/.*
 export/export/docbook/.*(lyx..|dvi.*|pdf.*)
-# Posters cannot be properly exported, the LyX documents are too far from
-# DocBook expectations (but should have XML-valid output).
-export/export/docbook/A0_Poster_Simple_docbook5
-export/export/docbook/SciPoster_docbook5
-export/examples/Posters/Beamerposter_docbook5
-export/templates/Posters/.*_docbook5
-# Beamer is not yet implemented.
-export/examples/Presentations/.*_docbook5
-# Specific things that are not expected to work.
-export/export/MissingEndLayoutBetweenTables_docbook5 # Uses a book class, but has no chapters (forbidden in DocBook).
-export/export/docbook/bibliography_precooked_aastex_docbook5 # The AASTeX template is too complex for automatic
-# conversion to work reliably.
\ No newline at end of file
diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index bf410aa..579fd0c 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -83,7 +83,7 @@ export/examples/ja/Graphics_and_Insets/XY-Pic.*_systemF
 export/.*/fa/Welcome_(dvi3|pdf5)_systemF
 export/.*/fa/Welcome_(dvi3|pdf5)_systemF
 
-# Bug (in LyX or LaTeX?): 
+# Bug (in LyX or LaTeX?):
 # If a language change happens in an environment, LyX does not write an
 # explicit \inputencoding{<new-default>} when switching back to the "outer"
 # language. However, without explicit \inputencoding, the input encoding
@@ -381,3 +381,29 @@ Sublabel: varioref
 export/doc/ru/UserGuide_(dvi3|pdf[45])_(system|tex)F
 export/doc/ru/Math_(dvi3|pdf[45])_systemF
 
+
+# ================================================
+# DocBook
+
+# not expected to successful compile
+check_load/export/docbook/.*
+lyx2lyx/export/docbook/.*
+export/export/docbook/.*(lyx..|dvi.*|pdf.*)
+
+# Posters cannot be properly exported, the LyX documents are too far from
+# DocBook expectations (but should have XML-valid output).
+export/export/docbook/A0_Poster_Simple_docbook5
+export/export/docbook/SciPoster_docbook5
+export/examples/Posters/Beamerposter_docbook5
+export/templates/Posters/.*_docbook5
+
+# Beamer is not yet implemented.
+export/examples/Presentations/.*_docbook5
+export/templates/.*/Presentations/Beamer_docbook5
+export/templates/Presentations/.*_docbook5
+
+# Specific things that are not expected to work.
+# - Uses a book class, but has no chapters (forbidden in DocBook).
+export/export/MissingEndLayoutBetweenTables_docbook5
+# - The AASTeX template is too complex for automatic conversion to work reliably.
+export/export/docbook/bibliography_precooked_aastex_docbook5


More information about the lyx-cvs mailing list