summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'file-RPATH-large-ELF'Brad King2024-03-245-1/+50
|\ | | | | | | | | | | | | 615a1c6691 cmELF: Get correct section count for large ELF binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9310
| * cmELF: Get correct section count for large ELF binariesMartin Duffy2024-03-225-1/+50
| | | | | | | | Fixes: #24877
* | Merge topic 'linker-vars-propagate-try_compile'Brad King2024-03-244-0/+40
|\ \ | | | | | | | | | | | | | | | | | | | | | 98cc86e265 try_compile(): Include languages with _ or - when passing linker vars Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9361
| * | try_compile(): Include languages with _ or - when passing linker varsCraig Scott2024-03-224-0/+40
| | | | | | | | | | | | Fixes: #25809
| * | Merge topic 'ninja-fortran-include' into release-3.29Brad King2024-03-204-8/+15
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9351
* | \ \ Merge topic 'doc-CMP0118'Brad King2024-03-2291-247/+976
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1dabbbb5e0 CMP0118: Revise documentation to describe actual behavior d2f5b79795 CMP0118: Fix some tests and add more tests Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9358
| * | | | CMP0118: Revise documentation to describe actual behaviorDeniz Bahadir2024-03-218-68/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The policy was originally intended to make the `GENERATED` source file property globally visible, but the implementation didn't fully achieve that goal. Revise the documentation to describe what it actually does. Issue: #25437
| * | | | CMP0118: Fix some tests and add more testsDeniz Bahadir2024-03-1984-179/+908
| | | | |
* | | | | Merge topic 'fileapi-provide-glob-dependent'Brad King2024-03-213-3/+53
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6116bcb066 fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles object f578515d02 cmGlobCacheEntry: Add helper to carry CONFIGURE_DEPENDS glob cache arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9348
| * | | | fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles objectArctic Lampyrid2024-03-193-3/+53
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25668 Co-authored-by: Brad King <brad.king@kitware.com>
* | | | | Merge topic 'ninja-fortran-include'Brad King2024-03-204-8/+15
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9351
| * | | | Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sourcesBrad King2024-03-194-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a preprocessed source also uses the Fortran `INCLUDE` directive, search the original source file's directory. Fixes: #25792
* | | | | Merge topic 'package-dispatch-apple'Brad King2024-03-2014-7/+96
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85d6d3b2e3 generate_apple_*_selection_file: Add option to capture errors 2149dbd379 generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) support be642f6ed5 generate_apple_architecture_selection_file: Simplify signature 8959ad9db1 Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument order 677f3d721b Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9349
| * | | | generate_apple_*_selection_file: Add option to capture errorsBrad King2024-03-1911-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to capture error messages in a variable instead of terminating with a fatal error. Fixes: #25778
| * | | | generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) supportBrad King2024-03-194-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a test case. Fixes: #25780
| * | | | generate_apple_architecture_selection_file: Simplify signatureBrad King2024-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow callers to pass multiple values to list-valued arguments instead of putting the entire list in a single quoted argument. Fixes: #25779
| * | | | Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument orderBrad King2024-03-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Call `generate_apple_architecture_selection_file` with matching order in `SINGLE_ARCHITECTURES` and `SINGLE_ARCHITECTURE_INCLUDE_FILES`.
| * | | | Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10Brad King2024-03-191-4/+10
| | | | | | | | | | | | | | | | | | | | Use every architecture each version of Xcode has in `$(ARCHS_STANDARD)`.
| * | | | Merge topic 'Apple-TBD-in-subdirecory' into release-3.29Brad King2024-03-142-3/+14
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcc26ce465 Apple Text Based Stubs: should be usage in subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9341
| * \ \ \ \ Merge topic 'autogen-makefile-depfile' into release-3.29Brad King2024-03-146-1/+28
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2d1763f88 cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logic 6193d15556 Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9340
| * | | | | Merge topic 'LINKER_TYPE-mold-support' into release-3.29Brad King2024-03-148-4/+13
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
* | | | | | | Tests: Pass path to WiX 3 into RunCMake.CPack_WIX testBrad King2024-03-192-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid requiring its location to be in the PATH environment variable.
* | | | | | | Tests: Teach RunCMake.CPack_WIX to honor windows-arm64 hostsBrad King2024-03-183-2/+7
| | | | | | |
* | | | | | | Tests: Convert CPackWiXGenerator to RunCMake.CPack_WIXBrad King2024-03-1817-100/+90
| | | | | | |
* | | | | | | Tests/RunCMake: Add new infrastructure to run cpackBrad King2024-03-183-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create an alternative to the `Tests/RunCMake/CPack` infrastructure that more closely follows the rest of RunCMake's conventions.
* | | | | | | Tests/RunCMake: Add option to print custom details in failure outputBrad King2024-03-182-0/+6
| | | | | | |
* | | | | | | Merge topic 'ci-wix'Brad King2024-03-181-3/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb1b2dc664 ci: Provide WiX 3 in PATH of jobs that need it b71b6300e5 ci: Provide WiX 3 in versioned location 694f14f96f Tests: Teach CPackWiXGenerator to use WiX tools in PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9342
| * | | | | | Tests: Teach CPackWiXGenerator to use WiX tools in PATHBrad King2024-03-141-3/+2
| | | | | | |
* | | | | | | Merge topic 'Apple-TBD-in-subdirecory'Brad King2024-03-142-3/+14
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | bcc26ce465 Apple Text Based Stubs: should be usage in subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9341
| * | | | | Apple Text Based Stubs: should be usage in subdirectoriesMarc Chevrier2024-03-142-3/+14
| |/ / / / | | | | | | | | | | | | | | | Fixes: #25765
| * | | | Merge topic 'export-find_dependency-calls' into release-3.29Brad King2024-03-1319-0/+50
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9336
* | \ \ \ \ Merge topic 'autogen-makefile-depfile'Brad King2024-03-146-1/+28
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2d1763f88 cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logic 6193d15556 Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9340
| * | | | | Autogen: Restore target-ordering dependencies in Makefiles with DEPFILEBrad King2024-03-146-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit aebfbcaa46 (AutoGen: Use depfiles for the XXX_autogen ninja targets, 2020-01-14, v3.17.0-rc1~58^2) the `_autogen_timestamp_deps` target was given target ordering dependencies through its custom command rather than direct target dependencies as on the `_autogen` target. Then commit 895fa3433f (cmQtAutoGenInitializer: support IMPLIB-only imported targets, 2021-09-23, v3.22.0-rc1~80^2) converted some target-level dependencies into file-level dependencies on the custom command. This only works with a monolithic build graph like Ninja. Since commit ebc9e448b3 (Autogen: Add depfile support for Makefiles, 2023-09-07, v3.28.0-rc1~101^2~1) we use the `_autogen_timestamp_deps` target in Makefile generators too. This exposed the missing target ordering dependency. Fixes: #25766
* | | | | | Merge topic 'LINKER_TYPE-mold-support'Brad King2024-03-148-4/+13
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
| * | | | | LINKER_TYPE: Support MOLD only on GCC versions that support itMarc Chevrier2024-03-138-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25748
* | | | | | Merge topic 'ctest-tls-options'Brad King2024-03-1351-16/+116
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aeb8bcc055 ctest: Fall back to CMake options for TLS version 56e319ce4a ctest: Fall back to CMake options for TLS server verification 6671f17f65 ctest: Add explicit options for TLS version 0aba13a2f3 ctest: Add explicit options for TLS server verification 51728a6dd3 CTest: Create scope to isolate defaults for DartConfiguration.tcl 8a3a486fb5 cmCTestCurl: Factor out helper struct for curl options 7f668bb94f cmCTestCurl: Use inline member initialization add81210df cmCurl: Assert that we cover all TLS versions supported by our vendored curl ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9318
| * | | | | | ctest: Fall back to CMake options for TLS versionBrad King2024-03-1216-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `CMAKE_TLS_VERSION` or `ENV{CMAKE_TLS_VERSION}` if `CTEST_TLS_VERSION` is not set. Issue: #25701
| * | | | | | ctest: Fall back to CMake options for TLS server verificationBrad King2024-03-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `CMAKE_TLS_VERIFY` if `CTEST_TLS_VERIFY` is not set.
| * | | | | | ctest: Add explicit options for TLS versionBrad King2024-03-129-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a dedicated `TLSVersion` ctest option and a `CTEST_TLS_VERSION` variable to control it. Issue: #25701
| * | | | | | ctest: Add explicit options for TLS server verificationBrad King2024-03-1218-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a dedicated `TLSVerify` ctest option and a `CTEST_TLS_VERIFY` variable to control it. Deprecate `CurlOptions` because it exposes internal implementation details.
| * | | | | | Tests: Make RunCMake.ctest_submit invalid host name case more robustBrad King2024-03-1213-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a well-defined `.invalid` top-level domain. This follows the pattern from commit 65a3c68259 (Tests: Make CMake.FileDownload invalid host name case more robust, 2020-01-21, v3.17.0-rc1~120^2). Add the invalid name to `ENV{no_proxy}` because DNS lookup failure is expected. This follows the pattern from commit c0b1f5f30c (Tests: Add host to ENV{no_proxy} when DNS lookup failure is expected, 2021-01-29, v3.20.0-rc1~79^2).
* | | | | | | Merge topic 'GoogleTest-source-line'Brad King2024-03-131-1/+21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a0343abd59 GoogleTest: Add DEF_SOURCE_LINE property to gtest_add_tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9327
| * | | | | | | GoogleTest: Add DEF_SOURCE_LINE property to gtest_add_testsDaniel Sim2024-03-111-1/+21
| | | | | | | |
* | | | | | | | Merge topic 'export-find_dependency-calls'Brad King2024-03-1319-0/+50
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9336
| * | | | | | | EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gateBrad King2024-03-1219-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some design concerns have been raised after trying the 3.29 release candidates. Avoid committing to a stable public interface for now. Issue: #25767
* | | | | | | | Merge topic 'ci-xcode-15.3'Brad King2024-03-133-3/+10
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 682767e8a5 Merge branch 'backport-3.28-ci-xcode-15.3' e572986231 LinkerId: Update detection of linker tool for Xcode 15.3 8a6d05aa9d gitlab-ci: update macOS jobs to use Xcode 15.3 7bf893bc30 Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3 7f5f0ab4b3 Tests: Update RunCMake.CompileFeatures for Xcode 15.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9333
| * | | | | | | Merge branch 'backport-3.28-ci-xcode-15.3'Brad King2024-03-123-3/+10
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | / / | | | |_|_|/ / | | |/| | | |
| | * | | | | Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3Brad King2024-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode passes a new `-use-frontend-parseable-output` flag to Swift that conflicts with our `-parseable-output` flag. Use a different flag for the test case.
| | * | | | | Tests: Update RunCMake.CompileFeatures for Xcode 15.3Brad King2024-03-122-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode no longer puts an extra backslash in its `-std=` flags.
* | | | | | | Merge topic 'ci-wix'Brad King2024-03-121-9/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b024732b19 ci: Explicitly enable CPackWiXGenerator test only in specific jobs bb261818f4 ci: Explicitly build WiX custom action in packaging jobs ac5aa7f1bf ci: Explicitly specify WiX architecture in packaging jobs c1616c98bf ci: Move job settings away from unrelated comment beecda4ddd Utilities/Release: Replace tabs with spaces in WiX input files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9330