summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix FileAPI interface_exe testKyle Edwards2023-09-012-1/+42
|
* Merge topic 'cmuvstreamread-raii'Kyle Edwards2023-08-291-2/+56
|\ | | | | | | | | | | | | | | 27be5ccd45 cmUVStreamRead: Return RAII handle to avoid memory leak Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8749
| * cmUVStreamRead: Return RAII handle to avoid memory leakKyle Edwards2023-08-251-2/+56
| |
* | macOS: IMPORTED framework: Honor SYSTEM target property in all casesMarc Chevrier2023-08-271-0/+12
| | | | | | | | When IMPORTED_LOCATION holds a framework folder, SYSTEM property must be respected.
* | Merge topic 'modules-better-messages'Brad King2023-08-254-22/+24
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 571b5e1f2c cxxmodules: improve error messages for C++ module setup 8b4d32c18b cmStandardLevelResolver: add query for the effective standard level 17ddc4ac76 cmStandardLevelResolver: compare with static string literals 6f1dae2b01 cmStandardLevelResolver: use `cmStrCat` where possible 0d45d40e13 cmStandardLevelResolver: use character literals where possible Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8755
| * cxxmodules: improve error messages for C++ module setupBen Boeckel2023-08-234-22/+24
| | | | | | | | | | | | | | Make it clear that: - the quoted string is a target name; and - C++ sources that export modules is the important detail.
* | Tests: Run CTestTest2 in explicit configurationBrad King2023-08-221-1/+1
| | | | | | | | This is needed to support `add_test(NAME)` tests in KWSys.
* | CMakeLibTests: Compile with WIN32_LEAN_AND_MEANKyle Edwards2023-08-211-0/+6
| |
* | Merge topic 'imported-cxxmodules'Brad King2023-08-2131-10/+524
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48ee946fdc cmExperimental: recycle the C++ modules API UUID 1a1806a71b gitlab-ci: declare `bmionly` support for modules where possible 457a12f3f9 Tests/RunCMake/CXXModules: add tests which use modules from imported targets 9b9ec70b54 Ninja: generate scanning and build rules for C++20 module synthetic targets 80ef50a191 CXXModules: add a variable for BMI-only compilation 80d6544398 cxxmodules: generate synthetic targets as an initial pass 3dc6676ecc cmSyntheticTargetCache: add a struct for synthetic target caching cb356b540c cmCxxModuleUsageEffects: add a class to capture module usage effects ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8535
| * | cmExperimental: recycle the C++ modules API UUIDBen Boeckel2023-08-1712-12/+12
| | | | | | | | | | | | Supporting modules on IMPORTED targets is worth an update.
| * | Tests/RunCMake/CXXModules: add tests which use modules from imported targetsBen Boeckel2023-08-1711-0/+102
| | |
| * | cmExportFileGenerator: export private compile info for C++ modulesBen Boeckel2023-08-1713-0/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | When consuming exported targets which contain C++ modules, the consuming project must be able to recompile BMI files using the original target's flags. This is because a module source may use some private target usage requirement but not want to propagate it to consumers. To facilitate this, export the private information as necessary for consumers to be able to perform the BMI compilations.
* | | Merge topic 'debugger-pipe-connections'Brad King2023-08-192-4/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b1257e7bf Debugger: Replace libuv with platform-specific connection code Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8711
| * | | Debugger: Replace libuv with platform-specific connection codePaul Maybee2023-08-172-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove libuv usage from CMake debugger. Libuv has an async io model and cppdap uses a sync model, so an extra thread and a buffer copy were necessary to match semantics. In order to eliminate those costs this commit implements the IO using platform specific APIs.
* | | | Merge topic 'cmList-INSERT-regression'Brad King2023-08-192-0/+68
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 45ed175f08 list(INSERT): restore old behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8732
| * | | list(INSERT): restore old behaviorMarc Chevrier2023-08-172-0/+68
| | | | | | | | | | | | | | | | Fixes: #25191
| * | | Merge topic 'test-debugger-named-pipe-fix' into release-3.27Brad 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
* | \ \ \ 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