summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge topic 'cxxmodules-depend-on-modmap-file' into release-3.28Brad King2024-02-166-0/+62
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 363300ace5 cxxmodules: depend on the modmap contents 940628d48d Tests/CXXModules: test that objects depend on their modmap files 681ee92030 Tests/CXXModules: support testing rebuild conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9248
| * \ \ \ Merge topic 'ci-test-CommandLength' into release-3.28Brad King2024-02-161-1/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | edb833d69e Tests/CommandLength: Refactor test commands to reduce test run time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9256
| * \ \ \ \ Merge topic 'cxxmodules-collapse-source-paths' into release-3.28Brad King2024-02-154-0/+31
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f0d853de7 cmDyndepCollation: collapse full path before looking up Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9249
* | \ \ \ \ \ Merge topic 'cxxmodules-collation-restat' into release-3.29Brad King2024-02-167-2/+59
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7424b636b Ninja: make the collator rule use `restat = 1` e24eecfc33 Tests/CXXModules: add a test to ensure that `restat` works for collation Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9259
| * | | | | | Tests/CXXModules: add a test to ensure that `restat` works for collationBen Boeckel2024-02-157-2/+59
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also update the `modules-json-file` test to account for the fact that `CXXModules.json` is not updated for timestamp-only rebuild triggers. See: #25511
* | | | | | Merge topic 'cxxmodules-visibility-change-rebuild' into release-3.29Brad King2024-02-166-0/+55
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60a8736378 cmNinjaTargetGenerator: scanning depends on the module metadata 52036ce090 Tests/CXXModules: test that objects depend on dependent modules json files 9a45c9fbd5 cmNinjaTargetGenerator: use `emplace_back` for scanning deps Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9247
| * | | | | Tests/CXXModules: test that objects depend on dependent modules json filesBen Boeckel2024-02-156-0/+55
| | |_|_|/ | |/| | |
* | | | | Merge topic 'cxxmodules-depend-on-modmap-file' into release-3.29Brad King2024-02-166-0/+62
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 363300ace5 cxxmodules: depend on the modmap contents 940628d48d Tests/CXXModules: test that objects depend on their modmap files 681ee92030 Tests/CXXModules: support testing rebuild conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9248
| * | | | Tests/CXXModules: test that objects depend on their modmap filesBen Boeckel2024-02-156-0/+49
| | | | |
| * | | | Tests/CXXModules: support testing rebuild conditionsBen Boeckel2024-02-141-0/+13
| | | | |
* | | | | Merge topic 'ci-test-CommandLength' into release-3.29Brad King2024-02-161-1/+4
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | edb833d69e Tests/CommandLength: Refactor test commands to reduce test run time Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9256
| * | | | Tests/CommandLength: Refactor test commands to reduce test run timeBrad King2024-02-151-1/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Since 2024-02-09 or so this test frequently times out on a few of our Windows CI runners. Use fewer but longer command lines to achieve a similar total command length. By running fewer commands, the test takes much less time.
* | | | Merge topic 'cmake-language-exit-code' into release-3.29Brad King2024-02-1523-3/+70
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86698eea85 cmake_language: Fix EXIT inside control flow blocks a3033d1a06 Tests: Remove unnecessary RunCMake.cmake_language expected result files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9250
| * | | | cmake_language: Fix EXIT inside control flow blocksBrad King2024-02-1415-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were missed in commit 1bb1769235 (cmake_language: Add EXIT subcommand, 2024-01-05, v3.29.0-rc1~112^2). Fixes: #25674
| * | | | Tests: Remove unnecessary RunCMake.cmake_language expected result filesBrad King2024-02-138-3/+0
| | | | | | | | | | | | | | | | | | | | RunCMake defaults to expecting result `0` with empty stderr.
* | | | | Merge topic 'cxxmodules-collapse-source-paths' into release-3.29Brad King2024-02-154-0/+31
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | 0f0d853de7 cmDyndepCollation: collapse full path before looking up Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9249
| * | | cmDyndepCollation: collapse full path before looking upBen Boeckel2024-02-144-0/+31
| | |/ | |/| | | | | | | | | | | | | | | | | | | `cmSourceFile::GetFullPath()` performs a `CollapseFullPath` before storing the path. Match this behavior when looking up paths from the source file set constructions. Fixes: #25614
* | | Merge topic 'ticlang-compilers' into release-3.29Brad King2024-02-1212-0/+141
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c51136b8c ci: Enable TIClang test on Debian Clang jobs in nightly pipeline 9ba0a54554 TIClang: Add support for TI Clang-based compilers, including tiarmclang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9228
| * | | TIClang: Add support for TI Clang-based compilers, including tiarmclangAlan Phipps2024-02-0912-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add TIClang compiler ID and support in compiler modules. Update documentation. Add rudimentary RunCMake test for TIClang to test basic functionality. Fixes: #24619
* | | | Merge topic 'autogen-rcc-zstd' into release-3.29Brad King2024-02-122-0/+25
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e87df4d46 Autogen/RCC: Disable zstd if it is not supported Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !9232
| * | | | Autogen/RCC: Disable zstd if it is not supportedOrkun Tokdemir2024-02-092-0/+25
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the `--no-zstd` argument for `RCC` when `QT_FEATURE_zstd` is `OFF`. This causes user project builds to fail. That bug is fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/537546 but for the older versions, fix it here too. Fixes: #25664
* | | | Tests: Enable RunCMake.CMakePackage visionOS cases with Xcode 15.2Brad King2024-02-092-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode 15.2 officially includes the visionOS SDKs. Fix a typo from commit 2a398cd9b6 (CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signatures, 2024-01-04) to make it pass. Issue: #25266
* | | | Merge branch 'backport-3.28-visionOS' into visionOSBrad King2024-02-093-46/+39
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Tests: Enable visionOS tests with Xcode 15.2Brad King2024-02-092-44/+37
| | | | | | | | | | | | | | | | | | Xcode 15.2 officially includes the visionOS SDKs. Fixes: #25266
| * | Tests: Update RunCMake.XcodeProject-Device for visionOS in Xcode 15.1 betaBrad King2024-02-091-2/+2
| | | | | | | | | | | | The target identification macros changed since the 15.0 beta.
* | | Merge topic 'FindVulkan-glslang-14' into release-3.29Brad King2024-02-082-3/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 49ebf18dd0 FindVulkan: Update detection for glslang 14.0.0 9cefa2f08d Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations b832767940 Tests/FindVulkan: Update for glslang 12.3+ output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9225
| * | | Tests/FindVulkan: Allow easy way to switch between VulkanSDK installationsJuan Ramos2024-02-071-1/+2
| | | | | | | | | | | | | | | | | | | | Running with `--fresh` resets the cache each time. Which is valuable for switching between SDK installations.
| * | | Tests/FindVulkan: Update for glslang 12.3+ outputJuan Ramos2024-02-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Since 12.3.0 glslangValidator has been renamed to glslang. This fix maintains backcompat with older SDKs
* | | | Merge topic 'clang-cl-showIncludes' into release-3.29Brad King2024-02-088-5/+21
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 0d933fc0d9 Ninja: Update showIncludes prefix detection for clang-cl 18 a88acb0a41 Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9229
| * | | Ninja: Update showIncludes prefix detection for clang-cl 18Martin Storsjö2024-02-075-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit LLVM/Clang commit `5523fefb01c2` ([clang][lex] Use preferred path separator in includer-relative lookup, 2023-09-08), part of the upcoming 18.x release, the output format of the showIncludes flag has changed, where it now prints paths with double backslashes: Note: including file: .\\foo.h Previously, we expected to see the path name in the form "./foo.h". Extend the regex to match a path name starting with `.\`, in addition to the existing matched patterns.
| * | | Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17Brad King2024-02-075-5/+5
| | |/ | |/| | | | | | | Make room for a new case for clang-cl 18.
* | | Merge topic 'findopengl-glu-include-dir'Brad King2024-02-061-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aebebf72df FindOpenGL: Add support for a separate GLU include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9216
| * | | FindOpenGL: Add support for a separate GLU include directoryJordan Williams2024-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a OPENGL_GLU_INCLUDE_DIR cache variable for `GL/glu.h` and attach it as an include directory to the `OpenGL::GLU` target. Also add a `OPENGL_INCLUDE_DIRS` result variable to list all include directories. Account for the GLU header when deciding whether GLU is found. Fixes: #25627
* | | | Tests/RunCMake: Add copyright and license notices to test infrastructureBrad King2024-02-053-0/+9
| |_|/ |/| |
* | | Merge topic 'restore-pch-with-unity'Brad King2024-02-053-0/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 30829da506 Unity: Clarify source comments on unity build transformation 87bf1c6c33 Merge branch 'unity-after-compile-features' into restore-pch-with-unity df08c37a42 cmGlobalGenerator: Add unity/pch sources after computing compile features 004c3c3986 Tests: Add case covering PCH in a unity build Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9215
| * | Merge branch 'unity-after-compile-features' into restore-pch-with-unityBrad King2024-02-023-0/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace commit 76b5383123 (cmGlobalGenerator: add unity sources after computing target compile features, 2024-01-01, v3.28.2~17^2~1) with an alternative change. This merge commit resolves conflicts such that future `git blame` calls will follow the second parent for the relevant lines and pretend the replaced commit never existed. Fixes: #25650
| | * | Tests: Add case covering PCH in a unity buildBrad King2024-02-023-0/+4
| | | | | | | | | | | | | | | | Issue: #25650
* | | | Merge topic 'GoogleTest-test-launcher'Brad King2024-02-026-1/+184
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f875c479f5 GoogleTest: Honor TEST_LAUNCHER in gtest_discover_tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9174
| * | | | GoogleTest: Honor TEST_LAUNCHER in gtest_discover_testsRalf Habacker2024-01-316-1/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We run test executables to discover tests. Use the same launchers that are used to run the tests. We already handle `CROSSCOMPILING_EMULATOR`. Update the logic to account for the `TEST_LAUNCHER` property added by commit 1ec0372ed4 (add_test: Optionally use a launcher for tests running in-project targets, 2023-11-11), and for the `CROSSCOMPILING_EMULATOR` behavior change in commit ca5a300d7f (add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling, 2023-11-02). Fixes: #25603 Co-authored-by: Brad King <brad.king@kitware.com> Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
* | | | | Merge topic 'update-curl'Brad King2024-02-021-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01a9325027 Tests: Match curl 8.6.0 error in RunCMake.ctest_submit FailDrop-https case e28ea90c1b Merge branch 'upstream-curl' into update-curl 851cc904a0 curl 2024-01-31 (5ce164e0) 692463d271 curl: Update script to get curl 8.6.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9207
| * | | | Tests: Match curl 8.6.0 error in RunCMake.ctest_submit FailDrop-https caseBrad King2024-02-011-1/+1
| | | | |
* | | | | Merge topic 'add_custom_command-target-alias'Brad King2024-02-011-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b07ec631d add_custom_command: Allow adding build event via ALIAS target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9201
| * | | | | add_custom_command: Allow adding build event via ALIAS targetChen Linxuan2024-02-011-1/+3
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Chen Linxuan <me@black-desk.cn>
* | | | | Tests: Enable Fortran part of CompileOptions test on single-config generatorsBrad King2024-01-311-3/+3
| | | | |
* | | | | Tests: Add "Fortran" test labelBrad King2024-01-314-11/+29
| |/ / / |/| | | | | | | | | | | With this, `ctest -L Fortran` will run only tests covering Fortran.
* | | | Merge topic 'env-cmake-install-prefix'Brad King2024-01-317-0/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06af18b9db cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9200
| * | | | cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variableSilvio Traversaro2024-01-307-0/+23
| |/ / / | | | | | | | | | | | | Fixes: #25023
* | | | Merge topic 'xcode-pch-swift-cxx'Brad King2024-01-315-0/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77c4d2f9a2 Xcode: Fix PCH support with Swift & C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9203
| * | | | Xcode: Fix PCH support with Swift & C++Mikko Lehtonen2024-01-305-0/+30
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Previously, when a mixed language target ends up with `Swift` as the `LINKER_LANGUAGE`, the PCH file was not set for the target at all. Fixes: #21224
* | | | Merge topic 'test-define-prop'Brad King2024-01-302-0/+89
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 6c3311d53b Help: Document property redefinition semantics 7aacae4e0e Tests: Add unit tests for property redefinition Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9136