summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ctest-spec-file-version-test'Kyle Edwards2019-11-282-0/+5
|\ | | | | | | | | | | | | 59df85194e CTest Resource Allocation: Add test for spec file with no version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4092
| * CTest Resource Allocation: Add test for spec file with no versionKyle Edwards2019-11-262-0/+5
| |
* | Merge topic 'ctest-resource-fixes'Brad King2019-11-2644-2/+214
|\ \ | |/ | | | | | | | | | | | | | | a033bafbe0 Help: Clarify how tests are run if no resource spec file is specified a64ba0235f CTest: Clarify that resource requirements can be split f9f294f5fa CTest: Add version field to resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4080
| * CTest: Clarify that resource requirements can be splitKyle Edwards2019-11-259-2/+25
| | | | | | | | | | | | | | Add a note to the documentation to clarify this, and add test cases to ensure it. Fixes: #19987
| * CTest: Add version field to resource spec fileKyle Edwards2019-11-2535-0/+189
| | | | | | | | Fixes: #20007
| * Merge topic 'pch-reuse-no-prop' into release-3.16Brad King2019-11-182-2/+15
| |\ | | | | | | | | | | | | | | | | | | bb4c2781ce PCH: Do not issue an error on duplicate target_precompile_headers call Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4046
| * \ Merge topic 'objc-tests' into release-3.16Brad King2019-11-1523-87/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | d2e5e6ff1a Tests: Organize Objective C/C++ test directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4051
* | \ \ Merge topic 'load_cache_in_script'Brad King2019-11-218-0/+65
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e9ecaae0e load_cache: Allow READ_WITH_PREFIX mode in cmake scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4042
| * | | | load_cache: Allow READ_WITH_PREFIX mode in cmake scriptsCharles Barto2019-11-198-0/+65
| | | | |
* | | | | FileAPI: Add "multiConfig" parameter to index fileKyle Edwards2019-11-201-2/+3
| | | | |
* | | | | Merge topic 'ctest-repeat'Craig Scott2019-11-1922-40/+28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32c165d263 CTest: Consolidate '--repeat-* n' options as `--repeat *:n` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4053
| * | | | | CTest: Consolidate '--repeat-* n' options as `--repeat *:n`Brad King2019-11-1522-40/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combine `--repeat-until-fail`, `--repeat-until-pass`, and `--repeat-after-timeout` to create a single `--repeat <mode>:<n>` option. Retain `--repeat-until-fail` too because that has been available in previous releases.
* | | | | | Xcode: Add custom working directory propertyGregor Jasny2019-11-182-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Closes: #19967
* | | | | | Merge topic 'pch-reuse-no-prop'Brad King2019-11-182-2/+15
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | bb4c2781ce PCH: Do not issue an error on duplicate target_precompile_headers call Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4046
| * | | | | PCH: Do not issue an error on duplicate target_precompile_headers callCristian Adam2019-11-152-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19970
* | | | | | Merge topic 'cmake-e-rm'Kyle Edwards2019-11-1556-25/+158
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d0100fac7 replace remove and remove_directory with rm in tests 5239fc5c75 cmake -E: Add rm with improved semantics over remove and remove_directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3949
| * | | | | replace remove and remove_directory with rm in testsJohnny Jazeix2019-11-1319-24/+24
| | | | | |
| * | | | | cmake -E: Add rm with improved semantics over remove and remove_directoryJohnny Jazeix2019-11-1337-1/+134
| | | | | |
* | | | | | Merge topic 'ctest_test-repeat'Brad King2019-11-1511-1/+86
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28994115e8 ctest_test: Add option to REPEAT tests 42d5d8f425 cmCTestMultiProcessHandler: Hold repeat mode as a member ed65b3e984 CTest: Rename internal APIs for --repeat options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4011
| * | | | | | ctest_test: Add option to REPEAT testsBrad King2019-11-0711-1/+86
| |/ / / / /
* | | | | | Merge topic 'objc-tests'Brad King2019-11-1523-87/+10
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | d2e5e6ff1a Tests: Organize Objective C/C++ test directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4051
| * | | | | Tests: Organize Objective C/C++ test directoriesBrad King2019-11-1423-87/+10
| | |/ / / | |/| | | | | | | | | | | | | Move them all under `Tests/ObjC` and `Tests/ObjCXX`.
* | | | | Merge topic 'fix-optional-test'Brad King2019-11-151-36/+48
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | e8bd920df1 Tests: Fix reliance on undefined behavior of cm::optional Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4049
| * | | Tests: Fix reliance on undefined behavior of cm::optionalKyle Edwards2019-11-131-36/+48
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test for cm::optional assumed that *opt would return a reference to a non-constructed object if opt.has_value() is false. However, on certain systems that build CMake with flags to harden the build, this condition aborts rather than returning the invalid reference. Fix this by getting the reference only when the cm::optional is known to actually have a value. Fixes: #19964
| * | Merge topic 'unity-HEADER_FILE_ONLY' into release-3.16Brad King2019-11-123-4/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4023
| * \ \ Merge topic 'objc-xcode-flags' into release-3.16Brad King2019-11-125-0/+44
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb42e1ed43 ObjC: Add OBJC/OBJCXX flags to Xcode projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4020
| * \ \ \ Merge topic 'pch-cray-classic' into release-3.16Brad King2019-11-121-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77a8f9ecbc Tests: Fix ExportImport PCH expectation on Cray Classic compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4033
| * \ \ \ \ Merge topic 'pch-no-duplicates' into release-3.16Craig Scott2019-11-124-26/+7
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e01935ac9d PCH: No repeated path for internal generated PCH files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4030
| * \ \ \ \ \ Merge topic 'remove-CPACK_INSTALL_CMAKE_CONFIGURATIONS' into release-3.16Craig Scott2019-11-1210-18/+51
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d1fa5d3e4 Tests: Add RunCMake.CPackCommandLine case for multi-config package 108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4025
* | \ \ \ \ \ \ Merge topic 'unity-HEADER_FILE_ONLY'Brad King2019-11-123-4/+8
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4023
| * | | | | | | Unity: Don't include sources with HEADER_FILE_ONLY property setCristian Adam2019-11-113-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19946 Fixes: #19947 Co-authored-by: Craig Scott <craig.scott@crascit.com>
* | | | | | | | Merge topic 'objc-xcode-flags'Brad King2019-11-125-0/+44
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb42e1ed43 ObjC: Add OBJC/OBJCXX flags to Xcode projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4020
| * | | | | | | ObjC: Add OBJC/OBJCXX flags to Xcode projectsCristian Adam2019-11-115-0/+44
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #19936
| * | | | | | Merge topic 'objc-trycompile' into release-3.16Brad King2019-11-1113-0/+70
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7447aa4b34 ObjC: Add try_compile support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4006
* | | | | | | Merge topic 'pch-cray-classic'Brad King2019-11-121-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77a8f9ecbc Tests: Fix ExportImport PCH expectation on Cray Classic compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4033
| * | | | | | Tests: Fix ExportImport PCH expectation on Cray Classic compilerBrad King2019-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not expect PCH-included definitions for this compiler.
* | | | | | | Merge topic 'pch-no-duplicates'Craig Scott2019-11-124-26/+7
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e01935ac9d PCH: No repeated path for internal generated PCH files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4030
| * | | | | | PCH: No repeated path for internal generated PCH filesCristian Adam2019-11-114-26/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fixes: #19952
| * | | | | Merge topic 'ctest-resource-groups' into release-3.16Kyle Edwards2019-11-07109-398/+402
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1435d9812 Help: Fix error in resource allocation example eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests c544cb6698 CTest: Rename hardware -> resources for source code 6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options 73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups" af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3994
| * \ \ \ \ \ Merge topic 'unity-include-generated' into release-3.16Brad King2019-11-072-7/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7ddf462304 Unity build: Include GENERATED files into unity build Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Julien Schueller <schueller@phimeca.com> Merge-request: !4001
* | \ \ \ \ \ \ Merge topic 'remove-CPACK_INSTALL_CMAKE_CONFIGURATIONS'Craig Scott2019-11-1210-18/+51
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d1fa5d3e4 Tests: Add RunCMake.CPackCommandLine case for multi-config package 108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4025
| * | | | | | | Tests: Add RunCMake.CPackCommandLine case for multi-config packageBrad King2019-11-116-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit da5ac4bb60 (cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable, 2019-07-10, v3.16.0-rc1~165^2) we added support for running the `cpack -C ...` command-line with multiple configurations. Add an explicit test for this. Fixes: #19918
| * | | | | | | CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONSAlex Turbov2019-11-114-18/+0
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit da5ac4bb60 (cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable, 2019-07-10, v3.16.0-rc1~165^2) we added both the variable and support for `cpack -C` with multiple configurations. Drop the variable because the `package` target cannot ensure that all of the configurations are built. Keep the command-line interface so that it can be used manually in scripts. Fixes: #19918
* | | | | | | Merge topic 'objc-trycompile'Brad King2019-11-1113-0/+70
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | / | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | 7447aa4b34 ObjC: Add try_compile support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4006
| * | | | | ObjC: Add try_compile supportCristian Adam2019-11-0913-0/+70
| | |/ / / | |/| | | | | | | | | | | | | Fixes: #19920
| * | | | Merge topic 'xcode-restore-CMakeLists' into release-3.16Brad King2019-11-063-0/+21
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ce8a5c08d Xcode: Fix generated references to CMakeLists.txt files 9457c95aa0 cmGlobalXCodeGenerator: Mark known source locations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3999
* | \ \ \ \ Merge topic 'ctest-resource-groups'Kyle Edwards2019-11-07109-398/+402
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 016601e5e6 Merge branch 'backport-ctest-resource-groups' c1435d9812 Help: Fix error in resource allocation example eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests c544cb6698 CTest: Rename hardware -> resources for source code 6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options 73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups" af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3994
| * \ \ \ \ \ Merge branch 'backport-ctest-resource-groups'Brad King2019-11-05109-398/+402
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| | * | | | | CTest: Rename hardware -> resources for RunCMake testsCraig Scott2019-11-0584-287/+287
| | | | | | | | | | | | | | | | | | | | | Also includes variants like hw -> res
| | * | | | | CTest: Rename hardware -> resources for source codeCraig Scott2019-11-0523-70/+70
| | | | | | |