summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Features: Add infrastructure for C++ 17 language standardBrad King2016-12-022-2/+7
| | | | Issue: #16468
* Merge topic 'msbuild-customization'Brad King2016-11-304-0/+38
|\ | | | | | | | | e3909918 VS: Add option to customize vcxproj user props file
| * VS: Add option to customize vcxproj user props fileMichael Stürmer2016-11-294-0/+38
| | | | | | | | | | | | Add a `VS_USER_PROPS_CXX` target property to set the user props file of the generated `.vcxproj` file to be something other than the default `$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props`.
* | Merge topic 'QtAutogen_tests_update_v2'Brad King2016-11-3064-101/+127
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6938772a QtAutogen tests: Pass Qt compiler features to library targets c4d4becf QtAutogen tests: Move the complex test case to a subdirectory 2599f5d6 QtAutogen tests: Extend test description in CMakeLists.txt 7052af9d QtAutogen tests: Move independent sameName test to top list of CMakeLists.txt d675004d QtAutogen tests: Rename uiconly target to camel case uicOnly cb4bc19a QtAutogen tests: Rename rcc_empty target to camel case rccEmpty 59dbd3f8 QtAutogen tests: Rename rcconly target to camel case rccOnly.
| * | QtAutogen tests: Pass Qt compiler features to library targetsSebastian Holtermann2016-11-292-1/+7
| | |
| * | QtAutogen tests: Move the complex test case to a subdirectorySebastian Holtermann2016-11-2957-84/+89
| | |
| * | QtAutogen tests: Extend test description in CMakeLists.txtSebastian Holtermann2016-11-291-6/+14
| | |
| * | QtAutogen tests: Move independent sameName test to top list of CMakeLists.txtSebastian Holtermann2016-11-291-3/+4
| | |
| * | QtAutogen tests: Rename uiconly target to camel case uicOnlySebastian Holtermann2016-11-294-4/+6
| | | | | | | | | | | | Also move uicOnly sources to dedicated uicOnlySource directory.
| * | QtAutogen tests: Rename rcc_empty target to camel case rccEmptySebastian Holtermann2016-11-293-7/+6
| | |
| * | QtAutogen tests: Rename rcconly target to camel case rccOnly.Sebastian Holtermann2016-11-293-6/+11
| | | | | | | | | | | | Also add dedicated rccOnlyRes.qrc file for the rccOnly target.
* | | Make error message of standalone endwhile command consistentDaniel Pfeifer2016-11-291-1/+1
| | | | | | | | | | | | with the error messages of endforeach, endmacro, endfunction, etc.
* | | Merge topic 'vs-default-build-package'Brad King2016-11-293-0/+32
|\ \ \ | | | | | | | | | | | | | | | | 9e3164df VS: Add option to place `PACKAGE` target in solution default build
| * | | VS: Add option to place `PACKAGE` target in solution default buildMichael Stürmer2016-11-293-0/+32
| | |/ | |/| | | | | | | | | | Add a `CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD` variable to control this behavior.
* | | Merge topic 'try_compile-honor-CMAKE_WARN_DEPRECATED'Brad King2016-11-292-0/+20
|\ \ \ | | | | | | | | | | | | | | | | 6d604c49 try_compile: Honor CMAKE_WARN_DEPRECATED in test project
| * | | try_compile: Honor CMAKE_WARN_DEPRECATED in test projectBrad King2016-11-222-0/+20
| | |/ | |/| | | | | | | | | | | | | | | | | | | This causes the `-Wno-deprecated` option to be honored even inside a `try_compile` test project, which is needed to suppress all deprecation warnings as the option documents. Closes: #16446
* | | Merge topic 'initial_cuda_language_support'Brad King2016-11-2937-0/+624
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cc601f2 Help: Add release note for CUDA support 7b9131da CUDA: Add tests to verify CUDA compiler works properly. 9cf5b98d CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX. a5e806b3 CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY d038559e CUDA: Add separable compilation support to the makefile generator. 43ce4414 CUDA: Add separable compilation support to the ninja generator. 4b316097 CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target property ae05fcc6 CUDA: Add LinkLineComputer that computes cuda dlink lines. 115269a8 CUDA: Refactor cmLinkLineComputer to allow for better derived children. 5dec4031 CUDA: Refactor CMakeCUDAInformation to prepare for separable compilation. 5b20d0ab CUDA: C++ compile features now enable cuda c++11 support. 489c52ce CUDA: Use the host compiler for linking CUDA executables and shared libs. bbaf2434 CUDA: add support for specifying an explicit host compiler. a92f8d96 CUDA: Enable header dependency scanning. ec6ce623 CUDA: State that cuda has preprocessor output and can generate assembly. 4f5155f6 CUDA: We now properly perform CUDA compiler identification. ...
| * | | CUDA: Add tests to verify CUDA compiler works properly.Robert Maynard2016-11-1437-0/+624
| | | |
* | | | Merge topic 'include-what-you-use'Brad King2016-11-284-4/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0c14dfb avoid including cmStandardIncludes.h 66a70999 iwyu: Fix VisualStudio specific issues 7b4244ac iwyu: Fix more findings aeff60e4 iwyu: Fix OSX specific issues
| * | | | iwyu: Fix more findingsDaniel Pfeifer2016-11-283-3/+15
| | | | |
| * | | | iwyu: Fix OSX specific issuesDaniel Pfeifer2016-11-221-1/+3
| | |/ / | |/| |
* | | | Merge topic 'cpack-tests-framework-updates'Brad King2016-11-28129-612/+778
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50c3ebb9 Tests: CPack test documentation facelift a8a47098 Tests: CPack/DEB test change prerequirements check 48456535 Tests: source CPack tests don't require build stage d040d164 Tests: CPack test set packaging type 2cc479bd Tests: remove generator prefix from CPack test name 181e9bb6 Tests: CPack test long_filenames prerequirements b687d2ba Tests: CPack test use same content list ed8858ed Tests: CPack test unify expected file naming 8575affa Tests: CPack test move and merge VerifyResult 79443e1b Tests: CPack test move per test prerequirements 6d51bea4 Tests: CPack test merge generator specifics 0f15aee7 Tests: CPack test move ExpectedFiles script a0ad6fc4 Tests: CPack test should always check test output 46b6a25a Tests: CPack test move std error files to test files 53a69c7d Tests: CPack move tests to separate dir 70b52a71 Tests: CPack test should use default package name ...
| * | | | Tests: CPack test documentation faceliftDomen Vrankar2016-11-271-32/+136
| | | | |
| * | | | Tests: CPack/DEB test change prerequirements checkDomen Vrankar2016-11-274-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prerequirements should be searched for in generator prerequirements function and only checked for presence in configure file in per test prerequirements function.
| * | | | Tests: source CPack tests don't require build stageDomen Vrankar2016-11-272-3/+3
| | | | |
| * | | | Tests: CPack test set packaging typeDomen Vrankar2016-11-2725-158/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPack tests can now define one or more packaging types and that test will be executed once per generator per packaging type. This also enables us to set default values per packaging type for each generator which makes tests shorter.
| * | | | Tests: remove generator prefix from CPack test nameDomen Vrankar2016-11-2719-7/+7
| | | | |
| * | | | Tests: CPack test long_filenames prerequirementsDomen Vrankar2016-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fakeroot executable is already searched for in DEB packager tests prerequirements so the test prerequirement just has to check that it is present in config file and not search for it once more.
| * | | | Tests: CPack test use same content listDomen Vrankar2016-11-2722-107/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Content list for a certain test should be the same between different generators so whenever possible use a single expected files list per file for all generators.
| * | | | Tests: CPack test unify expected file namingDomen Vrankar2016-11-2727-54/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each generator generates its own file format with different extensions but they all create those file names by a certain pattern and all of them require the same pieces for that pattern to work. Now we can only provide pieces once and and each generator will use those pieces to generate an expected file name.
| * | | | Tests: CPack test move and merge VerifyResultDomen Vrankar2016-11-2716-117/+110
| | | | | | | | | | | | | | | | | | | | | | | | | Merge VerifyResult of different generators pertest and move the file to its test dir.
| * | | | Tests: CPack test move per test prerequirementsDomen Vrankar2016-11-274-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Move per test prerequirements into the belonging test.
| * | | | Tests: CPack test merge generator specificsDomen Vrankar2016-11-2721-104/+127
| | | | | | | | | | | | | | | | | | | | | | | | | Merge test generator specifics into test itself.
| * | | | Tests: CPack test move ExpectedFiles scriptDomen Vrankar2016-11-2735-105/+109
| | | | | | | | | | | | | | | | | | | | | | | | | Merge per generator ExpectedFiles scripts into one per test and move it to test dir.
| * | | | Tests: CPack test should always check test outputDomen Vrankar2016-11-274-7/+5
| | | | |
| * | | | Tests: CPack test move std error files to test filesDomen Vrankar2016-11-275-4/+4
| | | | |
| * | | | Tests: CPack move tests to separate dirDomen Vrankar2016-11-2720-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For greater transparency tests are moved to a subfolder with each test having its own dir.
| * | | | Tests: CPack test should use default package nameDomen Vrankar2016-11-2728-46/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Package names are irrelevant for most CPack tests so tests now set default package name that is created from test name and used if it is not explicitly provided in the test.
| * | | | Tests: CPack/RPM test introduction of default stderr test outputDomen Vrankar2016-11-2714-22/+3
| | | | |
| * | | | Tests: fix CPack test source packages missing generator typeDomen Vrankar2016-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Source packages testing for RunCMake CPack tests did not provide generator type to the project built from source package.
| * | | | Tests: CPack fix for invalid config file pathDomen Vrankar2016-11-271-2/+1
| |/ / / | | | | | | | | | | | | | | | | Invalid config file path was passed to per test specific prerequirements script.
* | | | Merge topic '16449-revert-xcode-system-includes'Brad King2016-11-282-14/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | 543dcb0a Revert "Xcode: Obey SYSTEM keyword for includes (#15687)"
| * | | Revert "Xcode: Obey SYSTEM keyword for includes (#15687)"Gregor Jasny2016-11-282-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.7.0-rc1~266^2 (Xcode: Obey SYSTEM keyword for includes, 2015-08-31). It worked for C, C++, and Swift but not for GNU Assembly files for which Xcode has no property to set flags. Closes: #16449
| * | | Merge branch 'cmake-server-handshake-improvements' into releaseBrad King2016-10-281-2/+2
| |\ \ \
| * \ \ \ Merge branch 'cmake-server-message-quoting' into releaseBrad King2016-10-241-5/+5
| |\ \ \ \
| * \ \ \ \ Merge branch 'backport-ninja-subdir-binary-dir' into releaseBrad King2016-10-246-0/+19
| |\ \ \ \ \
| | * | | | | Ninja: Use binary dir for `$subdir/all` targetsAlexis Murzeau2016-10-246-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The targets added by commit v3.6.0-rc1~240^2~2 (Ninja: Add `$subdir/all` targets, 2016-03-11) use as `$subdir` the relative path from the top of the source tree to the current source directory. This is not correct when using `add_subdirectory(test test_bin)`. Instead we need to use the relative path from the top of the binary tree to the current binary directory as was done for related targets by commit v3.7.0-rc1~268^2 (Ninja: Add `$subdir/{test,install,package}` targets, 2016-08-05).
* | | | | | | Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE librariesBrad King2016-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported INTERFACE libraries can specify include directories via `INTERFACE_INCLUDE_DIRECTORIES` so the default behavior of treating them as system include directories applies. Allow users to turn this off by setting `NO_SYSTEM_FROM_IMPORTED` on such targets. Closes: #16443
* | | | | | | Merge topic 'capture-clang-tidy-errors'Brad King2016-11-216-1/+15
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80ebc55a cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero ce1abfa4 cmake: If ldd for LINK_WHAT_YOU_USE fails to run then report why 44de6157 cmake: Comment why we ignore the include-what-you-use return code
| * | | | | | cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zeroBrad King2016-11-185-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using `<LANG>_CLANG_TIDY` our internal launcher for the tool must capture its return code and stderr and report them on failure. Otherwise incorrect command lines silently fail. Closes: #16435