96e3ee0659
The tests/auto/cmake project can be configured separately as a
standalone project with qt-cmake, or as part of the overall qtbase
standalone tests.
To do that a bunch of things were done
- Ported all Qt5 strings to Qt6
- Replaced in all projects the use of add_definitions and
include_directories with a target based approach, except for 2 tests
where we check that the old-style approach works, otherwise the
tests would file
- Removed some (possibly unneeded) EGL / OpenGL tests
- Fixed some C++ code
- Added setup code to tests/auto/cmake/CMakeLists.txt to figure out
which modules are available and should be tested
- Fixed Qt6CTestMacros.cmake to be loaded by Qt6Core
- Removed the CMake tests to not be run in qmake builds of Qt because
they would fail anyway
- Enabled the CMake tests to be part of standalone tests
- Disabled auto-passing of the C and CXX compiler cache vars when
cross-compiling so that the tests can somewhat pass on boot2qt.
This is the issue we encountered in
|
||
---|---|---|
.. | ||
mockplugins | ||
test_add_big_resource | ||
test_add_binary_resources_delayed_file | ||
test_add_resource_options | ||
test_add_resources_delayed_file | ||
test_concurrent_module | ||
test_dbus_module | ||
test_dependent_modules | ||
test_egl_lib | ||
test_import_plugins | ||
test_interface | ||
test_interface_link_libraries | ||
test_json_plugin_includes | ||
test_moc_macro_target | ||
test_multiple_find_package | ||
test_opengl_lib | ||
test_platform_defs_include | ||
test_plugins | ||
test_private_includes | ||
test_private_targets | ||
test_QFINDTESTDATA | ||
test_QTBUG-63422 | ||
test_qtmainwin_library | ||
test_testlib_definitions | ||
test_testlib_no_link_gui | ||
test_testlib_no_link_widgets | ||
test_umbrella_config | ||
test_versionless_targets | ||
test_wrap_cpp_and_resources | ||
test_wrap_cpp_options | ||
test(needsquoting)dirname | ||
cmake.pro | ||
CMakeLists.txt |