From 3269b7a9c2bb3f8ebb30ebc5f10b7c678a111115 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sat, 12 Sep 2015 15:17:08 +0200 Subject: [PATCH] Fix tests when the Qt mobile app is not built --- tests/pluginloadtest.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/pluginloadtest.cpp b/tests/pluginloadtest.cpp index a2a4bc87c..259a47ed8 100644 --- a/tests/pluginloadtest.cpp +++ b/tests/pluginloadtest.cpp @@ -82,6 +82,11 @@ class PluginLoadTest : public QObject d = id; } } + + if (!d->loadedPlugins().contains("kdeconnect_remotecontrol")) { + QSKIP("kdeconnect_remotecontrol is required for this test"); + } + QVERIFY(d); QVERIFY(d->isPaired()); QVERIFY(d->isReachable());