summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* CheckCXXSymbolExists: Make C++-syntax symbols work on more compilersHong Xu2019-07-261-0/+14
| | | | | On some compilers the syntax `#ifndef std::fopen` will always lead to compilation error. Avoid generating it in the check.
* Merge topic 'iwyu-memory'Brad King2019-07-112-0/+3
|\ | | | | | | | | | | | | | | 71fbebd1dc IWYU: Fix handling of <memory> standard header Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Marc Chevrier <marc.chevrier@gmail.com> Merge-request: !3536
| * IWYU: Fix handling of <memory> standard headerBrad King2019-07-102-0/+3
| | | | | | | | | | | | | | | | An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints.
* | Merge topic 'fix_ctest_output'Brad King2019-07-114-0/+84
|\ \ | |/ |/| | | | | | | | | adcbdb143c CTest: Clean up stdout and logfile output for Pass/Fail regex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3509
| * CTest: Clean up stdout and logfile output for Pass/Fail regexStephen Manz2019-07-094-0/+84
| | | | | | | | | | | | | | | | | | | | For pass regex, display only the element that was found, rather than all elements Rename loop variable for fail regex, from pass to fail For consistency, add space in output for pass Add tests that find and don't find PASS_REGULAR_EXPRESSION, and a test that finds FAIL_REGULAR_EXPRESSION, whose LastTest.log files are checked using *-check.cmake.
* | Merge topic 'elseif'Brad King2019-07-101-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | f4ed56ab63 Fix elseif() in place of else() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !3515
| * | Fix elseif() in place of else()Artalus2019-07-031-1/+1
| | |
* | | Merge topic 'clang-test-fixes'Brad King2019-07-104-8/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 417eb5739a Tests: fix some Clang failures on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3518
| * | | Tests: fix some Clang failures on WindowsZsolt Parragi2019-07-094-8/+14
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * Execute MSVCRuntimeLibrary tests for GNU command line mode Clang on Windows using the MSVC ABI * Assembler tests should be executed with the Ninja generator * Assembler tests shouldn't be executed with clang-cl * Fixed a condition in the Preprocess test for clang-cl * Adjusted the conditions on some MSVC specific tests
* | | Merge topic 'implicit-includes-cray-hlist'Brad King2019-07-107-0/+165
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a7b61269c Merge branch 'backport-implicit-includes-cray-hlist' 98e371f13e Cray: Fix include parsing when the -hlist= flag is present Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3532
| * \ \ Merge branch 'backport-implicit-includes-cray-hlist'Brad King2019-07-097-0/+165
| |\ \ \
| | * | | Cray: Fix include parsing when the -hlist= flag is presentChuck Atkins2019-07-097-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update parsing logic from commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2) to handle the quoting behavior caused by the `-hlist=` flag.
| * | | | Merge branch 'qt-5.13' into release-3.15Brad King2019-07-011-4/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3500
| * \ \ \ \ Merge branch 'cuda-no-device-link-when-disabled' into release-3.15Brad King2019-07-014-0/+29
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3491
* | \ \ \ \ \ Merge topic 'add_cmake_find_use_package_registry'Craig Scott2019-07-092-4/+32
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 447a96f590 vim: Update cmake.vim to include the CMAKE_FIND_USE variables 1d00ba9ccf Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY 704e3a2ca8 Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3487
| * | | | | | | Find: find_package prefers variable CMAKE_FIND_USE_REGISTRYRobert Maynard2019-07-091-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake's find control flags should all have a consistent name. To make this happen we are introducing `CMAKE_FIND_USE_REGISTRY` and deprecating `CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY`.
| * | | | | | | Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docsRobert Maynard2019-07-091-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'cpack-deb-test'Brad King2019-07-0910-101/+62
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7929912b37 CPackComponentsDEB test: simplify error reporting 3d11c63c9c CPackComponentsDEB test: simplify if() arguments 09cf052079 CPackComponentsDEB test: simplify package version generation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raffi Enficiaud <raffi.enficiaud@free.fr> Merge-request: !3514
| * | | | | | | | CPackComponentsDEB test: simplify error reportingRolf Eike Beer2019-07-054-48/+13
| | | | | | | | |
| * | | | | | | | CPackComponentsDEB test: simplify if() argumentsRolf Eike Beer2019-07-059-43/+43
| | | | | | | | |
| * | | | | | | | CPackComponentsDEB test: simplify package version generationRolf Eike Beer2019-07-059-18/+14
| | |_|_|_|_|/ / | |/| | | | | |
* | | | | | | | Merge topic 'autogen_header_extension'Brad King2019-07-084-0/+32
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f8a310c9d1 cmSystemTools: Remove cmSystemTools::FileFormat method 90b5289c55 cmExtraCodeLiteGenerator: Use cmake::Is*Extension for file type detection e50fa44a35 cmake: Refactor file extension list setup 8214ad442f Tests: Autogen: Extend SameName test with additional header extensions 4a9154537c Autogen: Use cmake::IsHeader/SourceExtension for file type detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3511
| * | | | | | | | Tests: Autogen: Extend SameName test with additional header extensionsSebastian Holtermann2019-07-044-0/+32
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds additional headers with suffixes ".hh" and uppercase ".H" to the QtAutogen/SameName test.
* | | | | | | | Tests: require C++11 for some protobuf testsRolf Eike Beer2019-07-031-0/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer versions of Protobuf require C++11, which is reflected in the imported target created by FindProtobuf. Manually set this for all tests that only use the variables.
* | | | | | | Merge topic 'deprecate-policy-old'Brad King2019-07-021-0/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf821ff3c4 Add deprecation warnings for policies CMP0067 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3502
| * | | | | | | Add deprecation warnings for policies CMP0067 and belowBrad King2019-07-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.8 and below to encourage projects to port away from setting policies to OLD.
* | | | | | | | Merge topic 'double-export-error-message'Brad King2019-07-027-0/+34
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27d6e51ae9 Tests: add tests for export set error messages 49cfd39007 cmExportBuildFileGenerator: improve error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3486
| * | | | | | | | Tests: add tests for export set error messagesBen Boeckel2019-06-277-0/+34
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge topic 'qt-5.13'Brad King2019-07-021-4/+4
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 963ddafeaa QtDialog: Use QPalette::WindowText instead of QPalette::Foreground 1a2d6bdefc Tests: Autogen: Use valid rcc compression levels Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3500
| * | | | | | | Tests: Autogen: Use valid rcc compression levelsSebastian Holtermann2019-07-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid the invalid compression level 0 when invoking rcc. It let's rcc fail with an error since Qt 5.13.
* | | | | | | | Merge topic 'cuda-no-device-link-when-disabled'Brad King2019-07-024-0/+29
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | / / / | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | a4d502a5bf CUDA: Do not device link if CUDA is not an enabled language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3491
| * | | | | | CUDA: Do not device link if CUDA is not an enabled languageRobert Maynard2019-07-014-0/+29
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checks added in commit 81b4d10d8f (CUDA: More exhaustive checks to determine when to do device linking, 2019-05-09, v3.15.0-rc1~82^2) assumed that CUDA properties would be set only if CUDA is enabled. We cannot do a device link step if we do not have the CUDA language enabled. This was discovered as some projects unconditionally set CUDA properties such as `CUDA_RESOLVE_DEVICE_SYMBOLS` even when the CUDA language has not been enabled. Fixes: #19432
* | | | | | Merge topic 'FindMatlab-EXCLUDE_FROM_ALL'Brad King2019-07-012-0/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11e0009b77 FindMatlab: EXCLUDE_FROM_ALL parameter to matlab_add_mex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3474
| * | | | | | FindMatlab: EXCLUDE_FROM_ALL parameter to matlab_add_mexRaffi Enficiaud2019-06-262-0/+25
| | |/ / / / | |/| | | | | | | | | | | | | | | | Enabling a mex target to be excluded from the `all` target.
* | | | | | Merge topic 'bug/19436'Craig Scott2019-07-011-0/+13
|\ \ \ \ \ \ | | |_|/ / / | |/| | | / | |_|_|_|/ |/| | | | | | | | | | | | | | 822abf1265 list(POP_FRONT): Fix always assigning first item to output vars Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3497
| * | | | list(POP_FRONT): Fix always assigning first item to output varsAlex Turbov2019-06-301-0/+13
| | |/ / | |/| | | | | | | | | | Fixes: #19436
| * | | Merge branch 'cuda-msvc-runtime-library' into release-3.15Brad King2019-06-263-0/+9
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3485
| * \ \ \ Merge branch 'export-targets-empty' into release-3.15Brad King2019-06-262-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3484
* | \ \ \ \ Merge topic 'vs-dpi-aware'Brad King2019-06-276-0/+74
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd92f8f8bf VS: Add VS_DPI_AWARE target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3418
| * | | | | | VS: Add VS_DPI_AWARE target propertyMatt Weir2019-06-266-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables setting the visual studio project property for Manifests, controlling the DPI Aware setting.
* | | | | | | Merge topic 'cuda-msvc-runtime-library'Brad King2019-06-273-0/+9
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | / / | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 8fbd25772f CUDA: Implement MSVC runtime library abstraction 07807a2006 VS: Use AddLanguageFlags to de-duplicate CMAKE_{CUDA,ASM*}_FLAGS lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3485
| * | | | | CUDA: Implement MSVC runtime library abstractionBrad King2019-06-263-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit fb3370b6a1 (MSVC: Add abstraction for runtime library selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked updating flags for CUDA on Windows, where nvcc uses MSVC as the host compiler. Add them now and update the MSVCRuntimeLibrary test to cover CUDA. Fixes: #19428
* | | | | | Merge topic 'build-install-rpath-genex'Brad King2019-06-263-20/+50
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d29ed8a114 BUILD_RPATH/INSTALL_RPATH: Add generator expression support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3481
| * | | | | | BUILD_RPATH/INSTALL_RPATH: Add generator expression supportKyle Edwards2019-06-253-20/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19423
* | | | | | | Merge topic 'find-testlist'Brad King2019-06-261-167/+49
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f68492912c Tests: reduce code duplication for CMake_TEST_Find* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3471
| * | | | | | | Tests: reduce code duplication for CMake_TEST_Find*Rolf Eike Beer2019-06-241-167/+49
| | | | | | | |
* | | | | | | | Merge topic 'export-targets-empty'Brad King2019-06-262-0/+2
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ba5c37b3f export: Restore support for empty TARGETS list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3484
| * | | | | | | export: Restore support for empty TARGETS listBrad King2019-06-252-0/+2
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit f5acecaa6f (cmExportCommand: Port to cmArgumentParser, 2019-03-23, v3.15.0-rc1~270^2~3) broke the `export` command's support for specifying `TARGETS` with no entries. Fix it and add a test case. Fixes: #19415
* | | | | | | Merge topic 'iconv-c++11'Brad King2019-06-261-0/+2
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | 736f38ff34 FindIconv test: request C++11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3469
| * | | | | FindIconv test: request C++11Rolf Eike Beer2019-06-251-0/+2
| |/ / / /