tests/auto/headers/tst_headers.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   211 
   211 
   212     if (content.count() <= 2) // likely a #include line and empty line only. Not a copyright issue.
   212     if (content.count() <= 2) // likely a #include line and empty line only. Not a copyright issue.
   213         return;
   213         return;
   214 
   214 
   215     if (content.first().contains("generated")) {
   215     if (content.first().contains("generated")) {
   216         content.takeFirst();
   216         // don't scan generated files
       
   217         return;
   217     }
   218     }
   218 
   219 
   219     if (sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/merge_ordering/foo.cpp")
   220     if (sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/merge_ordering/foo.cpp")
   220         || sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp"))
   221         || sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp"))
   221     {
   222     {