From: Scott Kostyshak Date: Fri, 17 Feb 2023 15:17:51 +0000 (-0500) Subject: ctests: invert lyx2lyx tests expected to fail X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=caa7e6f6c8e4b09884e642a8ef5ae009b93b7976;p=features.git 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. --- diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests index e6e336ea99..09cadddba2 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 ! +# +# 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)