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 <thiago.macieira@intel.com> (cherry picked from commit 92e420aefb373c2dc1dd39a05ff43037edb2a145) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>bb10
parent
f7f19961c4
commit
4afbfa8626
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in New Issue