summaryrefslogtreecommitdiff
path: root/tests/auto/qbluetoothserver/tst_qbluetoothserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qbluetoothserver/tst_qbluetoothserver.cpp')
-rw-r--r--tests/auto/qbluetoothserver/tst_qbluetoothserver.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/auto/qbluetoothserver/tst_qbluetoothserver.cpp b/tests/auto/qbluetoothserver/tst_qbluetoothserver.cpp
index 6be10ec7..bf1a55b9 100644
--- a/tests/auto/qbluetoothserver/tst_qbluetoothserver.cpp
+++ b/tests/auto/qbluetoothserver/tst_qbluetoothserver.cpp
@@ -144,10 +144,9 @@ void tst_QBluetoothServer::tst_receive()
{
QFETCH(QBluetoothLocalDevice::HostMode, hostmode);
-#ifdef Q_OS_ANDROID
- if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31) {
- QSKIP("Skipping test on Android 12+, it can timeout waiting for user input (QTBUG-104914)");
- }
+#ifdef ANDROID_CI_TEST_ENVIRONMENT
+ if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
+ QSKIP("Skipping test on Android 12+, emulator on CI can timeout waiting for user input");
#endif
QBluetoothLocalDevice localDev;