[LyX/master] ctests: invert lyx2lyx tests expected to fail
Scott Kostyshak
skostysh at lyx.org
Fri Feb 17 14:21:23 UTC 2023
commit caa7e6f6c8e4b09884e642a8ef5ae009b93b7976
Author: Scott Kostyshak <skostysh at lyx.org>
Date: Fri Feb 17 10:17:51 2023 -0500
ctests: invert lyx2lyx tests expected to fail
These tests are expected to fail, but are not really because of a
bug. For more info see the comment in this commit.
---
development/autotests/invertedTests | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index e6e336e..09caddd 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -527,3 +527,28 @@ Sublabel: docbook beamer
!export/templates/Presentations/Slides_docbook5
export/(examples|templates)/(ar|de|es|fr|ja|ru)/Presentations/.*_docbook5
export/(examples|templates)/Presentations/.*_docbook5
+
+# ======================================================================
+Sublabel: expected
+# These exports are expected to fail but don't necessarily indicate a bug.
+# ======================================================================
+
+# These fail because of the following warning:
+#
+# lyx2lyx warning: Can't find bibfiles for bibtex inset at line <N>!
+#
+# From Jürgen (https://www.mail-archive.com/search?l=mid&q=f6dad5b0596f33e6931ffa4ea4ca49390b5c1bf8.camel%40lyx.org):
+# The bibtex inset in these files does not contain any bib file, so the
+# warning is appropriate. I would not want to ditch the warning, as it
+# makes sense to warn in this case.
+#
+# On the other hand I can see why it makes sense to include an empty
+# inset to a template file.
+#
+# So this is probably a case where adjustment to please the tests would
+# be over-optimization.
+#
+# Alternative to inverting them would be to just always ignore this warning in
+# the ctests, but I think it might be useful in other cases.
+#
+export/templates/ja/(Articles|Books|Reports)/.*_lyx(16|20|21|22)
More information about the lyx-cvs
mailing list