summaryrefslogtreecommitdiff
path: root/scripts/lib/perl5/QtQA/ThreadSafeReleaseAction.pm
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-081-27/+2
| | | | | | | | | | | Replace the current license header in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: master Task-number: QTBUG-67283 Change-Id: I6ae743e055bbf1cf514abe604157068923fb03c6 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Fix licensingJani Heikkinen2017-06-011-17/+12
| | | | | | | | | | - Remove unnecessary license files and license header templates - Tools and test are licensed under GPL-EXCEPT nowdays, update correct license header there - Update test data to match current license headers Change-Id: Ia25c9e0989be326e0edeb0325af399edc26f0054 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Update copyright headersAntti Kokko2015-02-131-22/+14
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I5999ee256134fe82ab13f6f06fcd1d0aa150b688 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-141-1/+1
| | | | | | Change-Id: I02eaa709ff91d158a3e34f4e719254f2adce873e Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-241-24/+24
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I0122cd74f6246a5f20eee2b33ceb328df77a32db Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fixed 'QtQA::TestScript: scope mismatch' warnings on WindowsRohan McGovern2012-07-231-0/+86
The Windows implemention of exe() uses perl threads. When a new Perl thread is created, all objects are cloned into the new thread (by default). This included the ReleaseAction instances returned by the QtQA::TestScript::doing() method. When the exe() threads were destroyed, the ReleaseActions would sometimes be destroyed in a different order than they were created, resulting in spurious 'scope mismatch' warnings. This did not cause any harm other than the warning messages. Since it never makes sense for these ReleaseActions to be cloned into separate threads, replace them with a ReleaseAction subclass opting-out of thread cloning by sub CLONE_SKIP { 1 }. Change-Id: I2d0f2e01a7df3b707a683f7800deff70d2c92c98 Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>