summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'update-cpplint'Brad King2017-12-054-4/+4
|\ | | | | | | | | | | | | bfcc2034 Update cpplint support to return 0 and mark warnings for CDash. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1544
| * Update cpplint support to return 0 and mark warnings for CDash.Bill Hoffman2017-12-014-4/+4
| | | | | | | | | | | | | | | | This commit makes cpplint act like the other compiler mirroring tools. It will always return 0 even if it reports warnings and will only return non zero if there is a problem running the command. In addition, it will now add some extra text to allow CTest to recognize the warnings and report them correctly to CDash.
* | Merge topic 'csharp_project_without_sources'Brad King2017-12-043-0/+13
|\ \ | | | | | | | | | | | | | | | | | | 8e654a37 VS: Enable generation of CSharp projects without initial .cs files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1521
| * | VS: Enable generation of CSharp projects without initial .cs filesMichael Stürmer2017-11-293-0/+13
| | | | | | | | | | | | fixes #17388
* | | Merge topic 'simplify_target_link_libraries'Brad King2017-12-012-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8112059e target_link_libraries: Simplify implementation and add comments. b0e2f141 target_link_libraries: Slightly fix some error-messages. 85457b63 target_link_libraries: Return earlier on some error. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1531
| * | | target_link_libraries: Slightly fix some error-messages.Deniz Bahadir2017-11-292-4/+4
| | |/ | |/| | | | | | | | | | Some error-messages are slightly adjusted to better tell what invocation would be correct instead. Tests are adjusted accordingly.
* | | Merge topic 'libuv-raii'Brad King2017-12-013-1/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3bcaa870 cmUVHandlePtr: Add uv_process_ptr dd700e9b cmUVHandlePtr: Add uv_timer_ptr 32cfa7b3 cmUVHandlePtr: Move to CMakeLib to make it available everywhere Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1541
| * | | cmUVHandlePtr: Add uv_process_ptrBrad King2017-11-301-0/+1
| | | |
| * | | cmUVHandlePtr: Add uv_timer_ptrBrad King2017-11-301-0/+1
| | | |
| * | | cmUVHandlePtr: Move to CMakeLib to make it available everywhereBrad King2017-11-303-1/+4
| | | |
* | | | Merge topic 'fix-cmake-server-bad-buffering-test'Brad King2017-12-011-1/+27
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 9af5f672 test: Updated server test harness to try to cause fragmentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1508
| * | | test: Updated server test harness to try to cause fragmentationJustin Berger2017-11-291-1/+27
| | | |
* | | | Merge topic 'libuv-raii'Brad King2017-11-304-6/+186
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e9b7d3c server: Switched to a auto model for handles f43b9219 tests: Added tests to verify UV RAII semantics/constructs a3abb85c Add RAII handles for libuv handle types 90f8db26 tests: unconditionally enabled server tests b56b51fc utility: Disabled copy ctors in thread classes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1453
| * | | | tests: Added tests to verify UV RAII semantics/constructsJustin Berger2017-11-292-0/+183
| | | | |
| * | | | tests: unconditionally enabled server testsJustin Berger2017-11-292-6/+3
| | | | |
* | | | | Merge topic 'whitelist-more-interface-properties'Brad King2017-11-301-0/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb3c5bfd cmTargetPropertyComputer: whitelist custom properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1515
| * | | | | cmTargetPropertyComputer: whitelist custom propertiesBen Boeckel2017-11-211-0/+10
| | |/ / / | |/| | | | | | | | | | | | | | | | | | CMake's properties will never begin with an underscore or a lowercase letter, so allow them to be set by projects.
* | | | | Merge topic 'findiconv-module'Brad King2017-11-304-0/+80
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95646591 FindIconv: Add the FindIconv module. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1530
| * | | | | FindIconv: Add the FindIconv module.Christian Pfeiffer2017-11-294-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module provides abstraction over the various ways POSIX platforms handle the iconv calls defined in POSIX.1-2001 and later versions.
* | | | | | Merge topic 'check_fixtures_before_exe_existence'Craig Scott2017-11-291-1/+5
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbe91dba CTest: Check failed fixture dependencies before test command and args Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !1526
| * | | | | CTest: Check failed fixture dependencies before test command and argsCraig Scott2017-11-281-1/+5
| | |_|_|/ | |/| | |
* | | | | Merge topic 'CheckIncludeFiles-language-CXX'Brad King2017-11-2912-0/+54
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b31d5e1d CheckIncludeFiles: improve warning for missing argument 1f1c2a9f CheckIncludeFiles: clean up documentation of new features c8609992 Help: Add notes for topic 'CheckIncludeFiles-language-CXX' ea1bb902 CheckIncludeFiles: add unit tests 7669695a CheckIncludeFiles: extend to allow a LANGUAGE argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1464
| * | | | | CheckIncludeFiles: improve warning for missing argumentDavid Adam2017-11-241-2/+2
| | | | | |
| * | | | | CheckIncludeFiles: add unit testsDavid Adam2017-11-1112-0/+54
| | | | | |
* | | | | | Merge topic 'fortran-compiler-launcher'Brad King2017-11-297-0/+17
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | f19c70c3 Fortran: Add option to run the compiler through launcher tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1517
| * | | | | Fortran: Add option to run the compiler through launcher toolsBrad King2017-11-217-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
* | | | | | Merge topic 'extend-compile-language-genex'Brad King2017-11-2721-60/+61
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ae880fa Genex: Enable COMPILE_LANGUAGE for COMPILE_OPTIONS with Visual Studio 2b7d59f3 Genex: Enable COMPILE_LANGUAGE for file(GENERATE) with Visual Studio 0f6f7c8a Genex: Fix COMPILE_LANGUAGE messages to allow file(GENERATE) with Xcode c5a82d0f Tests: Decouple COMPILE_LANGUAGE in file(GENERATE) from COMPILE_OPTIONS 25773650 Tests: Remove unnecessary result files from RunCMake.File_Generate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !1511
| * | | | | Genex: Enable COMPILE_LANGUAGE for COMPILE_OPTIONS with Visual StudioBrad King2017-11-2011-37/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.9.0-rc4~3^2~1 (VS: Fix target_compile_options for CUDA, 2017-06-21), the evaluation of `COMPILE_LANGUAGE` receives the proper language. The set of compile flags used for a target's C and C++ sources is based on the linker language. By default this is always the C++ flags if any C++ sources appear in the target, and otherwise the C flags. Therefore we can define the `COMPILE_LANGUAGE` generator expression in `COMPILE_OPTIONS` to match the selected language. This is not exactly the same as for other generators, but is the best VS can do. It is also sufficient for many use cases since the set of allowed flags for C and C++ is almost the same in Visual Studio. Furthermore, since the VS generator moves many of the flags to declarative `.vcxproj` elements, it will automatically avoid passing C++ flags for C sources. Issue: #17435
| * | | | | Genex: Enable COMPILE_LANGUAGE for file(GENERATE) with Visual StudioBrad King2017-11-174-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #17435
| * | | | | Genex: Fix COMPILE_LANGUAGE messages to allow file(GENERATE) with XcodeBrad King2017-11-172-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When rejecting the `COMPILE_LANGUAGE` generator expression on include directories and compile definitions with Xcode, add `file(GENERATE)` to the allowed set in the message. It is allowed and already covered by the `RunCMake.File_Generate` test `COMPILE_LANGUAGE-genex` case.
| * | | | | Tests: Decouple COMPILE_LANGUAGE in file(GENERATE) from COMPILE_OPTIONSBrad King2017-11-171-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify the `RunCMake.File_Generate` test `COMPILE_LANGUAGE-genex` case to avoid requiring support for the genex in `COMPILE_OPTIONS`.
| * | | | | Tests: Remove unnecessary result files from RunCMake.File_GenerateBrad King2017-11-176-6/+0
| | |_|/ / | |/| | | | | | | | | | | | | The default result is "0" anyway.
* | | | | Merge topic 'WriteBasicConfigVersionFile_SameMinorVersion'Craig Scott2017-11-221-7/+84
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d18ff3a5 WriteBasicConfigVersionFile: Fix messages in ExactVersion tests 16a93de0 WriteBasicConfigVersionFile: Add SameMinorVersion COMPATIBILITY option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Claudio <claudio.fantacci@gmail.com> Merge-request: !1507
| * | | | WriteBasicConfigVersionFile: Fix messages in ExactVersion testsDaniele E. Domenichelli2017-11-211-6/+6
| | | | |
| * | | | WriteBasicConfigVersionFile: Add SameMinorVersion COMPATIBILITY optionDaniele E. Domenichelli2017-11-211-1/+78
| |/ / /
* | | | Merge topic 'gtest-fix-discovery'Brad King2017-11-214-3/+42
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 70f9f62d GoogleTest: Fix multiple discovery on same target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1510
| * | | GoogleTest: Fix multiple discovery on same targetMatthew Woehlke2017-11-214-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the documentation, tests can be discovered for a target multiple times by using a different prefix and/or suffix to ensure name uniqueness. However, while this worked for gtest_add_tests, it did not work with gtest_discover_tests because the generated file that sets up the tests was named based only on the target name, and so subsequent discovery from the same target would clobber earlier discovery. Fix this by introducing a counter that records how many times discovery has been used on a target, and use this to generate unique names of the generated test list files.
* | | | Merge topic 'cpack-minor-cleanup-and-tests-extension'Brad King2017-11-2031-66/+150
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 325f34d1 CPack tests: add possibility for expecting config developer warnings 176281e1 CPack test: correctly handle CPACK_PACKAGING_INSTALL_PREFIX cf0c2599 CPack: set variable commands in lower case 2ff906b3 CPack: documentation typo fix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1499
| * | | | CPack tests: add possibility for expecting config developer warningsDomen Vrankar2017-11-192-1/+28
| | | | |
| * | | | CPack test: correctly handle CPACK_PACKAGING_INSTALL_PREFIXDomen Vrankar2017-11-1930-65/+122
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Every CPack generator sets default CPACK_PACKAGING_INSTALL_PREFIX variable value differently so test framework should support that correctly - previous version expected RPM/Deb /usr default and removed it for Archive packagers as the default there is /.
* | | | Merge topic 'cuda-sep-comp-var'Brad King2017-11-201-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00e13993 CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexander Korsunsky <a.korsunsky@gmail.com> Merge-request: !1495
| * | | | CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variableBrad King2017-11-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478
* | | | | Merge topic 'FindOpenGL-glvnd-policy'Brad King2017-11-2012-1/+59
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ea17412 FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GL Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Clinton Stimpson <clinton@elemtech.com> Merge-request: !1491
| * | | | FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GLBrad King2017-11-1712-1/+59
| | | | | | | | | | | | | | | | | | | | Fixes: #17449
* | | | | Tests: Add test for bad foreach inside a functionBrad King2017-11-166-0/+18
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Add test for a case fixed by commit 6a4a61d9e1 (cmForEachCommand: prevent leakage, 2017-10-09). Prior to that fix, this test case could trigger an assertion failure. Fixes: #17464
* | | | Tests: Fix FindPatch test on WindowsBrad King2017-11-151-2/+2
|/ / / | | | | | | | | | | | | | | | On Windows our input and patch files may have CRLF newlines. Tell `patch` not to transform them to LF newlines because our baseline will have CRLF newlines too.
* | | Merge topic 'cmake-gui-qt-static-windows'Brad King2017-11-141-4/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 3a993c49 Tests: Add options to disable tests requiring Qt 27a73f16 cmake-gui: Add build option to use Qt5 windows plugin statically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1476
| * | Tests: Add options to disable tests requiring QtBrad King2017-11-131-4/+12
| | |
| * | Merge branch 'implicit-lib-gcceh' into release-3.10Brad King2017-11-081-1/+21
| |\ \ | | | | | | | | | | | | Merge-request: !1460
* | \ \ Merge topic 'update-ctest-documentation'Brad King2017-11-101-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b272ff8 Help: Add 'Label and Subproject Summary' section to ctest(1) manual 002d0a1c Help: Normalize capitalization of 'CTest' in ctest(1) manual 9d3aa95c Help: Divide ctest(1) manual options into sections 7904b659 Tests: Remove incorrect use of 'test-timeout' option e80dc2ad cmCTest: Remove dead code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1427