summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | 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
| * | | | | | | ci: Explicitly enable CPackWiXGenerator test only in specific jobsBrad King2024-03-111-9/+1
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Drop the environment-based heuristic.
* | | | | | | Merge topic 'cpack-external'Brad King2024-03-121-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 67983e5930 Tests: Enable RunCMake.CPack_External test more reliably Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9332
| * | | | | | | Tests: Enable RunCMake.CPack_External test more reliablyBrad King2024-03-111-0/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 2ef966bc77 (Testing: Add test for CPack External generator, 2018-06-11, v3.13.0-rc1~361^2~2) this test was added without defining its `get_test_prerequirements` function, so it has been re-using the conditions from the previous test type (STGZ).
* | | | | | | Merge topic 'export-find_dependency-calls'Brad King2024-03-122-5/+5
|\ \ \ \ \ \ \ | |/ / / / / / |/| / / / / / | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | b1c4806914 install(EXPORT): Drop REQUIRED from exported find_dependency calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9329
| * | | | | install(EXPORT): Drop REQUIRED from exported find_dependency callsBrad King2024-03-112-5/+5
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit c6e6861e63 (install(EXPORT): Export find_dependency() calls, 2023-11-07, v3.29.0-rc1~439^2~1) we made the calls `REQUIRED`. However, a dependency is only required if the dependent package is required. `find_dependency` already forwards the `REQUIRED` mark, and also already marks the dependent package as not found if the dependency is missing. Fixes: #25756
| * | | | Merge topic 'ctest-j-default' into release-3.29Brad King2024-03-1136-128/+241
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5de1e21659 ctest: Allow passing -j without value to choose a contextual default bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization 7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case 30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9315
* | \ \ \ \ Merge topic 'ctest-j-default'Brad King2024-03-1136-128/+241
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5de1e21659 ctest: Allow passing -j without value to choose a contextual default bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization 7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case 30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9315
| * | | | | ctest: Allow passing -j without value to choose a contextual defaultBrad King2024-03-1028-4/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under job server integration, added by commit 80fe56c481 (ctest: Add support for running under a make job server on POSIX systems, 2023-11-15, v3.29.0-rc1~324^2), use a very high default so that parallelism is effectively limited only by available job server tokens. Otherwise, choose a default limit based on the number of processors. Also allow passing `0` to specify unbounded parallelism. Fixes: #25739
| * | | | | Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOVBrad King2024-03-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This hasn't been necessary since commit ab7eda2591 (Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOV, 2020-04-29, v3.18.0-rc1~239^2~2).
| * | | | | Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test caseBrad King2024-03-106-48/+15
| | | | | |
| * | | | | Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test caseBrad King2024-03-105-75/+31
| | | | | |
* | | | | | Merge topic 'ctest-tests-from-file'Brad King2024-03-1117-3/+48
|\ \ \ \ \ \ | | |/ / / / | |/| | / / | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 170ec48601 Help: Improve ctest tests-from-file documentation wording and wrapping 1a4837641e ctest: Remove unnecessary and ambiguous tests-from-file comment syntax d52c66bfb3 ctest: Honor tests-from-file options with empty input 8673264e25 Tests: Make ctest tests-from-file expected output more precise Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9322
| * | | | ctest: Remove unnecessary and ambiguous tests-from-file comment syntaxBrad King2024-03-082-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test names can contain `#`. Since we ignore lines that do not match any test names anyway, "commenting" can still work without explicit syntax. Also drop whitespace trimming for similar reasons. Fixes: #25741
| * | | | ctest: Honor tests-from-file options with empty inputBrad King2024-03-089-0/+29
| | | | | | | | | | | | | | | | | | | | If the `--tests-from-file` input file is empty, no tests should run.
| * | | | Tests: Make ctest tests-from-file expected output more preciseBrad King2024-03-087-3/+13
| | | | |
| * | | | Merge topic 'cxxmodules-target-objects' into release-3.29Brad King2024-03-084-0/+42
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 4ddf0453d5 Tests/CXXModules: add a test using `TARGET_OBJECTS` from modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9316
* | | | | Merge topic 'gtest-json-test-def-source'Brad King2024-03-082-1/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06860d5c12 ctest: Show custom test properties in --show-only=json-v1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9305
| * | | | | ctest: Show custom test properties in --show-only=json-v1Daniel Sim2024-03-062-1/+13
| | | | | |
* | | | | | Merge topic 'cxxmodules-target-objects'Brad King2024-03-084-0/+42
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ddf0453d5 Tests/CXXModules: add a test using `TARGET_OBJECTS` from modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9316
| * | | | | Tests/CXXModules: add a test using `TARGET_OBJECTS` from modulesBen Boeckel2024-03-064-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | See: #25732