From a5d8f00b3b979d7846ce7029edf4187b96ce1f4e Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Thu, 26 Jul 2018 13:27:44 +0200 Subject: tst_qplugin: Re-enable loadReleasePlugin test case Change-Id: I678a8748ac757ae2918dd80e4a6d802d7de7b0b0 Reviewed-by: Friedemann Kleint Reviewed-by: Simon Hausmann Reviewed-by: Edward Welbourne --- tests/auto/corelib/plugin/qplugin/tst_qplugin.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3