diff options
author | Luca Di Sera <luca.disera@qt.io> | 2023-10-26 10:45:34 +0200 |
---|---|---|
committer | Luca Di Sera <luca.disera@qt.io> | 2023-11-23 14:59:51 +0200 |
commit | a05e729bbb318e9494c47a011bba9c70ace2f20b (patch) | |
tree | c535eaed7e33ed88d3f5b7fdab756ce4d0d20d38 /tests | |
parent | 9721bb9a70a1d14035d4facbb27cc71a8a0fe8cf (diff) |
Check GLSL shader files for license header
Qt distributes a number of GLSL shader files as part of certain modules.
Those files are currently not checked for the presence of a license
header.
Hence, `tst_license.pl` will now check shader files with a ".vert" /
".tesc" / ".tese" / ".geom" / ".frag" / ".comp" extension for license
validity.
Change-Id: Ic389a0ab2232987e090cfc4942f74e282a641afe
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/prebuild/license/tst_licenses.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/prebuild/license/tst_licenses.pl b/tests/prebuild/license/tst_licenses.pl index fcec7699..5422ffba 100755 --- a/tests/prebuild/license/tst_licenses.pl +++ b/tests/prebuild/license/tst_licenses.pl @@ -228,6 +228,12 @@ my @mandatoryFiles=( qr{\.bat$}, qr{\.py$}, qr{\.sh$}, + qr{\.vert$}, + qr{\.tesc$}, + qr{\.tese$}, + qr{\.geom$}, + qr{\.frag$}, + qr{\.comp$}, ); my $QT_MODULE_TO_TEST; |