The following ctest fails on 2.3.x and on master: ctest -R "export/examples/thesis/Bibliography_lyx21"
It seems that the warning comes because Bibliography.lyx is included in more than one document that is loaded. That is, I guess that at least two of these .lyx files are opened (because of dependencies) when exporting Bibliography.lyx: Appendix.lyx chapter-1.lyx chapter-2.lyx thesis.lyx This does not seem like a bug to me. My guess is that this test never passed (although I'm not sure). The following warnings occur: Buffer.cpp (361): Warning: a buffer should not have two parents! And, on the second iteration (that is, exporting the created 2.1.x file again to 2.1.x format to create a .21.21.lyx file): Buffer.cpp (1062): The master 'thesis.lyx' assigned to this document (/home/scott/lyxbuilds/master/repo/lib/examples/thesis/Bibliography.21.lyx) does not include this document. Ignoring the master assignment. I guess this is because for the second iteration, the file has 21.lyx instead of .lyx. Kornel, do you think we should ignore both of these warnings for all lyx2lyx tests? I attempted to do that (see attached), but the test still fails and I'm not sure if it's because I did not ignore the warnings correctly or if there's another issue. An alternative I suppose would be to just not run these tests (by "ignoring" them). Any thoughts? Scott
diff --git a/development/autotests/filterCheckWarnings b/development/autotests/filterCheckWarnings index fc6925d928..c2a5d69d2e 100644 --- a/development/autotests/filterCheckWarnings +++ b/development/autotests/filterCheckWarnings @@ -1,3 +1,5 @@ Cannot find translation for language Warning: Lyx2lyx knows nothing about (textclass|module) Warning: sfval: [0-9]+ [0-9]+ +Warning: a buffer should not have two parents! +does not include this document. Ignoring the master assignment.
signature.asc
Description: PGP signature