summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | |
| | * | | | | CTest: Rename hardware -> resources for CMake variables, command optionsCraig Scott2019-11-054-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only changes the user-visible effects of renaming hardware allocation to resource allocation. Code changes are the minimum needed to achieve that.
| | * | | | | CTest: Rename PROCESSES test property to RESOURCE_GROUPSBrad King2019-11-057-84/+88
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `PROCESSES` test property name added for CMake 3.16 is too close to the existing `PROCESSORS` test property. Furthermore, the property in principle specifies groups of resources organized in a way that is meaningful to a particular test. The groups may often correspond to processes but they could have other meanings. Since the property name `PROCESSES` has not been in a final 3.16 release yet, simply rename it to `RESOURCE_GROUPS`. Fixes: #19914
* | | | | | Merge topic 'refactor-foreach'Brad King2019-11-073-0/+112
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53227a4ff2 Refactor: Modernize `foreach` code and fix some bugs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3986
| * | | | | | Refactor: Modernize `foreach` code and fix some bugsAlex Turbov2019-11-063-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix the typo in `foreach` documentation - fix broken `foreach(... IN ITEMS ... LISTS ...)` - add tests of `foreach` for existed functionality and fixes
* | | | | | | Merge topic 'unity-include-generated'Brad 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
| * | | | | | Unity build: Include GENERATED files into unity buildCristian Adam2019-11-062-7/+4
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no reason to skip the generated files, in case of problems one can use the SKIP_UNITY_BUILD_INCLUSION property. Fixes: #19925
| * | | | | Merge branch 'findpostgres-10-and-older' into release-3.16Brad King2019-11-051-3/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3993
| * \ \ \ \ \ Merge branch 'source_group-tree' into release-3.16Brad King2019-11-052-2/+32
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3979
* | \ \ \ \ \ \ Merge topic 'install-name-dir-genex'Brad King2019-11-0617-0/+123
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a0e2e0ca97 Help: Add documentation and release notes for INSTALL_NAME_DIR genex deeab72aae Tests: Add tests for INSTALL_NAME_DIR 3c85f11fed INSTALL_NAME_DIR: Add support for generator expressions 2ec1156b80 Refactor: Generalize cmExportInstallFileGenerator::ReplaceInstallPrefix() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3989
| * | | | | | | | Tests: Add tests for INSTALL_NAME_DIRKyle Edwards2019-11-0517-0/+123
| | |_|_|/ / / / | |/| | | | | |
* | | | | | | | Merge topic 'xcode-restore-CMakeLists'Brad 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
| * | | | | | Xcode: Fix generated references to CMakeLists.txt filesBrad King2019-11-053-0/+21
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 2d888e3390 (cmSourceFile: Rename mutating GetFullPath() overload, 2019-08-29, v3.16.0-rc1~160^2) accidentally left the paths to `CMakeLists.txt` files empty in generated Xcode project files. Fixes: #19927
* | | | | | Merge topic 'source_group-tree'Brad King2019-11-052-2/+32
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c0ca5a9d9 source_group: ensure that passed file is not a directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3979
| * | | | | source_group: ensure that passed file is not a directoryMateusz Janek2019-11-042-2/+32
| |/ / / / | | | | | | | | | | | | | | | Fixes: #19769
* | | | | Merge topic 'findpostgres-10-and-older'Brad King2019-11-051-3/+12
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | e992d62b7e FindPostgreSQL: support version encoding used in pre-10 releases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3993
| * | | | FindPostgreSQL: support version encoding used in pre-10 releasesBen Boeckel2019-11-041-3/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the 10.x release, PostgreSQL upstream started encoding the version as `MMmmmm` where `M` is major and `m` is minor. Prior to that, `MMmmPP` was used where `P` was the patch number. Detect this difference and decode it based on the used encoding. Fixes: #19912
* | | | Merge topic 'ctest-repeat-until-pass'Brad King2019-11-051-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30e79bb4a3 Tests: Extend RunCMake.CTestCommandLine internal timeout for valgrind Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3987
| * | | | Tests: Extend RunCMake.CTestCommandLine internal timeout for valgrindBrad King2019-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A case added by commit 39ac8b4eb5 (ctest: Add --repeat-after-timeout option, 2019-10-29) includes a success-case timeout of 2 seconds. That is too short when running under valgrind, so extend it to 5 seconds.
* | | | | Merge topic 'message-check-types'Craig Scott2019-11-044-0/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b2dd9dedc Refactor: Use added message types in various modules 949a1e120a message: New message types to mark checks performed by CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3689
| * | | | | message: New message types to mark checks performed by CMakeAlex Turbov2019-11-024-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #19638. Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | | | | | Merge topic 'FindPython-customize-failure-message'Brad King2019-11-043-0/+98
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 687a354518 FindPython: customize failure message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3970
| * | | | | | FindPython: customize failure messageMarc Chevrier2019-11-013-0/+98
| | | | | | |
* | | | | | | Merge topic 'root-dir-assertion-fix'Brad King2019-11-043-0/+15
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0692eaf0fe ForceToRelativePath: Fix spurious assertion when local path is root dir Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3976
| * | | | | | ForceToRelativePath: Fix spurious assertion when local path is root dirCraig Scott2019-11-023-0/+15
| | |_|_|/ / | |/| | | | | | | | | | Fixes: #19909
| * | | | | Merge branch 'framework-tests-multiarch-old-macos' into release-3.16Brad King2019-10-283-5/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3954
| * \ \ \ \ \ Merge branch 'project-version-buffer-overflow' into release-3.16Craig Scott2019-10-282-0/+33
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Merge-request: !3948
| * \ \ \ \ \ \ Merge branch 'FindOpenMP-include-dir' into release-3.16Brad King2019-10-211-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3916
* | \ \ \ \ \ \ \ Merge topic 'pgi-license-warnings'Brad King2019-11-041-0/+6
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59673bb2dc Tests: Teach RunCMake to ignore PGI license expiry warnings 210d04bb79 CTestCustom: Suppress PGI Community Edition compiler license warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3975
| * | | | | | | | Tests: Teach RunCMake to ignore PGI license expiry warningsBrad King2019-11-011-0/+6
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | These are not useful in nightly testing.
* | | | | | | | Merge topic 'ctest-repeat-until-pass'Brad King2019-11-0123-4/+156
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | / | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39ac8b4eb5 ctest: Add --repeat-after-timeout option 80c2c9d14c ctest: Add --repeat-until-pass option 0187e52244 cmCTestRunTest: Use inline member initializers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3960
| * | | | | | ctest: Add --repeat-after-timeout optionBrad King2019-10-2911-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to re-run tests if they timeout. This will help tolerate sporadic timeouts on busy machines.