diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2018-07-26 13:27:44 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-07-26 14:26:42 +0000 |
commit | a5d8f00b3b979d7846ce7029edf4187b96ce1f4e (patch) | |
tree | dfdfd705f27ced37de45912a6b6d3a6e239c2704 | |
parent | b6597c8b7b86fbc12cc347b79e43ad819f7d23be (diff) | |
download | qtbase-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.cpp | 1 |
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) |