Skip unreliable tst_QTimer::moveToThread() on macOS 10.12
Randomly timeouts in the CI. Task-number: QTBUG-59679 Change-Id: I28410b747b2033fc0ef6286a11c88cd0c07eb247 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>bb10
parent
dd23ed3dbd
commit
8ae55f0d00
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
#include <qtimer.h>
|
||||
#include <qthread.h>
|
||||
#include <qoperatingsystemversion.h>
|
||||
|
||||
#if defined Q_OS_UNIX
|
||||
#include <unistd.h>
|
||||
|
|
@ -498,6 +499,9 @@ void tst_QTimer::moveToThread()
|
|||
{
|
||||
#if defined(Q_OS_WIN32)
|
||||
QSKIP("Does not work reliably on Windows :(");
|
||||
#elif defined(Q_OS_MACOS)
|
||||
if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSSierra)
|
||||
QSKIP("Does not work reliably on macOS 10.12 (QTBUG-59679)");
|
||||
#endif
|
||||
QTimer ti1;
|
||||
QTimer ti2;
|
||||
|
|
|
|||
Loading…
Reference in New Issue