summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2018-06-08 12:42:58 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2018-06-21 14:14:27 +0000
commit06044df0e3d881bcfa2537ad1301468d49ad544c (patch)
treee330fbba9346baa497d906c392ec5fd2e5b1e197 /tests/auto
parentee3ed1a0abce55c92efc36d4e6c26e83720f9c21 (diff)
Android: tst_qthread: terminate is not supported
"terminate" and "terminated" both fail on Android since QThread::terminate not supported on Android. So we should skip them. Task-number: QTBUG-68596 Change-Id: Id0d1dde2cfa02bb2978e5dd16087bf8f3bf112b0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/thread/qthread/tst_qthread.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp
index aee243d880..d73dcc1b6d 100644
--- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp
+++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp
@@ -465,8 +465,8 @@ void tst_QThread::start()
void tst_QThread::terminate()
{
-#if defined(Q_OS_WINRT)
- QSKIP("Thread termination is not supported on WinRT.");
+#if defined(Q_OS_WINRT) || defined(Q_OS_ANDROID)
+ QSKIP("Thread termination is not supported on WinRT or Android.");
#endif
Terminate_Thread thread;
{
@@ -531,8 +531,8 @@ void tst_QThread::finished()
void tst_QThread::terminated()
{
-#if defined(Q_OS_WINRT)
- QSKIP("Thread termination is not supported on WinRT.");
+#if defined(Q_OS_WINRT) || defined(Q_OS_ANDROID)
+ QSKIP("Thread termination is not supported on WinRT or Android.");
#endif
SignalRecorder recorder;
Terminate_Thread thread;