diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/prebuild/license/tst_licenses.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/prebuild/license/tst_licenses.pl b/tests/prebuild/license/tst_licenses.pl index 22b07e33..0a40b74f 100755 --- a/tests/prebuild/license/tst_licenses.pl +++ b/tests/prebuild/license/tst_licenses.pl @@ -1,7 +1,7 @@ #!/usr/bin/env perl ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2021 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the test suite of the Qt Toolkit. @@ -605,6 +605,9 @@ sub run # Get module name without the preceding path $moduleName = defined($optModuleName) ? $optModuleName : basename($QT_MODULE_TO_TEST); + # Remove possible 'tqtc-' prefix from the module name + substr($moduleName, 0, 5, "") if (index($moduleName,"tqtc-") == 0); + # Skip the test (and return success) if we don't want to scan this module if ($optForceTest == 0) { |