diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-04-09 16:14:44 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-04-12 09:44:55 +0000 |
commit | 46daf8aac235107d0c77fe3a887ecb73f85b4159 (patch) | |
tree | e65841cd65161d7db85043efee801756c3f1744f /tests/prebuild | |
parent | e3754bc547c44aac2713d6245543ee3df484af8f (diff) |
Exclude header.* files from license scan
This allows us to adapt the header.XXX files to use placeholders
for the copyright year.
Change-Id: If0dbe8367daa4c866d05bf45351a2807bbbc534a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/prebuild')
-rwxr-xr-x | tests/prebuild/license/tst_licenses.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/prebuild/license/tst_licenses.pl b/tests/prebuild/license/tst_licenses.pl index 1c5382ac..475ec46f 100755 --- a/tests/prebuild/license/tst_licenses.pl +++ b/tests/prebuild/license/tst_licenses.pl @@ -97,6 +97,10 @@ my %excludedModules = ( # license headers are not checked at all. Valid uses of this should be # very rare - use %optionalFiles where possible. my %excludedFiles = ( + "all" => [ + # Do not scan the header templates themselves + qr{^header\.[\w-]*$}, + ], "qtwayland" => [ # XML files for protocol qr{^src/extensions/.+\.xml$}, |