summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG>Beeble2017-04-057-4/+34
| | | | | This allows projects added via `include_external_msproject` to compile the preferred configuration despite different naming conventions.
* Merge topic 'test-LinkInterfaceLoop-custom-timeout'Brad King2017-04-031-1/+8
|\ | | | | | | | | | | | | 716f8c88 Tests: Add option to customize LinkInterfaceLoop timeout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !651
| * Tests: Add option to customize LinkInterfaceLoop timeoutBrad King2017-03-311-1/+8
| | | | | | | | | | | | | | | | This test has a timeout in case CMake gets into an infinite loop. The default of 90 seconds should be plenty of time for the test to run correctly since it does not actually do a build. However, busy machines that run lots of tests in parallel may need a longer timeout. Give them an option to extend it.
* | Merge topic 'test-fix-CTestTestChecksum-dir'Brad King2017-04-031-2/+2
|\ \ | |/ |/| | | | | | | | | 72d0f947 Tests: Fix spurious CTestTestParallel failures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !650
| * Tests: Fix spurious CTestTestParallel failuresBrad King2017-03-311-2/+2
| | | | | | | | | | | | | | If `CTestTestParallel` was run at the same time as `CTestTestChecksum` (e.g. during parallel testing) then the former fails due to the latter stepping on its directory. Fix the directory used for the latter to avoid the conflict.
| * Merge branch '16742-swift-3.0' into releaseBrad King2017-03-292-7/+3
| |\
* | \ Merge topic '16733-bundle-genex'Brad King2017-03-3118-9/+97
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1dac1ac Xcode: Execute RunCMake.Framework also for Xcode generator d02709d7 Genex: Add `TARGET_BUNDLE_[CONTENT_]_DIR` generator expressions 013ffe76 cmGeneratorTarget: Call GetFrameworkDirectory in GetFullNameInternal 32e9d0ca cmGeneratorTarget: Use enum to describe bundle directory query level Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !635
| * | | Xcode: Execute RunCMake.Framework also for Xcode generatorGregor Jasny2017-03-304-9/+11
| | | |
| * | | Genex: Add `TARGET_BUNDLE_[CONTENT_]_DIR` generator expressionsGregor Jasny2017-03-3014-0/+86
| | | | | | | | | | | | | | | | Closes #16733
* | | | Merge topic 'ipo-policy-CMP0069'Brad King2017-03-3126-1/+105
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfa8263f Implement interprocedural optimization for GNU compilers 1588a577 Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATION a7575700 Refactoring: s,GetFeatureAsBool,IsIPOEnabled, e05835c3 CheckIPOSupported: Visual Studio and Xcode generators do not support IPO Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com> Merge-request: !568
| * | | Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATIONRuslan Baratov2017-03-3022-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the `INTERPROCEDURAL_OPTIMIZATION` target property was honored only for the Intel compiler on Linux and otherwise ignored. In order to add support for more compilers incrementally without changing behavior in the future, add a new policy whose NEW behavior enforces the `INTERPROCEDURAL_OPTIMIZATION` property. Add flags for supported compilers and otherwise produce an error.
| * | | CheckIPOSupported: Visual Studio and Xcode generators do not support IPORuslan Baratov2017-03-305-1/+18
| | | |
* | | | Merge topic 'ctest-disable-tests'Brad King2017-03-3018-0/+201
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b070947d Add 'DISABLED' test property 42c68aad CTest: Improve 'Completion Status' reported to CDash for 'Not Run' tests Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Merge-request: !571
| * | | | Add 'DISABLED' test propertyBetsy McPhail2017-03-2918-0/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this property is set, the test is skipped and its status is automatically set to 'Not Run'. A disabled test will not be counted in the total number of tests and its completion status will be 'Disabled'.
* | | | | Merge topic 'iwyu'Brad King2017-03-301-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48cfb295 cmFortranParser: remove unnecessary typedef 90bb5f64 cmCommandArgumentParserHelper: remove unnecessary include ab5f4e81 cmFortranParserImpl: remove unnecessary include f8ed8bef testEncoding: use cmsys::ifstream 8647c6cd testEncoding: include <cmsys/ConsoleBuf.hxx> on Windows only 21a6ed49 cmFileCommand: add <cm_curl.h> include a2275bdd cmFileCommand: remove unnecessary friend declaration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !626
| * | | | | testEncoding: use cmsys::ifstreamDaniel Pfeifer2017-03-291-2/+2
| | | | | |
| * | | | | testEncoding: include <cmsys/ConsoleBuf.hxx> on Windows onlyDaniel Pfeifer2017-03-291-0/+2
| |/ / / /
* | | | | Merge topic 'cmake-file-install-symlink-on-nonexistng-path'Brad King2017-03-303-0/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e8f1118 handle non-existing symlink creation locations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !642
| * | | | | handle non-existing symlink creation locationsDomen Vrankar2017-03-283-0/+17
| |/ / / /
* | | | | Merge topic '16742-swift-3.0'Brad King2017-03-302-7/+3
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | 77139e32 Swift: Simplify mixed test case to make it version agnostic c03141c0 Swift: Default to Swift 3.0 with Xcode 8.3 and later Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !638
| * | | Swift: Simplify mixed test case to make it version agnosticGregor Jasny2017-03-292-20/+3
| | | | | | | | | | | | | | | | Issue: #16742
| * | | Swift: Default to Swift 3.0 with Xcode 8.3 and laterGregor Jasny2017-03-282-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode 8.3 has dropped support for Swift 2.3 so that compiler and feature detection failed. Closes #16742
* | | | Merge topic 'cpack-rpm-debuginfo-honor-package-filename'Brad King2017-03-272-3/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f237f5f8 CPack/RPM: support for debuginfo package renaming 6c09c5d6 CPack/RPM honor package file name on debuginfo enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !620
| * | | | CPack/RPM: support for debuginfo package renamingDomen Vrankar2017-03-252-2/+6
| | | | |
| * | | | CPack/RPM honor package file name on debuginfo enabledDomen Vrankar2017-03-242-2/+10
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Packages with debuginfo enabled should still honor defined package file name if file name is not set to RPM-DEFAULT. Fixes #16715
* | | | Merge topic 'cpack-rpm-tests-handle-build-id-links'Brad King2017-03-273-5/+11
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 4ba065b2 CPack/RPM tests: handle build-id links Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !628
| * | | CPack/RPM tests: handle build-id linksDomen Vrankar2017-03-273-5/+11
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Build id links generation was introduced in rpm 4.13.0.1 so files related to them should be ignored as they are not relevant for the tests. Fixes #16710
* | | Merge topic 'InstallRequiredSystemLibraries-test-openmp'Brad King2017-03-271-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 70d8f0d0 Tests: Activate InstallRequiredSystemLibraries OpenMP libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !623
| * | | Tests: Activate InstallRequiredSystemLibraries OpenMP libsBrad King2017-03-241-0/+1
| |/ / | | | | | | | | | | | | The SimpleInstall test performs a smoke test of this module. Activate the OpenMP code paths.
| * | Merge branch 'implicit-dir-symlinks' into releaseBrad King2017-03-029-0/+74
| |\ \
| * \ \ Merge branch 'csproj_add_free_source_tags' into releaseBrad King2017-03-024-0/+38
| |\ \ \
| * \ \ \ Merge branch 'find-libarch-not-symlink' into releaseBrad King2017-02-283-0/+29
| |\ \ \ \
| * \ \ \ \ Merge branch 'object-library-compile-pdb' into releaseBrad King2017-02-241-0/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'clang-format-attrs' into releaseBrad King2017-02-224-0/+8
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge topic '16680-ios-bundle-resources'Brad King2017-03-246-1/+37
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5189fda Apple: Add test for bundle resource layout c51c2cfa Apple: Fix Resources location for all generators 060be58c Xcode: Properly handle Bundle Resources with more than one hierarchy level 484ccb0c Xcode: Properly handle non-resource Bundle files on iOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !613
| * | | | | | | | Apple: Add test for bundle resource layoutGregor Jasny2017-03-236-1/+37
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Closes: #16680
* | | | | | | | Merge topic 'autogen_rcc_test'Brad King2017-03-247-47/+93
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35e8a6de Autogen: Tests: More rigorous rcc rebuild tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !618
| * | | | | | | | Autogen: Tests: More rigorous rcc rebuild testsSebastian Holtermann2017-03-237-47/+93
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Closes: #16103
* | | | | | | | Merge topic 'make_sure_cuda_tests_run'Brad King2017-03-241-0/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d40fc885 CUDA: ObjectLibrary test executable now runs on OSX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !615
| * | | | | | | | CUDA: ObjectLibrary test executable now runs on OSXRobert Maynard2017-03-231-0/+5
| | | | | | | | |
* | | | | | | | | RunCMake: Ignore xcodebuild bug warnings in testsGregor Jasny2017-03-241-1/+1
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Encountered on OS X 10.4 with old Xcode: Expected stderr to match: expect-err> ^$ Actual stderr: actual-err> Hit xcodebuild bug : ... bad interpreter: Text file busy
* | | | | | | | Merge topic '14335-duplicate-else'Brad King2017-03-2213-0/+44
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | edac95b9 cmIfCommand: Reject duplicate else() and misplaced elseif() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !594
| * | | | | | | | cmIfCommand: Reject duplicate else() and misplaced elseif()Gregor Jasny2017-03-2213-0/+44
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Closes: #14335
* | | | | | | | Merge topic 'add-CheckIPOSupported-module'Brad King2017-03-2222-0/+89
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c832674 Tests for 'CheckIPOSupported' module fdb2ba25 CheckIPOSupported: New module to check for compiler/cmake IPO support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !558
| * | | | | | | | Tests for 'CheckIPOSupported' moduleRuslan Baratov2017-03-2122-0/+89
| | | | | | | | |
* | | | | | | | | Merge topic 'module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS'Brad King2017-03-225-2/+26
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 075f6454 Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` files 21c4ec4f cmGlobalVisualStudioGenerator: Simplify __create_def command generation 24361a45 bindexplib: Add support for parsing and integrating `.def` files 845c4824 bindexplib: Add method for parsing and integrating `.def` files 4f90e793 bindexplib: Revise coding style of CMake-specific methods Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !581
| * | | | | | | | Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` filesBrad King2017-03-215-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `WINDOWS_EXPORT_ALL_SYMBOLS` target property exports all symbols found in object files explicitly given to the linker. However, the linker may also find additional symbols in dependencies and copy them into the linked binary (e.g. from `msvcrt.lib`). Provide a way to export an explicit list of such symbols by adding a `.def` file as a source file. Fixes: #16473
* | | | | | | | | Merge topic 'geh-visibility-flag'Brad King2017-03-201-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9eb05b48 GenerateExportHeader: always fill in _EXPORT macros Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !36
| * | | | | | | | | GenerateExportHeader: always fill in _EXPORT macrosBen Boeckel2017-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `_EXPORT` and `_NO_EXPORT` macros should always be made properly because the `<LANG>_VISIBILITY_PRESET` properties are controlled independently of this module. One case where this breaks compatibility is where a project was setting `USE_COMPILER_HIDDEN_VISIBILITY=OFF` and then marking a symbol used outside of the library with `_NO_EXPORT` which is a contridiction.
* | | | | | | | | | CPack/RPM: handle extra slashesDomen Vrankar2017-03-134-0/+61
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extra slashes in some locations can cause errors during package generation and can also be present in generated rpm packages causing issues for the package user. Closes #16619