diff options
author | Paul Wicking <paul.wicking@qt.io> | 2023-08-16 12:44:03 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2023-08-16 16:38:01 +0200 |
commit | 35d4fdf5268fcfe9028665ce927c70e87e34dd2d (patch) | |
tree | 44ae5129a19664082540a8831986bb64033bef18 /tests | |
parent | fed570b3e7e04eff87710f95b171c733bfc45793 (diff) |
Exclude QDoc's expected output from license check
Depending on the configuration, QDoc may generate XML files as part of
its output. These XML files do not pass the license check, as they
(correctly) do not contain an SPDX license header.
Exclude QDoc's expected output directory from the license check, as
the contents of this directory is expected to change frequently, and as
these files cannot be subject to licensing.
Task-number: QTBUG-114937
Change-Id: Idb98926f0c38bac7a660c72895cf853ea8ff2957
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests')
-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 689036dc..8825baba 100755 --- a/tests/prebuild/license/tst_licenses.pl +++ b/tests/prebuild/license/tst_licenses.pl @@ -116,6 +116,10 @@ my %excludedFiles = ( qr{^src/qtadv/doc/src/qtadv.*$}, qr{^src/qtadv/qdoc_wrapper.bat$}, ], + 'qttools' => [ + # Exclude QDoc's golden output in tests + qr{^src/qdoc/qdoc/tests/generatedoutput/expected_output/}, + ], ); # The following regex patterns designate directories and files for which |