summaryrefslogtreecommitdiffstats
path: root/tests/auto/headers
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-08-24 21:22:13 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-08-24 21:22:39 (GMT)
commited1fecfe6b7ce370184ef4dfb421fb387807633b (patch)
treee6b4dd1501bece1e122a53721f10f7b38ae511ff /tests/auto/headers
parentd8cd04e97540ac1c048a35ad54c8c6337d639ca1 (diff)
downloadQt-ed1fecfe6b7ce370184ef4dfb421fb387807633b.zip
Qt-ed1fecfe6b7ce370184ef4dfb421fb387807633b.tar.gz
Qt-ed1fecfe6b7ce370184ef4dfb421fb387807633b.tar.bz2
Add the missing license headers to the QString benchmark data
Diffstat (limited to 'tests/auto/headers')
-rw-r--r--tests/auto/headers/tst_headers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/headers/tst_headers.cpp b/tests/auto/headers/tst_headers.cpp
index 06c70f9..7ccf058 100644
--- a/tests/auto/headers/tst_headers.cpp
+++ b/tests/auto/headers/tst_headers.cpp
@@ -213,7 +213,8 @@ void tst_Headers::licenseCheck()
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")