summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'test-debugger-named-pipe-fix'Brad King2023-08-161-7/+7
|\ | | | | | | | | | | | | | | 1a5cb0c1c1 testDebuggerNamedPipe: fix for cppdap with nlohmann_json Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8725
| * testDebuggerNamedPipe: fix for cppdap with nlohmann_jsonĐoàn Trần Công Danh2023-08-161-7/+7
| | | | | | | | | | Fixes: #25190 Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
* | Merge topic 'xcframework-check-platform-variant'Kyle Edwards2023-08-1641-16/+70
|\ \ | | | | | | | | | | | | | | | | | | | | | b4565c8c91 .xcframework: Check SupportedPlatformVariant Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8713
| * | .xcframework: Check SupportedPlatformVariantKyle Edwards2023-08-1541-16/+70
| | |
* | | Merge topic 'ExternalProject-build-jobserver'Brad King2023-08-1612-113/+115
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | bc43398e72 ExternalProject: Enable Make Job Server with Explicit Build Command 99be022428 Tests/RunCMake/Make: simplify GNUMakeJobSeverAware check function Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8667
| * | ExternalProject: Enable Make Job Server with Explicit Build CommandChris Mahoney2023-08-156-1/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces `BUILD_JOB_SERVER_AWARE` option to `ExternalProject_Add` and `JOB_SERVER_AWARE` to `ExternalProject_Add_Step`. When using an explicit `BUILD_COMMAND` or `COMMAND`, the generated commands won't use `$(MAKE)` thus failing to connect to the outer make's job server. These new options enable explicit job server integration. Co-authored-by: Brad King <brad.king@kitware.com> Fixes: #16273
| * | Tests/RunCMake/Make: simplify GNUMakeJobSeverAware check functionChris Mahoney2023-08-156-112/+44
| | |
* | | Merge topic 'TAPI-is-Apple-only'Brad King2023-08-151-6/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
| * | Apple Text Stubs (.tbd): various fixesMarc Chevrier2023-08-111-6/+6
| |/ | | | | | | | | | | | | * ensure tapi lookup is applied only for concerned toolchains * fix typos in tests Fixes: #25182
* | Merge topic 'test-properties-directory'Kyle Edwards2023-08-1419-8/+103
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ccb897d86 get_test_property(): Add DIRECTORY option 84e76fedb0 get_property(TEST): Add DIRECTORY option efc8f19cc5 set_tests_properties(): Add DIRECTORY option 753999d4db set_property(TEST): Add DIRECTORY option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8709
| * | get_test_property(): Add DIRECTORY optionKyle Edwards2023-08-113-8/+25
| | |
| * | set_tests_properties(): Add DIRECTORY optionKyle Edwards2023-08-119-0/+43
| | |
| * | set_property(TEST): Add DIRECTORY optionKyle Edwards2023-08-107-0/+35
| | |
* | | Merge topic 'ctest-generate-resource-spec-file'Kyle Edwards2023-08-1439-4/+237
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c8c1dd0d95 CTest: Add ability to dynamically generate resource spec file 3f5a5a5856 cmCTestRunTest::StartFailure(): Add total argument Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8699
| * | | CTest: Add ability to dynamically generate resource spec fileKyle Edwards2023-08-1039-4/+237
| |/ / | | | | | | | | | Issue: #25106
* | | Merge topic 'test-ifort-windows'Brad King2023-08-111-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 70623f3bbf Tests: Fix RunCMake.BuildDepends Fortran case with Intel compiler on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8702
| * | | Tests: Fix RunCMake.BuildDepends Fortran case with Intel compiler on WindowsBrad King2023-08-101-0/+5
| | | | | | | | | | | | | | | | | | | | The test regularly fails updating the `vc*.pdb` compiler-generated PDB file. Add the `/Z7` flag as the compiler suggests for this.
* | | | Merge topic 'vs-sdk-selection'Brad King2023-08-1010-51/+73
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d5118ed2e5 Merge branch 'backport-vs-sdk-selection' into vs-sdk-selection 89b611ab32 VS: Select latest Windows SDK even when targeting Windows 8.1 and below ae97d82e83 VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selection 15ff89654b VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versions bba1a23da9 VS: Consolidate Windows SDK major version selection dispatch 209973e510 VS: Do not print empty Windows SDK version when none is selected ec6dd77053 Tests: Remove redundant condition in RunCMake.GeneratorPlatform test 4776a584ad Help: Add 3.27 release note on VS default SDK selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8697
| * | | Merge branch 'backport-vs-sdk-selection' into vs-sdk-selectionBrad King2023-08-1010-51/+73
| |\ \ \ | | | |/ | | |/|
| | * | VS: Select latest Windows SDK even when targeting Windows 8.1 and belowBrad King2023-08-102-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The policy added by commit f90c8ab54e (VS: Select latest available Windows SDK version by default, 2023-04-03, v3.27.0-rc1~206^2~1) applied only when targeting Windows 10+. Apply it to older versions too. Fixes: #25170 Issue: #16202
| | * | VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selectionBrad King2023-08-101-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Honor an explicit `version=8.1` field value regardless of the Windows target version. Issue: #25170
| | * | VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versionsBrad King2023-08-109-24/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Honor an explicit `version=` field selecting a Windows 10 SDK regardless of the Windows target version. Issue: #25170
| | * | Tests: Remove redundant condition in RunCMake.GeneratorPlatform testBrad King2023-08-101-23/+21
| | | |
| | * | Merge topic 'file-GENERATE-arg-parsing' into release-3.27Brad King2023-08-084-0/+10
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88f90a72f1 file(GENERATE): Restore INPUT|CONTENT parse checking Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8694
| | * \ \ Merge topic 'cmList-append-regression' into release-3.27Brad King2023-08-081-4/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f9f96151a cmList: Fix performance regression in append/prepend Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8684
| | | * | | cmList: Fix performance regression in append/prependMarc Chevrier2023-08-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25147
* | | | | | Merge topic 'OPTIMIZE_DEPENDENCIES-runtime-targets'Brad King2023-08-106-0/+46
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84eae7aeda OPTIMIZE_DEPENDENCIES: Skip order-only deps for non-linking targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8685
| * | | | | | OPTIMIZE_DEPENDENCIES: Skip order-only deps for non-linking targetsCraig Scott2023-08-096-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21517
* | | | | | | Merge topic 'test-cxxmodules-generated-fix'Brad King2023-08-102-5/+9
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e9ec93f48 Tests/RunCMake/CXXModules: actually generate the source at build time Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8693
| * | | | | | Tests/RunCMake/CXXModules: actually generate the source at build timeBen Boeckel2023-08-072-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tests what is intended to be tested (sources that do not exist until after the configure has run).
* | | | | | | Merge topic 'add-cm-fileno'Brad King2023-08-091-1/+4
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbdb1fd843 Source: Add cm_fileno wrapper Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8686
| * | | | | | Source: Add cm_fileno wrapperKyle Edwards2023-08-071-1/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | And use it where appropriate.
* | | | | | Merge topic 'file-GENERATE-arg-parsing'Brad King2023-08-084-0/+10
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88f90a72f1 file(GENERATE): Restore INPUT|CONTENT parse checking Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8694
| * | | | | file(GENERATE): Restore INPUT|CONTENT parse checkingEvan Wilde2023-08-074-0/+10
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit bff468c988 (cmFileCommand: Use cm::optional for keyword argument presence, 2022-06-30, v3.25.0-rc1~512^2) accidentally broke the check that the input argument is either `INPUT` or `CONTENT`. The check is supposed to fail when arguments are passed in the wrong order. For example: file(GENERATE OUTPUT ... TARGET <target> CONTENT <content>) Prior to this fix, the input method would be CONTENT, but because the first parsed keyword is not `CONTENT`, `inputIsContent` would be false. The first parsed keyword isn't INPUT either, so we would not continue into the error condition. CMake would then try to handle this as an input file, when there isn't one, resulting in uninitialized memory usage and segfaults or corruption later on. Fixes: #25169
* | | | | Merge topic 'cmList-append-regression'Brad King2023-08-081-4/+4
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ee5edf77db Merge branch 'backport-3.27-cmList-append-regression' into cmList-append-regression a9a34edc82 cmList: Fix performance regression in append/prepend 7f9f96151a cmList: Fix performance regression in append/prepend Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8684
| * | | | cmList: Fix performance regression in append/prependMarc Chevrier2023-08-041-4/+4
| | |/ / | |/| | | | | | | | | | Fixes: #25147
* | | | Merge topic 'cxxmodules-try-compile'Brad King2023-08-0719-10/+86
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be53c75852 cmExperimental: recycle the C++ modules API UUID deb1c3cbd5 cmCoreTryCompile: forward module-related binutils variables b768d293c5 cmCoreTryCompile: use the source type context for source files 93993c7ad4 cmArgumentParser: support storing a context value with parsing c9ca5f6326 cmCoreTryCompile: parse `SOURCES_TYPE` argument 07551f35de cmCoreTryCompile: use `target_sources` for `try_compile` targets aad9033b56 cmExperimental: support forwarding associated variables to `try_compile` f6cf433256 cmExperimental: only forward C++ module support to non-ABI checks ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8639
| * | | | cmExperimental: recycle the C++ modules API UUIDBen Boeckel2023-07-3110-10/+10
| | | | | | | | | | | | | | | | | | | | `try_compile` and `try_run` now support C++ modules.
| * | | | cmCoreTryCompile: use the source type context for source filesBen Boeckel2023-07-319-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a test to `RunCMake/CXXModules` to test `try_compile` with C++ modules. Fixes: #25097
* | | | | Merge topic 'set-CACHE-diagnostics'Brad King2023-08-074-0/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20c23518d9 set: Improve diagnostics for CACHE mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8679
| * | | | | set: Improve diagnostics for CACHE modeJeremy2023-08-024-0/+25
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Improve `set()` diagnostics to be more specific than given invalid arguments for CACHE mode
* | | | | Merge branch 'backport-revert-vs-show-cmake-files'Brad King2023-08-027-255/+11
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | VS: Revert "Add CMake input files to ZERO_CHECK"Brad King2023-08-027-255/+11
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit df58dbb0e9 (VS: Add CMake input files to ZERO_CHECK, 2023-03-19, v3.27.0-rc1~157^2), projects that specify the same file both as input to `configure_file` and as the `MAIN_DEPENDENCY` of a custom command fail to configure. Revert the change pending further investigation. Add a test case demonstrating the problem. Issue: #24557 Fixes: #25149
| * | Merge topic 'property-typo-fix' into release-3.27Brad King2023-07-251-1/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c172eecea6 cmTarget: Restore Fortran_PREPROCESS property initialization Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8654
| * \ \ Merge topic 'cdash_checksum_400' into release-3.27Brad King2023-07-251-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7c871f745 ctest: Update ctest_submit for CDash behavior change Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8648
* | \ \ \ Merge topic 'xcode-embed-resources'Brad King2023-08-018-2/+49
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e40d2cb3af Xcode: Add embed resources support Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Deal <halx99@live.com> Merge-request: !8632
| * | | | | Xcode: Add embed resources supporthalx992023-07-318-2/+49
| | | | | |
* | | | | | Merge topic 'test_utf8_improve'Brad King2023-08-011-58/+49
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ce4e9523c testUTF8: Improve using string_view Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8673
| * | | | | testUTF8: Improve using string_viewVitaly Stakhovsky2023-07-301-58/+49
| | | | | |
* | | | | | Merge topic 'test-target-property-init'Brad King2023-07-3120-0/+716
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b66c494ca4 Tests/RunCMake/property_init: test 'with_exports' properties efad4391e5 Tests/RunCMake/property_init: test 'with_commands' properties 5f1bf85f84 Tests/RunCMake/property_init: test 'with_artifact' properties 02972ed9e8 Tests/RunCMake/property_init: test 'shared_library' properties 653a32aa72 Tests/RunCMake/property_init: test 'pic_targets' properties 141049cf16 Tests/RunCMake/property_init: test 'normal' properties bc318ceb7f Tests/RunCMake/property_init: test 'non_imported' properties 0b56e3fedd Tests/RunCMake/property_init: test 'normal_non_imported' properties ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8655