summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Merge topic 'orkun_21677_16_06_2023'Brad King2023-09-1316-52/+123
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09b650d000 Autogen: Move QtAutoMocDeps tests to RunCMake/Autogen ebc9e448b3 Autogen: Add depfile support for Makefiles e5358b9d8d RunCMake: Add RunCMake_TEST_NOT_EXPECT variables Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8570
| * | | | | | | | Autogen: Move QtAutoMocDeps tests to RunCMake/AutogenOrkun Tokdemir2023-09-1115-52/+113
| | | | | | | | |
| * | | | | | | | RunCMake: Add RunCMake_TEST_NOT_EXPECT variablesOrkun Tokdemir2023-09-111-0/+10
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge topic 'presets-schema'Brad King2023-09-126-0/+20
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f1a7179520 presets: Add $schema property to JSON schema f83771dfce presets: Add missing spaces in JSON schema Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8777
| * | | | | | | | presets: Add $schema property to JSON schemaChenMoFeiJin2023-09-126-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many modern code editors have support for JSON Schema. When you specify the `$schema` property in a JSON file, the editor can provide features like auto-completion, error checking, etc., which can improve your efficiency when writing and modifying the `CMakePresets.json` file.
* | | | | | | | | Merge topic 'vs-cuda-object-libs'Brad King2023-09-122-0/+2
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ebff6ebf8 VS: Avoid unnecessary CUDA device linking for OBJECT libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8794
| * | | | | | | | VS: Avoid unnecessary CUDA device linking for OBJECT librariesRobert Maynard2023-09-112-0/+2
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without `CudaLink` fields, MSBuild tries to perform a device link step for object libraries with CUDA_SEPARABLE_COMPILATION on them even when not needed. This commonly was encountered when generating PTX or OPTIX-IR output.
* | | | | | | | Tests/RunCMake: Set $ENV{PWD} before each testKyle Edwards2023-09-112-6/+12
| |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will more accurately emulate how a shell would run CMake. Also, don't set $ENV{PWD} in Tests/RunCMake/SymlinkTrees, since RunCMake is now already doing this.
* | | | | | | cmake_host_system_information: Add MSYSTEM_PREFIX queryBrad King2023-09-109-0/+33
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a query on Windows hosts for the installation prefix of a MSYS or MinGW development environment. Issue: #24216
* | | | | | Tests: Migrate CTestTest{NoBuild,NoExe} to RunCMake.ctest_{build,test}Brad King2023-09-0715-94/+38
| | | | | | | | | | | | | | | | | | | | | | | | Avoid duplicating infrastructure provided by the latter.
* | | | | | Merge topic 'FindPkgConfig-system-cflags'Brad King2023-09-074-4/+13
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 252c66c697 FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_INCLUDE_PATH in environment 4507883135 Tests: Rename RunCMake.FindPkgConfig LIBRARY_PATH case to SYSTEM_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8768
| * | | | | FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_INCLUDE_PATH in environmentCristian Le2023-09-062-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell `pkg-config --cflags` not to filter out `-I` flags for entries of `PKG_CONFIG_SYSTEM_INCLUDE_PATH` (and `CPATH` for `pkgconf`). Fixes: #25228
| * | | | | Tests: Rename RunCMake.FindPkgConfig LIBRARY_PATH case to SYSTEM_PATHCristian Le2023-09-063-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Prepare to cover CFLAGS too.
* | | | | | Merge topic 'replace-cmsysprocess-with-cmuvprocesschain'Brad King2023-09-066-4/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5f98df778 Source: Fix mysterious new IWYU warnings 0712e3cfea cmCTestCoverageHandler: Replace cmsysProcess with cmUVProcessChain 96b3dd329e cmCTestLaunchReporter: Replace cmsysProcess with cmUVProcessChain b15ad7ebb6 cmCTest: Replace cmsysProcess with cmUVProcessChain 50a6e78a82 cmSystemTools::RunSingleCommand(): Replace cmsysProcess with cmUVProcessChain 49a37d5a97 cmCTestScriptHandler: Replace cmsysProcess with cmUVProcessChain bc702aa97e cmcmd: Replace cmsysProcess with cmUVProcessChain ec124582ac cmProcessTools::RunProcess(): Replace cmsysProcess with cmUVProcessChain ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8665
| * | | | | | cmCTestScriptHandler: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-291-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | And update cmSystemTools::WaitForLine() to use cmUVProcessChain.
| * | | | | | cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-295-0/+5
| | | | | | |
* | | | | | | Merge topic 'xcode-no-legacy-buildsystem'Brad King2023-09-065-3/+21
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b78a14e204 Xcode: reject legacy buildsystem for Xcode 14 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8762
| * | | | | | Xcode: reject legacy buildsystem for Xcode 14Gregor Jasny2023-08-315-3/+21
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With Xcode 14 support for the Legacy Build System has been removed and the BuildSystemType in the WorkspaceSettings is ignored. If CMake still generates projects targeted to the Lecacy Build System the build preparation phase will likely fail because Xcode for example misses any declared outputs from script invocations. This is a hard to debug problem and CMake should reject the invalid configuration instead.
* | | | | | 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