qt5base-lts/tests/auto/cmake
Alexandru Croitor 3a62f9e0c9 CMake: Resurrect test_import_plugins cmake build tests
Now that we run tests for static Qt builds in the CI, it makes sense
to restore the CMake build tests that check that static plugin
importing works correctly.

Resurrect the previously commented out test_import_plugins project and
port the mockplugins qmake projects to CMake.

mockplugins is a CMake project that uses the internal Qt CMake API to
build and install some Qt modules and plugins.

test_import_plugins depends on that test (via a CMake fixture) to
build public projects that use those plugins.

The installation of the mockplugins modules pollutes the Qt install
prefix, but in the CI that only happens on the test VM, which means
the release packages are not affected.

Locally on a developer machine the Qt install path will be polluted,
but it's not that much of a big deal. We could try and address that in
a future change by using the QT_ADDITIONAL_PACKAGES_PREFIX_PATH
functionality added for Conan to allow the installation of Qt packages
into a non-standard prefix.

Task-number: QTBUG-87580
Task-number: QTBUG-92933
Change-Id: I0841064a60a5ffba5118640d3197527a38ba6c30
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2021-05-11 14:35:30 +02:00
..
mockplugins CMake: Resurrect test_import_plugins cmake build tests 2021-05-11 14:35:30 +02:00
test_add_big_resource Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_add_binary_resources_delayed_file CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_add_resource_options Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_add_resources_binary_generated CMake: Change generated resources naming 2020-11-24 21:51:29 +01:00
test_add_resources_delayed_file CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_concurrent_module CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_dbus_module Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_dependent_modules Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_egl_lib CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_import_plugins CMake: Resurrect test_import_plugins cmake build tests 2021-05-11 14:35:30 +02:00
test_init_resources_static_plugin Add test of the static plugin with resources 2021-04-12 17:19:41 +02:00
test_interface CMake: Build minimal subset of tests in desktop static builds 2021-04-06 09:15:37 +01:00
test_interface_link_libraries Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_json_plugin_includes Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_moc_macro_target Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_multiple_find_package CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_opengl_lib CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_platform_defs_include CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_plugin_shared_static_flavor CMake: Choose better defaults for qt_add_plugin STATIC/SHARED 2021-04-07 10:10:55 +02:00
test_plugins CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_private_includes CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_private_targets CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_QFINDTESTDATA Specify QT_TESTCASE_BUILDDIR for Qt::Test users implicitly 2021-04-08 13:16:41 +02:00
test_QT_TESTCASE_BUILDDIR Specify QT_TESTCASE_BUILDDIR for Qt::Test users implicitly 2021-04-08 13:16:41 +02:00
test_QTBUG-63422 CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_qtmainwin_library Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_testlib_definitions Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
test_testlib_no_link_gui CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_testlib_no_link_widgets CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_umbrella_config CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_versionless_targets CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
test_wrap_cpp_and_resources Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test_wrap_cpp_options Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test(needsquoting)dirname Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
tst_qaddpreroutine CMake: Fix tst_qaddpreroutine to work with static builds 2021-04-26 19:35:55 +02:00
CMakeLists.txt CMake: Resurrect test_import_plugins cmake build tests 2021-05-11 14:35:30 +02:00
test_plugin_shared_static_flavor.cmake CMake: Choose better defaults for qt_add_plugin STATIC/SHARED 2021-04-07 10:10:55 +02:00