summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge topic 'autogen-test-file-generate'Brad King2023-05-223-0/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08d49cfee6 Autogen: Add AUTOMOC test /w file(Generate) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8496
| * | | | Autogen: Add AUTOMOC test /w file(Generate)Orkun Tokdemir2023-05-193-0/+31
| | |/ / | |/| | | | | | | | | | Fixes: #20382
* | | | Merge topic 'FileAPI-framework'Brad King2023-05-2251-24/+803
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | b3a6a11e95 fileapi: Extend codemodel targets/compileGroups with Apple frameworks Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8489
| * | | fileapi: Extend codemodel targets/compileGroups with Apple frameworksMarc Chevrier2023-05-1951-24/+803
| | | | | | | | | | | | | | | | Fixes: #19897
* | | | Merge topic 'test-bootstrap'Brad King2023-05-191-16/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80181da866 Tests: Add option to control timeout of BootstrapTest 21df34b255 Tests: Modernize name of option to control existence of BootstrapTest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8491
| * | | | Tests: Add option to control timeout of BootstrapTestBrad King2023-05-181-6/+5
| | | | |
| * | | | Tests: Modernize name of option to control existence of BootstrapTestBrad King2023-05-181-10/+12
| | | | |
* | | | | Merge topic 'cxxmodules-private-between-targets'Brad King2023-05-199-2/+40
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d38779df2a ci: Enable RunCMake.CXXModules collation cases in clang jobs 69e4525241 Tests/CXXModules: add example for private modules between targets 18f87c87f8 cmCxxModuleMapper: track whether modules are private or not 56f7d6f827 cmCxxModuleMapper: add a structure to represent BMI locations 8207a3a266 cmDyndepCollation: add a query for visibility of an object's modules e8efcbec8c iwyu: ignore `std::remove_reference` requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8476
| * | | | Tests/CXXModules: add example for private modules between targetsBen Boeckel2023-05-188-0/+39
| | | | | | | | | | | | | | | | | | | | Adapted from the example in issue #24652 by Ivan Garramona.
| * | | | iwyu: ignore `std::remove_reference` requirementsBen Boeckel2023-05-161-2/+1
| | | | | | | | | | | | | | | | | | | | This removes some includes from some existing files.
* | | | | Merge topic 'skip-linting'Brad King2023-05-1816-0/+111
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 775c369420 Autogen: set SKIP_LINTING ON for generated files b480315e0c TargetGenerator: Add SKIP_LINTING source property 993dde925f TargetGenerator: Factor out generation of code check rules 023af4ab2f Improve Const Correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8467
| * | | | Autogen: set SKIP_LINTING ON for generated filesOrkun Tokdemir2023-05-166-0/+53
| | | | | | | | | | | | | | | | | | | | Fixes: #19772
| * | | | TargetGenerator: Add SKIP_LINTING source propertyOrkun Tokdemir2023-05-1610-0/+58
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | The `SKIP_LINTING` source property was added to disable code check for desired source files. The `SKIP_LINTING`includes `cpplint`, `clang-tidy`, \ `cppcheck` and `include-what-you-use`. If `SKIP_LINTING` is set on a source file, the tools mentioned above will not be run on that source file.
* | | | Merge topic 'test-xcode'Brad King2023-05-1634-311/+340
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4d114e8cd Tests: Split some RunCMake.XcodeProject cases into a separate test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8478
| * | | | Tests: Split some RunCMake.XcodeProject cases into a separate testBrad King2023-05-1534-311/+340
| | |_|/ | |/| | | | | | | | | | | | | | | | | | The `RunCMake.XcodeProject` has many cases and occasionally fails due to timeout. Move iOS and other device-specific cases to a new `RunCMake.XcodeProject-Device` test.
* | | | Merge topic 'msvc-wine-showIncludes'Brad King2023-05-165-0/+16
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | fb3c4715cd Ninja: Restore detection of msvc-wine showIncludes prefix Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: huangqinjin <huangqinjin@gmail.com> Merge-request: !8479
| * | | Ninja: Restore detection of msvc-wine showIncludes prefixBrad King2023-05-155-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 8f82e755f3 (Ninja: Fix detection of MSVC showIncludes prefix in Italian, 2023-01-26, v3.26.0-rc1~20^2) our regex no longer matches the output from `msvc-wine`, which uses forward slashes: Note: including file: /path/to/foo.h `cl /showIncludes` under Wine prints paths of the form `Z:\path\to\file`, but the `msvc-wine` wrapper converts them to the form `/path/to/file` so that native Ninja can be used. Update our regex to match the prefix followed by a path with a leading forward slash. Fixes: #24908
* | | | Merge topic 'system-framework'Brad King2023-05-121-0/+12
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | ad9020a899 Apple Frameworks: honor SYSTEM target property Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8469
| * | | Apple Frameworks: honor SYSTEM target propertyMarc Chevrier2023-05-111-0/+12
| | | | | | | | | | | | | | | | Fixes: #24109
* | | | Tests: Teach ISPC tests to run on macOS arm64 hostBrad King2023-05-1012-25/+71
| | | |
* | | | Tests: Fix RunCMake.XcodeProject XcodeSchemaGeneration case on arm64Brad King2023-05-102-1/+2
| |_|/ |/| | | | | | | | | | | Explicitly specify the xcodebuild scheme destination architecture to match the host.
* | | Ninja: Fix Fortran INCLUDE directive dependencies when not preprocessingBrad King2023-05-099-0/+40
| | | | | | | | | | | | | | | | | | | | | Since commit b0a6161190 (Fortran: Add Fortran_PREPROCESS property, 2020-04-24, v3.18.0-rc1~116^2~3), if `Fortran_PREPROCESS` is `OFF`, the Ninja generator does not properly detect dependencies on sources loaded via the Fortran INCLUDE directive. Fix this and add a test.
* | | Tests: Teach RunCMake to ignore LLVMFlang -flang-experimental-exec warningBrad King2023-05-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This flag is needed for now to tell `flang-new` to support creating executables. In our CI job we always pass this flag, but it is not always used. The compiler may warn: flang-new: warning: argument unused during compilation: '-flang-experimental-exec' Teach RunCMake to drop such incidental lines before matching against expected output.
* | | Tests: Teach RunCMake to ignore Intel Fortran remark 10440Brad King2023-05-091-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Intel Fortran compiler may remark: ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff most compiler optimizations similar to use of '-O0' Teach RunCMake to drop such incidental lines before matching against expected output. This extends commit b2d030e8fe (Tests: Teach RunCMake to ignore Intel -Rdebug-disables-optimization remarks, 2022-06-14, v3.26.0-rc1~395^2) to cover the `ifx` Fortran compiler too.
* | Merge topic 'ctest-timeout-zero'Brad King2023-05-0510-65/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a5aeaf302 cmCTestRunTest: Consolidate test timeout selection logic 426e38cc10 cmCTestRunTest: Adopt decision for starting cmProcess timer 59336b29bd cmCTestRunTest: Remove unnecessary arguments to ForkProcess 07b5087ba7 Help: Document meaning of TIMEOUT test property with value 0 3edf7fbb41 ctest: Fix TIMEOUT test property with value 0 with --timeout flag 39a20a56dd Tests: Move `CTestTestZeroTimeout` into `RunCMake.CTestTimeout` cd4038fe94 cmCTestTestHandler: Use in-class initialization of properties and results Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8455
| * | ctest: Fix TIMEOUT test property with value 0 with --timeout flagBrad King2023-05-042-1/+8
| | | | | | | | | | | | | | | An explicit zero TIMEOUT test property value should not be overridden by the `--timeout` flag.
| * | Tests: Move `CTestTestZeroTimeout` into `RunCMake.CTestTimeout`Brad King2023-05-049-64/+22
| | |
* | | Merge topic 'compile-only-genex'Brad King2023-05-058-0/+49
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c42630ee62 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex 0fb923c460 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8411
| * | | cmGeneratorExpressionNode: implement `COMPILE_ONLY` genexRobert Maynard2023-05-045-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This generator expression is the inverse of `LINK_ONLY` and only coveys usage requirements for the purposes of compilation. Its intended use is to avoid needing to export targets that do not have link usage requirements (e.g., header-only libraries) when used by another target. See: #15415
| * | | cmGeneratorExpressionNode: implement `COMPILE_ONLY` genexBen Boeckel2023-04-124-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This generator expression is the inverse of `LINK_ONLY` and only coveys usage requirements for the purposes of compilation. Its intended use is to avoid needing to export targets that do not have link usage requirements (e.g., header-only libraries) when used by another target. It will also be used to represent private usage requirements on exported C++ module-containing targets in the future. Eventually there should be logic to collapse nesting of `$<COMPILE_ONLY>` and `$<LINK_ONLY>` when generating instances of either. A TODO is left in the code for this case. See: #15415
* | | | Merge topic 'FindCUDAToolkit_more_library_root_detection'Brad King2023-05-051-0/+14
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | 587c0443cc FindCUDAToolkit: Support CUDA version extraction from version.json Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8451
| * | FindCUDAToolkit: Support CUDA version extraction from version.jsonRobert Maynard2023-05-041-0/+14
| | | | | | | | | | | | Fixes: #24858
| * | Merge topic 'test-xcode-14.3' into release-3.26Brad King2023-04-041-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | 3bb46b29fd Tests: Teach RunCMake to ignore Xcode DVTCoreDeviceEnabledState warnings Merge-request: !8392
* | \ \ Merge topic 'use-linker-depfile'Brad King2023-05-0412-27/+124
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 375e6fdbbe Link step: use linker dependency linker file 24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8443
| * | | | Link step: use linker dependency linker fileMarc Chevrier2023-05-0312-27/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on work done by @ben.boeckel (!8051) Fixes: #22217
* | | | | Merge topic 'autogen-system-include'Brad King2023-05-0412-0/+142
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bf4e30090 Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set 033dc7ee2f Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property 8ba16db163 Tests/RunCMake: Add option for dynamic expected output Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8400
| * | | | Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not setOrkun Tokdemir2023-05-034-2/+32
| | | | | | | | | | | | | | | | | | | | Add policy CMP0151 to preserve the old behavior by default.
| * | | | Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target propertyOrkun Tokdemir2023-05-038-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE` is a boolean property that can be set on a target to indicate that the autogen target include directory should be added as a system include directory or normal include directory to the target.
| * | | | Tests/RunCMake: Add option for dynamic expected outputOrkun Tokdemir2023-04-271-0/+2
| | | | | | | | | | | | | | | | | | | | Add `RunCMake_TEST_EXPECT_*` variables for this.
* | | | | Merge topic 'ci-intel-windows'Brad King2023-05-022-2/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 195339e7ac gitlab-ci: Add job testing Intel 2021.9.0 compilers on Windows 1b44973343 gitlab-ci: Add job testing IntelLLVM 2023.1.0 compilers on Windows a5fd03a53d Tests: Teach CompileFeatures to tolerate __STDC_VERSION__ on Intel Classic 1b7649604e Tests: Teach RunCMake to ignore Intel Classic deprecation on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8447
| * | | | | Tests: Teach CompileFeatures to tolerate __STDC_VERSION__ on Intel ClassicBrad King2023-05-011-1/+2
| | | | | |
| * | | | | Tests: Teach RunCMake to ignore Intel Classic deprecation on WindowsBrad King2023-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend commit 29e45a94b0 (Tests: Teach RunCMake to ignore Intel Classic compiler deprecation warnings, 2022-10-03, v3.25.0-rc1~51^2~1) to cover warnings from `icl` too.
* | | | | | Merge topic 'FindX11-even-more-xcb-components'Brad King2023-05-022-41/+537
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65ade59835 FindX11: Remove HAS_X11_xcb check from xcb tests b1b7298b17 FindX11: Fix typo bug, xvmc -> xv 922a97f38a FindX11: Add tests for newly added xcb libraries 7a2b02e000 FindX11: Fix existing tests 9d21d115c6 FindX11: Add more components to FindX11 tests 858fd8ece8 FindX11: Add many new xcb modules 45c3831369 FindX11: Arrange xcb modules in proper alphabetical order a0d8556bf7 FindX11: Change find_path search string for Xaw Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8366
| * | | | | FindX11: Remove HAS_X11_xcb check from xcb testsMoses Miller2023-04-282-105/+131
| | | | | |
| * | | | | FindX11: Add tests for newly added xcb librariesMoses Miller2023-04-251-8/+421
| | | | | |
| * | | | | FindX11: Fix existing testsMoses Miller2023-04-252-21/+31
| | | | | |
| * | | | | FindX11: Add more components to FindX11 testsMoses Miller2023-04-251-2/+49
| | | | | |
* | | | | | Merge topic 'CMake-uses-cmList-class'Brad King2023-05-011-35/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 241304190f CMake code rely on cmList class for CMake lists management (part. 2) 87fe031a07 cmList class: various enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8441
| * | | | | | CMake code rely on cmList class for CMake lists management (part. 2)Marc Chevrier2023-04-291-1/+0
| | | | | | |
| * | | | | | cmList class: various enhancementsMarc Chevrier2023-04-291-34/+35
| | |/ / / / | |/| | | |