summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'file-GLOB-empty-no-crash'Brad King2017-01-172-0/+2
|\ | | | | | | | | 2bba0bfc file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
| * file: Fix crash on GLOB with no expressions after LIST_DIRECTORIESBrad King2017-01-162-0/+2
| | | | | | | | | | | | | | | | Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no expression causes a crash. Fix the logic to avoid the crash. Fixes: #16565
* | Merge topic 'csharp_simple'Brad King2017-01-161-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 397b8546 VS: added documentation for C# support a7dd8e66 VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015) 6fda6005 VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS
| * | VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPSMichael Stürmer2017-01-131-1/+1
| |/
* | Merge topic 'fix_repeat_until_fail_duplicated_output'Brad King2017-01-161-0/+2
|\ \ | |/ |/| | | | | a1058637 CTest: Properly reset output to avoid duplication with --repeat-until-fail
| * CTest: Properly reset output to avoid duplication with --repeat-until-failSylvain Joubert2017-01-121-0/+2
| |
* | CUDA: Port test cases to Windows with MSVC host compilerBrad King2017-01-122-1/+14
|/
* Merge topic 'ctest_memcheck-leak_sanitizer'Brad King2017-01-116-17/+82
|\ | | | | | | | | | | | | | | e537bd91 ctest_memcheck: do not add detect_leaks=1 to ASAN_OPTIONS 0a2e5885 ctest_memcheck: join *SAN_OPTIONS with : cdacfbd2 MEMORYCHECK_SUPPRESSIONS_FILE: add support for sanitizers cf590c12 ctest_memcheck: add support for standalone LeakSanitizer
| * ctest_memcheck: join *SAN_OPTIONS with :Jamie Snape2017-01-091-5/+5
| |
| * ctest_memcheck: add support for standalone LeakSanitizerJamie Snape2017-01-096-13/+78
| |
* | CPack/RPM test for using custom binary spec fileDomen Vrankar2017-01-106-0/+102
| |
* | Merge topic 'cpack-new-tests'Brad King2017-01-1020-63/+110
|\ \ | | | | | | | | | | | | | | | | | | 36bc7e4c store old locale to a temporary variable 05c14ea0 RunCMake.CPack_* add COMPONENT to minimal test 5b0a64eb CPack/Archive minimal tests for more formats
| * | RunCMake.CPack_* add COMPONENT to minimal testDomen Vrankar2016-12-231-1/+1
| | | | | | | | | | | | | | | Add component based packages testing to current monolithic minimal package tests.
| * | CPack/Archive minimal tests for more formatsDomen Vrankar2016-12-2320-63/+110
| |/
* | Merge topic 'cpack-deb-md5sums-paths-fix'Brad King2017-01-104-0/+11
|\ \ | | | | | | | | | | | | 6daa2d38 CPack/Deb invalid md5sums file fix
| * | CPack/Deb invalid md5sums file fixDomen Vrankar2016-12-234-0/+11
| |/ | | | | | | | | | | | | | | | | Monolithic deb packages were packaged with invalid md5sums file as trailing slash in path was causing string replace to fail and preserve build path. Fixes #16517
* | CPack test additional std out/err regex file overloadsDomen Vrankar2017-01-102-3/+18
| | | | | | | | | | Added std out/std err expected regex file name overloads for packaging type.
* | cmTarget: Enforce TYPE being a read-only propertyGregor Jasny2017-01-094-0/+5
|/
* try_compile: extend CMP0067 to honor language standards for CUDA.Robert Maynard2016-12-126-0/+23
|
* Merge topic 'try_compile-lang-std'Brad King2016-12-0717-0/+214
|\ | | | | | | | | | | | | f72ba42b try_compile: Add policy CMP0067 to honor language standards 45aa03b9 try_compile: Add options to specify language standards 3bb2051e try_compile: Stop processing when test build system fails to generate
| * try_compile: Add policy CMP0067 to honor language standardsBrad King2016-12-065-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects use `try_compile` to check if they will be able to compile some particular source code. When a language standard variable like `CMAKE_CXX_STANDARD` is set, then the project intends to compile source code using a compiler mode for that standard. Therefore it makes sense for `try_compile` to use that standard in the test project too. Unfortunately this was not done when support for the `CMAKE_CXX_STANDARD` variable was first implemented. Add a policy to introduce the improved behavior in a compatible way. Closes: #16456
| * try_compile: Add options to specify language standardsBrad King2016-12-0615-0/+124
| | | | | | | | | | | | | | | | | | Give `try_compile` callers a way to control the `CXX_STANDARD`, `CXX_STANDARD_REQUIRED`, and `CXX_EXTENSIONS` properties of the generated test target (or the `C` equivalents) in order to compile a test source for a particular language standard. Issue: #16456
* | CPackRPM now supports multiple directives in CPACK_RPM_USER_FILELISTHarry Mallon2016-12-034-0/+28
|/ | | | | | | | * In older version "%dir %attr(-, root, root) foo" would put "%dir foo" in the final spec file. * Also added comment to describe this and advise not not to add trailing slashes to directories in USER_FILELIST. * Includes test in RunCMake CPack which now passes.
* Merge topic 'execute_process-encoding'Brad King2016-12-029-0/+26
|\ | | | | | | | | 2ed473b3 execute_process: Add ENCODING option for Windows child process output
| * execute_process: Add ENCODING option for Windows child process outputDāvis Mosāns2016-11-309-0/+26
| | | | | | | | Different applications can use different output encodings.
* | VS: Add target property VS_DEBUGGER_WORKING_DIRECTORYMichael Stürmer2016-11-303-0/+28
| |
* | 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`.
* | | 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
* | | 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
| | |