summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qlockfile
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2014-12-18 14:23:25 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2014-12-22 09:27:49 +0100
commit4fec0dca877855488d0eeb8ce5d0d682497ad1e3 (patch)
treec7cd6dbb1b22693e62217880c62268ec1ee45ec3 /tests/auto/corelib/io/qlockfile
parentae55d3ea27f1007c7b46f655a64ff64fab9e83a5 (diff)
Android: Disable QLockFile test
This test requires building a console application first, deploying this as part of the APK and then being able to execute the bundled file from the main application. Since IPC is a limited use case on Android, we just skip this test instead. Change-Id: Ie68e495ff64b69e7027924291a411b5de0e2da76 Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/corelib/io/qlockfile')
-rw-r--r--tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp b/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp
index 1790676028..77bef94550 100644
--- a/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp
+++ b/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp
@@ -66,7 +66,9 @@ public:
void tst_QLockFile::initTestCase()
{
-#ifdef QT_NO_PROCESS
+#if defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_NO_SDK)
+ QSKIP("This test requires deploying and running external console applications");
+#elif defined(QT_NO_PROCESS)
QSKIP("This test requires QProcess support");
#else
// chdir to our testdata path and execute helper apps relative to that.