summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2018-07-26 13:27:44 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-07-26 14:26:42 +0000
commita5d8f00b3b979d7846ce7029edf4187b96ce1f4e (patch)
treedfdfd705f27ced37de45912a6b6d3a6e239c2704
parentb6597c8b7b86fbc12cc347b79e43ad819f7d23be (diff)
downloadqtbase-a5d8f00b3b979d7846ce7029edf4187b96ce1f4e.tar.gz
tst_qplugin: Re-enable loadReleasePlugin test case
Change-Id: I678a8748ac757ae2918dd80e4a6d802d7de7b0b0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--tests/auto/corelib/plugin/qplugin/tst_qplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/plugin/qplugin/tst_qplugin.cpp b/tests/auto/corelib/plugin/qplugin/tst_qplugin.cpp
index c00f2c76ba..d285ed79c0 100644
--- a/tests/auto/corelib/plugin/qplugin/tst_qplugin.cpp
+++ b/tests/auto/corelib/plugin/qplugin/tst_qplugin.cpp
@@ -97,6 +97,7 @@ void tst_QPlugin::loadReleasePlugin()
{
const auto fileNames = dir.entryList(QStringList() << "*release*", QDir::Files);
for (const QString &fileName : fileNames) {
+ if (!QLibrary::isLibrary(fileName))
continue;
QPluginLoader loader(dir.filePath(fileName));
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)