From 4afbfa862688a55a61d892185ba7b382986b8007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81o=C5=9B?= Date: Fri, 14 Jun 2024 12:20:33 +0200 Subject: [PATCH] Exclude VxWorks from test for leaking objects tst_QCoreApplication test fails due to leaking object. Investigation about the reason of this issues was started, but no conclusion was made and reason for object leak is still unknown. To prevent this test from crashing exclude this check for VxWorks as well. Pick-to: 6.7 Task-number: QTBUG-115777 Change-Id: I2c543a3b8320e2d96b2e7cd7e14c1980e500ce0d Reviewed-by: Thiago Macieira (cherry picked from commit 92e420aefb373c2dc1dd39a05ff43037edb2a145) Reviewed-by: Qt Cherry-pick Bot --- .../corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp index 8f8ab33e64..5dc445d44f 100644 --- a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp +++ b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp @@ -1065,7 +1065,7 @@ static void createQObjectOnDestruction() // QThread) after the last QObject has been destroyed (especially after // QCoreApplication has). -#if !defined(QT_QGUIAPPLICATIONTEST) && !defined(Q_OS_WIN) +#if !defined(QT_QGUIAPPLICATIONTEST) && !defined(Q_OS_WIN) && !defined(Q_OS_VXWORKS) // QCoreApplicationData's global static destructor has run and cleaned up // the QAdoptedThread. if (theMainThreadIsSet())