]> git.lyx.org Git - lyx.git/commitdiff
ctests: restore thesis.lyx lyx2lyx tests
authorScott Kostyshak <skostysh@lyx.org>
Wed, 2 Jan 2019 19:04:39 +0000 (14:04 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Wed, 2 Jan 2019 19:12:17 +0000 (14:12 -0500)
These tests failed because of (multiple instances of) the following
warning:

  Warning: a buffer should not have two parents!

This warning is expected, because, for example, chapter-1 includes
Bibliography.lyx and chapter-2 includes Bibliography.lyx. thesis.lyx
includes both chapter-1 and chapter-2, so both are loaded (but
hidden), and Bibliography.lyx is loaded (but hidden), and LyX then
sees that more than one buffer includes Bibliography.lyx

The consequence of ignoring this warning is that we will not catch
any future regression that triggers this warning when it should not.

development/autotests/filterCheckWarnings

index fc6925d928331c9c1574e30a3430a6418567c56f..af5c078347f5cc5362c975c1ba2da653406c35bf 100644 (file)
@@ -1,3 +1,4 @@
 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!