]> git.lyx.org Git - lyx.git/commitdiff
ctests: invert lyx2lyx tests expected to fail
authorScott Kostyshak <skostysh@lyx.org>
Fri, 17 Feb 2023 15:17:51 +0000 (10:17 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Fri, 17 Feb 2023 15:19:38 +0000 (10:19 -0500)
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

index e6e336ea9923fb9cd87a8466b6bee9e17a3bd11a..09cadddba201951c023fce601c5068315cd2d343 100644 (file)
@@ -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)