From 71a36d0b6576b2174b708a714f92bbbe1b309d05 Mon Sep 17 00:00:00 2001
From: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Date: Thu, 10 Mar 2016 14:34:45 +0100
Subject: [PATCH] Disable tests requiring shared build when compiling
 statically

Change-Id: I06ec53e46d2f61f1685899b0f8a4d385051095d6
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
---
 tests/auto/corelib/plugin/plugin.pro | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/auto/corelib/plugin/plugin.pro b/tests/auto/corelib/plugin/plugin.pro
index 506f6abaebb..e132d9da1ab 100644
--- a/tests/auto/corelib/plugin/plugin.pro
+++ b/tests/auto/corelib/plugin/plugin.pro
@@ -5,3 +5,9 @@ SUBDIRS=\
     qplugin \
     qpluginloader \
     quuid
+
+contains(CONFIG, static) {
+    message(Disabling tests requiring shared build of Qt)
+    SUBDIRS -= qfactoryloader \
+               qpluginloader
+}
-- 
GitLab