[LyX/master] ctests: add ertroundtrip lable and invert a lyx22x

Scott Kostyshak skostysh at lyx.org
Wed Aug 26 17:55:07 UTC 2020


commit c44cfec3486028d942f6a710c7ce133c3378a0f3
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Wed Aug 26 14:19:45 2020 -0400

    ctests: add ertroundtrip lable and invert a lyx22x
    
    In many cases, round trip with older formats involves exporting ERT
    or preamble code in the backwards conversion. In the forwards
    conversion, if this code is not parsed, often errors can result.
    However, in many cases, especially for older formats, it might not
    be worth the time or code complexity to address these cases. Such
    tests are labled "ertroundtrip".
    
    This commit also inverts a currently failing lyx22x test under the
    label "ertroundtrip" since the above paragraph is my best guess as
    to why that test is failing. It is likely not worth the time to fix
    it, especially since the APA7 layout wasn't even shipped for LyX
    2.2.x.
---
 development/autotests/invertedTests |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index 54639d0..8910cf5 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -168,7 +168,21 @@ Sublabel: ert
 # "Wontfix" if demonstrating correct use and OK in the default output format.
 
 
-# ================================================
+# ==============================================================
+Sublabel: ertroundtrip
+#
+# Export failures due to exporting ERT (or preamble code) in backwards
+# conversion and not parsing that ERT in forwards conversion. Often, it is not
+# worth the time and is complicated to support roundtrips of this nature.
+
+# this might be an ertroundtrip issue, although it is not confirmed. In any
+# case, it doesn't seem worth the time to try to fix, considering that
+# the APA7 layout is not shipped with 2.2.x and 2.2.x is now quite old.
+# For more information, see the following ML thread:
+#   https://www.mail-archive.com/search?l=mid&q=20200824050236.pjrlijcn2hxnrmrw%40tallinn
+export/templates/Articles/American_Psychological_Association_%28APA%29,_v\._7_lyx22
+
+
 Sublabel: texissues
 # Export fails due to LaTeX limitations,
 # ================================================


More information about the lyx-cvs mailing list