summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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.
| * | | | | | ctest: Add --repeat-until-pass optionBrad King2019-10-2913-4/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to re-run tests if they fail. This will help tolerate sporadic failures. Issue: #17010 Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Co-Author: Chuck Atkins <chuck.atkins@kitware.com>
* | | | | | | Merge topic 'scanbuild-fixes'Brad King2019-10-301-0/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe5ba71bd0 Tests: Suppress clang scan-build warning in UTF8 test 3cf71e8c7d cmLocalGenerator: Drop unused initializer in AddUnityBuild Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3958
| * | | | | | Tests: Suppress clang scan-build warning in UTF8 testBrad King2019-10-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang scan-build 7 reports: ``` Tests/CMakeLib/testUTF8.cxx:12:3: warning: 4th function call argument is an uninitialized value printf("[0x%02X,0x%02X,0x%02X,0x%02X]", static_cast<int>(d[0]), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Manual tracing of all call sites shows that all values are initialized.
* | | | | | | FindPackageModeMakefileTest: macOS needs isysroot flagCraig Scott2019-10-282-1/+10
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS/Xcode no longer populate /usr/include. Building with the compiler directly instead of using /usr/bin/c++ can result in missing headers without the -isysroot flag. Relates: #19885
* | | | | | Merge topic 'framework-tests-multiarch-old-macos'Brad King2019-10-283-5/+3
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e30c4cc1f Tests: Match file command output for older macOS (Framework test) 89ad3b3959 Tests: Prevent CMP0012 policy warnings in Framework test output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3954
| * | | | | Tests: Match file command output for older macOS (Framework test)Craig Scott2019-10-272-4/+2
| | | | | |
| * | | | | Tests: Prevent CMP0012 policy warnings in Framework test outputCraig Scott2019-10-271-1/+1
| |/ / / /
* | | | | Merge topic 'ExternalProject-git-no-recurse'Brad King2019-10-282-0/+60
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5bc6230741 ExternalProject: Option to turn off recursive update of git submodules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3923
| * | | | | ExternalProject: Option to turn off recursive update of git submodulesCharis Marangos2019-10-242-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19832
* | | | | | Merge topic 'project-version-buffer-overflow'Craig Scott2019-10-282-0/+33
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82cdb26c93 project: Fix potential buffer write-past-end for version components 15a0b0d046 Help: math() expressions must be representable as signed 64-bit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3948
| * | | | | project: Fix potential buffer write-past-end for version componentsCraig Scott2019-10-262-0/+33
| | |/ / / | |/| | | | | | | | | | | | | This fixes two errors: not accounting for the trailing null and a misunderstanding of what std::numeric_limits::digits10 means.
| * | | | Merge branch 'pch-makefile-depends' into release-3.16Brad King2019-10-174-4/+29
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3928
| * \ \ \ \ Merge branch 'export-target-lang-name' into release-3.16Brad King2019-10-171-0/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3927
| * \ \ \ \ \ Merge branch 'doc-pch-compile-language' into release-3.16Brad King2019-10-162-1/+18
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3925
| * \ \ \ \ \ \ Merge branch 'cmake-initial-cache-relative' into release-3.16Brad King2019-10-1412-10/+38
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3912
| * \ \ \ \ \ \ \ Merge branch 'objc-c++flags' into release-3.16Brad King2019-10-113-0/+28
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3904
* | \ \ \ \ \ \ \ \ Merge topic 'project-include-before'Brad King2019-10-213-0/+20
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7acc1266c project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3936
| * | | | | | | | | | project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFOREDeniz Bahadir2019-10-183-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit 0761186949 (project: Add variable CMAKE_PROJECT_INCLUDE_BEFORE, 2019-03-28, v3.15.0-rc1~294^2) with a project-specific variant. This variable will be used similar to the already existing `CMAKE_PROJECT_INCLUDE_BEFORE` and `CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` variables. Fixes: #19854
* | | | | | | | | | | Merge topic 'export-compile-commands-environment-variable'Brad King2019-10-216-0/+35
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8065a686dd Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3914
| * | | | | | | | | | | Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same nameDaan De Meyer2019-10-186-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18386
* | | | | | | | | | | | Merge topic 'FindOpenMP-include-dir'Brad King2019-10-211-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 409891baf7 FindOpenMP: Allow try_compile() to find omp.h for AppleClang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3916
| * | | | | | | | | | | FindOpenMP: Allow try_compile() to find omp.h for AppleClangCraig Scott2019-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18098 #18470 #18520
* | | | | | | | | | | | Merge topic 'vs-per-config-sources'Brad King2019-10-212-3/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55a0bebdd3 VS: Add support for per-config sources bcaecf6bcd Teach check for single-language targets to consider all configurations 324988a6b1 cmGeneratorTarget: Add GetAllConfigCompileLanguages method fd2c9fac10 cmGeneratorTarget: Return non-const sources from GetAllConfigSources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3882
| * | | | | | | | | | | VS: Add support for per-config sourcesBrad King2019-10-172-3/+7
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 97cc29c766 (VS: Teach generators how to mark per-config source files, 2017-04-10, v3.9.0-rc1~268^2~2) the VS generators have known how to generate per-config sources. We've now converted most other code paths to support per-config sources, so drop the check that disallows it. This leaves only per-config support for precompiled headers and unity build transformations, but those are optional features that can be addressed later. Fixes: #18233 Issue: #19789
* | | | | | | | | | | Merge topic 'variable_watch-modernize'Brad King2019-10-186-18/+18
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4bedf6c9fa Refactor: Modernize `cmVariableWatchCommand` a little Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3892
| * | | | | | | | | | | Refactor: Modernize `cmVariableWatchCommand` a littleAlex Turbov2019-10-176-18/+18
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'vs-vctargetspath'Brad King2019-10-188-39/+106
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e7d57bc3c3 VS: Propagate CMAKE_VS_GLOBALS into custom targets 45b4b4b930 VS: Propagate CMAKE_VS_GLOBALS into compiler id projects 548e9051a4 VS: Add support to override VCTargetsPath through toolset 99e83d4235 cmake: Teach --build mode to load CMAKE_GENERATOR_TOOLSET Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3817
| * | | | | | | | | | | | VS: Propagate CMAKE_VS_GLOBALS into compiler id projectsAlexander Boczar2019-10-172-39/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #19708
| * | | | | | | | | | | | VS: Add support to override VCTargetsPath through toolsetAlexander Boczar2019-10-156-0/+45
| | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19708
* | | | | | | | | | | | Merge topic 'pch-makefile-depends'Brad King2019-10-184-4/+29
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | / / | | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 797689ab35 PCH: Fix Makefile dependencies to rebuild PCH on header changes 0b10b3ed6b cmMakefileTargetGenerator: Inline WriteObjectBuildFile in only call site Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3928
| * | | | | | | | | | PCH: Fix Makefile dependencies to rebuild PCH on header changesBrad King2019-10-174-4/+29
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the Makefile generator to scan the implicit dependencies of PCH creation. When a header named by `target_precompile_headers` changes the corresponding PCH must be rebuilt and all consumers recompiled. Fixes: #19830
* | | | | | | | | | Merge topic 'graphviz'Brad King2019-10-1742-0/+1004
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 553658393c Graphviz: added test suite, fixes, enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: slodki <slodki_dom@poczta.onet.pl> Merge-request: !3766
| * | | | | | | | | | Graphviz: added test suite, fixes, enhancementsCorentin Plouet2019-10-0842-0/+1004
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a fairly comprehensive test suite * Separated the graph traversal logic from the Graphviz generation code by introducing a new class, cmLinkItemsGraphVisitor{.h,cxx} * Made the graph traversal logic less ad-hoc by using existing methods in the GlobalGenerator; this fixed a few bugs * Added support for new target types: custom targets, object and unknown libraries * Improved support for ALIAS libraries by showing the alias(es) in the graph * Introduced new flags to control those new libraries (consistent with existing flags) * Updated the documentation * Removed useless setting to set graph type in dot file * Improved the node/edge shapes (nicer, more consistent) * Added a legend to the graph * Some refactoring and cleanup of the Graphviz generation code * Added test and fix for issue 19746
* | | | | | | | | | Merge topic 'doc-pch-compile-language'Brad King2019-10-172-1/+18
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac75886525 PCH: Document and test COMPILE_LANGUAGE genex for per-language header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3925