qt5base-lts/tests/auto/corelib/plugin
Leander Beernaert a2376f4ded CMake: Fix tst_plugin
It is not possible to exclude targets based on the build configuration
in CMake. loadDebugPlugin() and loadReleasePlugin() will always fail as
both debug and release plugins are built regardless of the build
configuration.

This patch adds the CMAKE_BUILD define and skips the opposite test on
Windows. E.g.: With config = Debug, the loadReleasePlugin() test is
skipped and viceversa.

Change-Id: I2659882604bb39eb11d3e9e2b2b37a2972475285
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-02-20 15:11:01 +00:00
..
qfactoryloader Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qlibrary Regenerate Tests 2020-01-16 08:16:17 +00:00
qplugin CMake: Fix tst_plugin 2020-02-20 15:11:01 +00:00
qpluginloader Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
quuid Distinguish between qt_plugin and regular plugins 2019-10-28 09:20:37 +00:00
CMakeLists.txt Convert corelib plugin tests 2019-10-21 11:17:20 +00:00
plugin.pro Enable QPluginLoader test for static builds 2018-08-03 20:26:58 +00:00