diff options
author | Eike Ziller <eike.ziller@qt.io> | 2022-06-10 12:21:30 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2022-06-13 06:06:44 +0000 |
commit | 737877984d7a2c2570daf0adf8015208944cc129 (patch) | |
tree | 4614ef0c491c6aea9081199f4ea2178c929e4634 /tests/auto/algorithm/tst_algorithm.cpp | |
parent | e2e5d67bc3880146e722bf6b9d10bbd5c9fd5776 (diff) | |
download | qt-creator-737877984d7a2c2570daf0adf8015208944cc129.tar.gz |
Use QTEST_GUILESS_MAIN where applicable
instead of QTEST_MAIN. Reduces the initialization that is done by the Qt
test applications, and can also reduce interference with normal OS
operations like the current window loosing focus.
Change-Id: If88f289281aa1c8703ac7d4dbe0799d067c16588
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/algorithm/tst_algorithm.cpp')
-rw-r--r-- | tests/auto/algorithm/tst_algorithm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/algorithm/tst_algorithm.cpp b/tests/auto/algorithm/tst_algorithm.cpp index 3cc0301e81..56fcd84f75 100644 --- a/tests/auto/algorithm/tst_algorithm.cpp +++ b/tests/auto/algorithm/tst_algorithm.cpp @@ -577,6 +577,6 @@ void tst_Algorithm::take() } } -QTEST_MAIN(tst_Algorithm) +QTEST_GUILESS_MAIN(tst_Algorithm) #include "tst_algorithm.moc" |