summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Bump CMake minimum required in tests to 2.8.12Chuck Atkins2020-12-2376-76/+79
| | | | | | | Since 3.19, CMake generates a deprecation warning when using a minimum version less than 2.8.12. This eliminates those warnings generated during tests, which are typically hidden from the user and developer but are being generated nonetheless.
* Merge topic 'issue-20134'Brad King2020-12-224-0/+57
|\ | | | | | | | | | | | | b68699b717 target_include_directories: Support AFTER option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5633
| * target_include_directories: Support AFTER optionAsit Dhal2020-12-194-0/+57
| | | | | | | | Fixes: #20134
* | Merge topic 'issue-15653'Brad King2020-12-2222-0/+231
|\ \ | | | | | | | | | | | | | | | | | | c3385dd8bd file(GENERATE): Support options to manipulate file permissions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5437
| * | file(GENERATE): Support options to manipulate file permissionsAsit Dhal2020-12-2122-0/+231
| |/ | | | | | | Fixes: #15653
* | Apple: Fix linking to frameworks that do not exist until build timeBrad King2020-12-214-0/+31
| | | | | | | | Fixes: #21621
* | Merge topic 'ctest-test-dir'Brad King2020-12-216-0/+22
|\ \ | |/ |/| | | | | | | | | dbcf86d24d Ctest: Support build tree on command line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5623
| * Ctest: Support build tree on command lineAsit Dhal2020-12-176-0/+22
| | | | | | | | Fixes: #21268
* | Merge topic 'qt-autogen-per-config'Brad King2020-12-1710-8/+86
|\ \ | |/ |/| | | | | | | | | | | | | 20e4db4a66 cmGeneratorTarget: Make GetConfigCommonSourceFiles Xcode-specific 92d7b456e5 Autogen: Add support for per-config sources 3ffebbaefb Tests/QtAutogen: Forward build configuration in multi-config generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5624
| * Autogen: Add support for per-config sourcesBrad King2020-12-1610-7/+82
| | | | | | | | Fixes: #20682
| * Tests/QtAutogen: Forward build configuration in multi-config generatorsBrad King2020-12-161-1/+4
| |
* | Merge topic 'unity-anon-ns'Craig Scott2020-12-165-0/+84
|\ \ | |/ |/| | | | | | | | | 0fe9c40494 Unity Build: Add option for generating per-file unique id Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4784
| * Unity Build: Add option for generating per-file unique idStephen Kelly2020-12-155-0/+84
| | | | | | | | Fixes: #21477
* | Merge topic 'custom-command-output-genex-nmc'Brad King2020-12-1664-4/+568
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1526ae3aba Tests: Add cases for Ninja Multi-Config cross-config custom commands dcf9f4d2f7 Ninja Multi-Config: Add support for cross-config custom commands 15467f12f7 cmLocalGenerator: Adopt custom target 'force' output name generation 7b64b0cd5a cmLocalGenerator: Refactor custom command generator construction d29da8ed3e cmMakefile: Simplify custom target 'force' output name generation 2b1cc175ee Help: Clarify version adding add_custom_{command,target} OUTPUT genex support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5612
| * | Tests: Add cases for Ninja Multi-Config cross-config custom commandsBrad King2020-12-1563-0/+564
| | |
| * | Ninja Multi-Config: Add support for cross-config custom commandsKyle Edwards2020-12-151-4/+4
| |/ | | | | | | Co-Author: Brad King <brad.king@kitware.com>
* | Merge topic 'issue-20915'Brad King2020-12-1513-5/+44
|\ \ | | | | | | | | | | | | | | | | | | 6d0712c225 file(configure): Order of named options should be specified in any order Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5608
| * | file(configure): Order of named options should be specified in any orderAsit Dhal2020-12-1313-5/+44
| | | | | | | | | | | | Fixes: #20915
* | | Merge topic 'issue-21557-test-cases'Brad King2020-12-1530-0/+92
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8851637e9f cmake_policy: Implement test cases for cmake_policy VERSION Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5610
| * | | cmake_policy: Implement test cases for cmake_policy VERSIONAsit Dhal2020-12-1430-0/+92
| |/ /
* | | Merge topic 'ispc_control_header_suffixes'Brad King2020-12-1516-9/+91
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c9a50f3556 ISPC: Generated Headers suffix configurable with a better default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5597
| * | | ISPC: Generated Headers suffix configurable with a better defaultRobert Maynard2020-12-1416-9/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The target property `ISPC_HEADER_SUFFIX` and associated global variable now can control the suffix used when generating the C/C++ interoperability ISPC headers. In addition the default suffix is now "_ispc.h" which matches the common convention that the ISPC compiler team uses and recommends.
| * | | Merge topic 'execute_process-command-error' into release-3.19Brad King2020-12-1421-11/+130
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5a4ffaad1 execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5588
* | | | | CMakePackageConfigHelpers: Relax restrictions on version rangeMarc Chevrier2020-12-141-18/+107
| |_|_|/ |/| | |
* | | | Merge topic 'custom-command-output-genex'Brad King2020-12-1417-37/+278
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c257c25419 add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTS f36af9228b cmLocalGenerator: Evaluate generator expressions in custom command outputs c887cefd9a cmLocalGenerator: Simplify custom command output cmSourceFile creation 947ba01bf9 cmLocalGenerator: Factor out helper to expand custom command output paths 1902d28ebc cmLocalGenerator: Refactor UpdateOutputToSourceMap to avoid boolean trap e4034eabe9 cmLocalGenerator: Re-order logic in CreateGeneratedSource 706c48301d cmCustomCommandGenerator: Treat relative outputs w.r.t. build dir 5d23c5446e cmCustomCommandGenerator: Refactor OUTPUT and DEPENDS path evaluation ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5402
| * | | | add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTSBrad King2020-12-1117-37/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move rejection of `#`, `<`, and `>` characters in outputs and byproducts to a generate-time check. This removes the front-end check that disallowed generator expressions. The generators have already been updated to handle them. Fixes: #12877
* | | | | Merge topic 'execute_process-command-error'Brad King2020-12-1421-11/+130
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | | | | | | | | | | e5a4ffaad1 execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5588
| * | | execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenariosAsit Dhal2020-12-1021-11/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. COMMAND_ERROR_IS_FATAL ANY will capture errors if the exit code is non zero, there is a timeout or an abnormal exit. 2. COMMAND_ERROR_IS_FATAL LAST will capture if only the last process has an exit code non zero, there is a timeout or an abnormal exit. Fixes: #21562
* | | | Merge topic 'apple-silicon-host-arch'Brad King2020-12-1114-0/+120
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589
| * | Tests: Cover macOS host architecture selection on Apple Silicon hostsBrad King2020-12-1014-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test cases verifying that `CMAKE_APPLE_SILICON_PROCESSOR` set as either a cache or environment variable causes that to be selected as the host architecture. Also verify that sources compile using whatever is selected as the host architecture, even when the explicit setting is not used. Issue: #21554
| * | Merge topic 'test-macos-version' into release-3.19Brad King2020-12-101-17/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55193c8013 ci: Hard-code XCTest deployment target to 10.15 40877903ac Tests: Remove outdated exclusion of tests on OS X 10.3 c404d7f221 Tests: Add cache entry to control XCTest deployment target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5593
| * \ \ Merge topic 'ispc-system-includes' into release-3.19Brad King2020-12-104-0/+37
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 8da25e4a3c ISPC: Treat system includes as '-I' includes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5591
* | | | Merge topic 'cpp23'Brad King2020-12-103-1/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9f3c70a333 CUDA, CXX, OBJCXX: C++23 support with Clang 12 af7e1545c8 CUDA, CXX: Remove HAS_FULL_SUPPORT for C++17 and 20 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5576
| * | | | CUDA, CXX, OBJCXX: C++23 support with Clang 12Raul Tambre2020-12-083-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
* | | | | Merge topic 'test-macos-version'Brad King2020-12-101-17/+17
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55193c8013 ci: Hard-code XCTest deployment target to 10.15 40877903ac Tests: Remove outdated exclusion of tests on OS X 10.3 c404d7f221 Tests: Add cache entry to control XCTest deployment target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5593
| * | | | Tests: Remove outdated exclusion of tests on OS X 10.3Brad King2020-12-091-12/+1
| | | | |
| * | | | Tests: Add cache entry to control XCTest deployment targetBrad King2020-12-091-5/+16
| | |/ / | |/| |
| * | | Merge topic 'correct_ispc_path_computation' into release-3.19Brad King2020-12-082-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9af93fef11 ISPC: Handle OBJECT sources in different directories 72ae15ebcb ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5581
* | \ \ \ Merge topic 'ispc-system-includes'Brad King2020-12-104-0/+37
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 8da25e4a3c ISPC: Treat system includes as '-I' includes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5591
| * | | | ISPC: Treat system includes as '-I' includesRobert Maynard2020-12-094-0/+37
| | | | | | | | | | | | | | | | | | | | ISPC doesn't have specific syntax for system includes.
* | | | | Merge topic 'cmp0116-automoc'Brad King2020-12-094-2/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1080935732 AutoGen: Account for CMP0116 in the depfile 287c591079 cmake -E: Fix cmake_transform_depfile escaping of transformed paths Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5584
| * | | | | AutoGen: Account for CMP0116 in the depfileKyle Edwards2020-12-084-2/+22
| | |_|_|/ | |/| | | | | | | | | | | | | Fixes: #21467
* | | | | Merge topic 'correct_ispc_path_computation'Brad King2020-12-082-1/+1
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | 9af93fef11 ISPC: Handle OBJECT sources in different directories 72ae15ebcb ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5581
| * | | ISPC: Handle OBJECT sources in different directoriesRobert Maynard2020-12-072-1/+1
| |/ /
* | | get_directory_property: Check for empty or missing property nameCraig Scott2020-12-0510-0/+21
| | | | | | | | | Fixes: #21555
* | | WriteCompilerDetectionHeader: Add policy to remove moduleBrad King2020-12-0513-0/+60
| | | | | | | | | | | | | | | | | | See justification in the policy documentation. Closes: #17842
* | | Merge topic 'test-CMP0118'Brad King2020-12-0476-3259/+3007
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 43506037d2 Tests: Avoid unnecessary use of toolchain in RunCMake.CMP0118 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5571
| * | | Tests: Avoid unnecessary use of toolchain in RunCMake.CMP0118Brad King2020-12-0376-3259/+3007
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The semantics of the `GENERATED` property do not depend on the kind of target to which the sources are attached. Convert the tests to use custom targets instead of executables so that we do not have to enable the CXX language and initialize support of its toolchain for every case. This significantly reduces the time the test takes to run.
* | | | Merge topic 'GoogleTest-disabled-underscore'Brad King2020-12-043-46/+57
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dff56b0b97 GoogleTest: Match the full 'DISABLED_' prefix to disable tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Matthew Woehlke <matthew.woehlke@kitware.com> Merge-request: !5567
| * | | | GoogleTest: Match the full 'DISABLED_' prefix to disable testsBrad King2020-12-033-46/+57
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Test names that start in `DISABLED` not followed by an underscore are not disabled. Fixes: #21543