summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cxx11-nullptr'Brad King2017-08-252-3/+2
|\ | | | | | | | | | | | | 5962db43 Use C++11 nullptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1175
| * Use C++11 nullptrDaniel Pfeifer2017-08-242-3/+2
| |
* | Merge topic 'modernize-git-whitespace-attributes'Brad King2017-08-2512-17/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ed03baa gitattributes: prefer `eol=crlf` to `-crlf` 40470031 MumpsCoverage: remove unnecessary attribute d20485d8 gitattributes: prefer `eol=lf` to `crlf=input` b85c2589 gitattributes: prefer `-text` for binary files 377f3685 gitattributes: remove unused attributes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1173
| * | gitattributes: prefer `eol=crlf` to `-crlf`Ben Boeckel2017-08-235-10/+4
| | | | | | | | | | | | | | | | | | The `crlf` attribute is deprecated in Git. This also changes the given files to be in the index using LF newlines, but they will be checked out with CRLF newlines due to the attribute.
| * | MumpsCoverage: remove unnecessary attributeBen Boeckel2017-08-231-1/+0
| | | | | | | | | | | | The file has Unix newline endings.
| * | gitattributes: prefer `eol=lf` to `crlf=input`Ben Boeckel2017-08-231-1/+1
| | | | | | | | | | | | The `crlf` attribute is deprecated in Git.
| * | gitattributes: prefer `-text` for binary filesBen Boeckel2017-08-236-5/+5
| | |
* | | Merge topic 'ipo-test-output'Brad King2017-08-243-6/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 6756b552 Tests: Print more info on CheckIPOSupported test failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1177
| * | Tests: Print more info on CheckIPOSupported test failureBrad King2017-08-233-6/+9
| |/
* | Autogen: Fix and extend SKIP_AUTOMOC testSebastian Holtermann2017-08-225-4/+59
|/
* Merge topic 'cpack-extend-test-capabilities'Brad King2017-08-212-0/+9
|\ | | | | | | | | | | | | 80047bd6 CPack: extend testing framework Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1162
| * CPack: extend testing frameworkDomen Vrankar2017-08-192-0/+9
| | | | | | | | | | | | | | | | | | Some CPack tests require running commands after the inclusion of CPack.cmake and this patch enables such tests to declare run_after_include_cpack function which is run after the inclusion.
* | Autogen: Add test for AUTOMOC_MACRO_NAMESSebastian Holtermann2017-08-185-0/+52
|/
* Merge topic 'string_prepend'Brad King2017-08-165-0/+67
|\ | | | | | | | | | | | | d8ecc254 Add PREPEND sub-command to string command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1129
| * Add PREPEND sub-command to string commandSylvain Joubert2017-08-115-0/+67
| |
* | Merge branch 'backport-autogen-autouic-lookup' into autogen-autouic-lookupBrad King2017-08-156-1/+105
|\ \
| * | Autogen: Extend AUTOUIC search paths testSebastian Holtermann2017-08-156-1/+105
| | |
| * | Merge branch 'find-package_root-disable' into release-3.9Brad King2017-08-103-0/+3
| |\ \ | | | | | | | | | | | | Merge-request: !1116
* | | | Server: test cache after reconnectDaniel Pfeifer2017-08-135-15/+77
| | | |
* | | | Merge topic 'autogen-merge-redundant'Brad King2017-08-118-0/+93
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15ef2728 Autogen: Add test for OBJECT libraries 362f9bd7 Autogen: Merge and remove redundant function calls 952fc65d Autogen: Clear sources meta data cache Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1120
| * | | | Autogen: Add test for OBJECT librariesSebastian Holtermann2017-08-108-0/+93
| | |_|/ | |/| |
* | | | Merge topic 'genex-COMPILE_FEATURES-stds'Brad King2017-08-112-0/+20
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 4f7d9eef Features: Fix COMPILE_FEATURES genex for C++ 14 and 17 features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1118
| * | | Features: Fix COMPILE_FEATURES genex for C++ 14 and 17 featuresBrad King2017-08-082-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | When `CXX_STANDARD` is not at least 14 or 17, features enabled by the compiler for those standards should not be reported as existing by the `COMPILE_FEATURES` genex. Fix the implementation and add a test.
* | | | Merge topic 'find-package_root-test-regex'Brad King2017-08-106-465/+480
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | e574bce1 Tests: Simplify RunCMake.find_package PackageRoot case regexes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Chuck Atkins <chuck.atkins@kitware.com> Merge-request: !1115
| * | | Tests: Simplify RunCMake.find_package PackageRoot case regexesBrad King2017-08-086-465/+480
| | | |
* | | | Merge topic 'find-package_root-disable'Brad King2017-08-103-0/+3
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | 578d95f8 find_*: Disable the PACKAGE_ROOT search path group for CMake 3.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1116
| * | find_*: Disable the PACKAGE_ROOT search path group for CMake 3.9Brad King2017-08-083-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable the feature added by commit v3.9.0-rc1~71^2~2 (find_*: Add a new PackageRoot search path group, 2017-05-03) and remove documentation added by commit v3.9.0-rc1~71^2 (find_*: Add docs for PackageRoot search path group, 2017-05-03). Unfortunately the name `<pkg>_ROOT` may already be set by projects for their own incompatible purposes. Disable the behavior change for now to fix the regression for CMake 3.9. We can restore it later with a policy. In order to keep the implementation and tests working, add an undocumented variable we can use in the tests to enable the behavior before the policy is introduced. Fixes: #17144
* | Merge topic 'gtest-dynamic-discovery'Brad King2017-08-086-0/+111
|\ \ | | | | | | | | | | | | | | | | | | bfcda401 Add dynamic test discovery for for Google Test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1056
| * | Add dynamic test discovery for for Google TestMatthew Woehlke2017-07-276-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new gtest_discover_tests function to GoogleTest.cmake, implementing dynamic test discovery (i.e. tests are discovered by actually running the test executable and asking for the list of available tests, which is used to dynamically declare the tests) rather than the source-parsing approach used by gtest_add_tests. Compared to the source-parsing approach, this has the advantage of being robust against users declaring tests in unusual ways, and much better support for advanced features such as parameterized tests. A unit test, modeled after the TEST_INCLUDE_DIR[S] test, is also included. Note that the unit test does not actually require that Google Test is available. The new functionality does not actually depend on Google Test as such; it only requires that the test executable lists tests in the expected format when invoked with --gtest_list_tests, which the unit test can fake readily.
* | | Merge topic 'drop-HP-UX'Brad King2017-08-085-35/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 49640d36 HP-UX: Drop support for building CMake on HP-UX acd462dd README: Add AIX to list of supported platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1105
| * | | HP-UX: Drop support for building CMake on HP-UXBrad King2017-08-075-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake will soon require both C++11 and libuv to build. Neither of these works on HP-UX, so unfortunately we need to drop support for the platform until someone can get them working. Issue: #17137
* | | | Autogen: Enable per-config supportSebastian Holtermann2017-08-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables the AUTOGEN per-config include directories and wrapper sources for multi configuration generators. Closes #16460
* | | | Autogen: Make test per-config include directory compatibleSebastian Holtermann2017-08-051-2/+4
|/ / /
* | | Merge topic 'genex-error-grammar'Brad King2017-08-047-14/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e49c9eec cmGeneratorExpressionNode: add some missing commas Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1102
| * | | cmGeneratorExpressionNode: add some missing commasBen Boeckel2017-08-037-14/+14
| | | |
* | | | Merge topic 'add-package_root-to-find_package'Brad King2017-08-0412-461/+919
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | | | | 4a207116 find_package: Split PACKAGE_ROOT tests to work with smaller regex 9722ff5a find_package: Fix PACKAGE_ROOT test to check find_pacakge(CONFIG) mode. c5d2b99c find_package: Add missing PACKAGE_ROOT_PATH search path implementation. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1082
| * | find_package: Split PACKAGE_ROOT tests to work with smaller regexChuck Atkins2017-08-027-846/+872
| | |
| * | find_package: Fix PACKAGE_ROOT test to check find_pacakge(CONFIG) mode.Chuck Atkins2017-07-287-99/+531
| | |
| * | Merge branch 'objlib-own-target-objs' into release-3.9Brad King2017-07-174-0/+9
| |\ \
* | | | Autogen: Add AUTOMOC test for target dependencies forwardingSebastian Holtermann2017-08-016-33/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an AUTOMOC test that tests if dependencies from add_dependencies() of an ORIGIN target are forwarded to the ORIGIN_autogen target. Also fixes the AUTOMOC test that tests if dependencies from target_link_libraries() of an ORIGIN target are forwarded to the ORIGIN_autogen target. The test now fails in the ORIGIN_autogen build if SimpleLib wasn't built before.
* | | | Autogen: Move repeated tests to new QtAutogenRerun testSebastian Holtermann2017-07-2139-206/+322
| | | | | | | | | | | | | | | | | | | | | | | | By moving QtAutogen tests that run repeatedly to a new QtAutogenRerun test, the `ctest -R Qt[45]Autogen -j4` call runs approximately 25% faster.
* | | | Merge topic 'autogen-include-tests'Brad King2017-07-2160-272/+927
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5ccef17 Autogen: Extended mocInclude tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1070
| * | | | Autogen: Extended mocInclude testsSebastian Holtermann2017-07-2060-272/+927
| | | | | | | | | | | | | | | | | | | | The extended tests cover more AUTOMOC use cases.
* | | | | Merge topic 'string-clear-intermediate-matches'Brad King2017-07-213-0/+33
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7941641 cmStringCommand: clear intermediate matches Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1065
| * | | | | cmStringCommand: clear intermediate matchesBen Boeckel2017-07-213-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `string(REGEX REPLACE)` or `string(REGEX MATCHALL)` loop internally, they store their matches, but they do not clear the previous match from an earlier iteration. This can leave the contents of `CMAKE_MATCH_<N>` with bogus values for later matches in the string if they have groups which earlier matched a non-empty string, but now match an empty string. Fixes #17079.
* | | | | | Merge topic 'docsExternalProject'Brad King2017-07-213-6/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8842a027 ExternalProject: Improve documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1037
| * | | | | ExternalProject: Improve documentationCraig Scott2017-07-173-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added clearer structure by grouping the options into logical sections. - Expanded the details for many of the options. - Added Examples section to show how to use the various commands. - Specifically highlighted that the contents of SOURCE_DIR may be lost if a download method is also provided. - Updated argument-matching regex to be more robust and account for the varying leading spaces before keywords in the docs. - Updated tests to account for slightly changed error messages.
* | | | | | Merge topic 'autogen-generated-files'Brad King2017-07-2013-15/+117
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dca5df16 Autogen: Process GENERATED files. Add CMP0071. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1061
| * | | | | | Autogen: Process GENERATED files. Add CMP0071.Sebastian Holtermann2017-07-1813-15/+117
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets AUTOMOC and AUTOUIC process GENERATED files which used to be ignored before. A new policy CMP0071 ensures that the old behavior of ignoring GENERATED files is enabled when the CMake compatibility version CMAKE_MINIMUM_REQUIRED is < 3.10. Closes #16186
* | | | | | Merge topic 'vs-lang-std'Brad King2017-07-201-9/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 131c721f MSVC: Add flags for C++ language standards Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1063