diff -r ef0373b55136 -r 758a864f9613 tests/auto/headers/tst_headers.cpp --- a/tests/auto/headers/tst_headers.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/tests/auto/headers/tst_headers.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -213,7 +213,8 @@ return; if (content.first().contains("generated")) { - content.takeFirst(); + // don't scan generated files + return; } if (sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/merge_ordering/foo.cpp")