[LyX/master] ctests: invert a bug from old routine

Scott Kostyshak skostysh at lyx.org
Thu Jan 5 16:59:36 UTC 2023


commit 83c72a3eceb1ce98242a848579952b7526739d15
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Thu Jan 5 12:55:32 2023 -0500

    ctests: invert a bug from old routine
    
    A test from a recent file, KOMA-Script_Book.lyx, uncovered this
    issue. It is an old routine so not critical to fix.
    
    The following is the diff that prevents convergence:
    
       \begin_inset Newpage cleardoublepage
       \end_inset
    
       \end_layout
    
       \begin_layout Standard
    
    If convert_bibtex_clearpage(document) in lyx_2_0.py is commented out, then
    the test passes.
---
 development/autotests/invertedTests |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index 1fa9941..0fc1eeb 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -148,6 +148,22 @@ export/examples/ko/Welcome_lyx2[23]
 # https://www.mail-archive.com/search?l=mid&q=20200915233446.atwbyulny5gsbtyi%40tallinn
 export/examples/ru/Presentations/Beamer_lyx(16|20)
 
+# The following is the diff that prevents convergence:
+#
+#   \begin_inset Newpage cleardoublepage
+#   \end_inset
+#
+#
+#   \end_layout
+#
+#   \begin_layout Standard
+#
+# If convert_bibtex_clearpage(document) in lyx_2_0.py is commented out, then
+# the test passes.
+# Since this is an old export (and additionally the issue is an old export routine)
+# it is not critical.
+export/examples/Books/KOMA-Script_Book_lyx16
+
 
 # ==============================================================
 Sublabel: ert


More information about the lyx-cvs mailing list