mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
build test_Layout test
This commit is contained in:
parent
b266f6bf6b
commit
39911dfe2b
@ -47,7 +47,7 @@ using namespace std;
|
||||
bool test_Layout(string const & input, string const & output)
|
||||
{
|
||||
FileName const ifn(makeAbsPath(input));
|
||||
LayoutFileList l;
|
||||
LayoutFileList& l = LayoutFileList::get();
|
||||
LayoutFileIndex i = l.addLocalLayout(ifn.onlyFileName(), ifn.onlyPath().absFileName());
|
||||
if (i.empty()) {
|
||||
cerr << "Could not read layout file " << input << ".layout.\n";
|
||||
|
Loading…
Reference in New Issue
Block a user