build test_Layout test

This commit is contained in:
Peter Kümmel 2014-08-16 06:55:32 +02:00
parent b266f6bf6b
commit 39911dfe2b

View File

@ -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";