[LyX/master] DocBook: update test suite.

Thibaut Cuvelier tcuvelier at lyx.org
Fri Oct 30 00:30:56 UTC 2020


commit 2e8bffa3c5d777a1aa5ab577f4472b50d3c2e773
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Mon Oct 26 04:13:32 2020 +0100

    DocBook: update test suite.
    
    Still an unexplained failure: for basic, in the test suite, the .bib file is not found; with the GUI, it is found.
---
 autotests/export/docbook/basic.lyx  |    4 ++-
 autotests/export/docbook/easy.lyx   |   13 +-----------
 autotests/export/docbook/easy.xml   |    4 ---
 development/autotests/invertedTests |   37 +++++++++++++++++++++++++++++++---
 4 files changed, 37 insertions(+), 21 deletions(-)

diff --git a/autotests/export/docbook/basic.lyx b/autotests/export/docbook/basic.lyx
index fa98d65..3c4a5b6 100644
--- a/autotests/export/docbook/basic.lyx
+++ b/autotests/export/docbook/basic.lyx
@@ -1,5 +1,5 @@
 #LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 598
+\lyxformat 599
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -1064,8 +1064,10 @@ Star subparagraph (sect5)
 \begin_layout Standard
 \begin_inset CommandInset bibtex
 LatexCommand bibtex
+btprint "btPrintCited"
 bibfiles "basic"
 options "plain"
+encoding "default"
 
 \end_inset
 
diff --git a/autotests/export/docbook/easy.lyx b/autotests/export/docbook/easy.lyx
index 0ea08e7..015c629 100644
--- a/autotests/export/docbook/easy.lyx
+++ b/autotests/export/docbook/easy.lyx
@@ -1,5 +1,5 @@
 #LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 598
+\lyxformat 599
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -238,16 +238,5 @@ Star paragraph (sect4)
 Star subparagraph (sect5)
 \end_layout
 
-\begin_layout Standard
-\begin_inset CommandInset bibtex
-LatexCommand bibtex
-bibfiles "basic"
-options "plain"
-
-\end_inset
-
-
-\end_layout
-
 \end_body
 \end_document
diff --git a/autotests/export/docbook/easy.xml b/autotests/export/docbook/easy.xml
index 1769c67..f58c3d4 100644
--- a/autotests/export/docbook/easy.xml
+++ b/autotests/export/docbook/easy.xml
@@ -63,8 +63,4 @@
 <bridgehead renderas='sect4'>Star paragraph (sect4)</bridgehead>
 <bridgehead renderas='sect5'>Star subparagraph (sect5)</bridgehead>
 </section>
-<bibliography>
-<title>References</title>
-<!-- No entry in the bibliography. -->
-</bibliography>
 </article>
\ No newline at end of file
diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index 13edc24..263d90f 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -395,26 +395,55 @@ export/doc/ru/(Math|Additional)_(dvi3|pdf[45])_systemF
 # DocBook
 Sublabel: docbook
 # Specific things that are not expected to work.
+# - No real content apart from metadata (forbidden in DocBook).
+export/export/mixing_inTitle_layouts_docbook5
 # - Uses a book class, but has no chapters (forbidden in DocBook).
-export/export/MissingEndLayoutBetweenTables_docbook5
 export/doc/DummyDocument.*_docbook5
 export/doc/de/DummyDocument.*_docbook5
 export/doc/es/DocumentoPostizo.*_docbook5
 export/doc/fr/DocumentBidon.*_docbook5
 export/doc/ja/DummyDocument.*_docbook5
-# - The AASTeX template is too complex for automatic conversion to work reliably.
+export/export/MissingEndLayoutBetweenTables_docbook5
+export/export/latex/languages/ja-listings-uncodable-error_docbook5
+export/export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode_docbook5
+export/export/latex/lyxbugs-resolved/9633-languagenesting_index_inset_docbook5
+export/export/latex/lyxbugs-resolved/9633-languagenesting1_docbook5
+export/export/latex/lyxbugs-resolved/9633-languagenesting2_docbook5
+export/export/xhtml/MissingEndTagDiv_docbook5
+export/export/xhtml/zh_CN_Tutorial_docbook5
+# - No proper document title (should be fixable).
+export/export/latex/inputenc-.*_docbook5
+export/export/latex/textcyr-textgreek-test_docbook5
+export/examples/.*/Graphics_and_Insets/XY-Figure_docbook5
+# - Formula in <code> tags.
+export/examples/.*/Graphics_and_Insets/XY-Pic_docbook5
+# - Math macros not implemented.
+export/mathmacros/testcases_speed_docbook5
+export/mathmacros/testcases_environments_docbook5
+export/mathmacros/masterOfSpace_docbook5
+# - Many templates are too complex for automatic conversion to work reliably.
+#   The resulting documents should still be easy to fully convert into DocBook.
+#   - AASTeX.
 export/export/docbook/bibliography_precooked_aastex_docbook5
+#   - Springer. (The svmono_light should still pass.)
+export/templates/Books/Springer_Monographs_%28svmono%29/.*_docbook5
+export/export/docbook/svmono_docbook5
+#   - scrbook with too many customisations.
+export/templates/Theses/PhD_Thesis/.*_docbook5
+# - Branches may cause problems (especially when mixing with parts that must go in <info>).
+export/export/latex/languages/supported-languages_docbook5
 
 Sublabel: docbook poster
 # Posters cannot be properly exported, the LyX documents are too far from
 # DocBook expectations (but should have XML-valid output).
+export/examples/Posters/Beamerposter_docbook5
 export/export/docbook/A0_Poster_Simple_docbook5
 export/export/docbook/SciPoster_docbook5
-export/examples/Posters/Beamerposter_docbook5
+export/export/xhtml/A0_Poster_Simple_docbook5
 export/templates/Posters/.*_docbook5
 
 Sublabel: docbook beamer
 # Beamer is not yet implemented.
 export/examples/Presentations/.*_docbook5
-export/templates/.*/Presentations/Beamer_docbook5
 export/templates/Presentations/.*_docbook5
+export/templates/.*/Presentations/Beamer_docbook5


More information about the lyx-cvs mailing list