summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'install-directory-dest-genex'Brad King2015-09-257-7/+16
|\ | | | | | | | | bd189cc2 install: Allow generator expressions in DIRECTORY DESTINATION
| * install: Allow generator expressions in DIRECTORY DESTINATIONRobert Goulet2015-09-247-7/+16
| |
* | Merge topic 'Threads-CXX'Brad King2015-09-254-0/+36
|\ \ | |/ |/| | | | | | | | | | | | | | | fff9434d FindThreads: officially announce it works with only C++ enabled 66db914a FindThreads: fix printing a pointer value in test code 0b38424c FindThreads: make the call to try_run() work also if only C++ is enabled 9924a212 FindThreads: replace CheckIncludeFiles by CheckIncludeFile a27bc0cc Check(Function|Library|Symbol)Exists: make it work if only C++ is enabled 7279f293 FindThreads: add simple testcase
| * FindThreads: officially announce it works with only C++ enabledRolf Eike Beer2015-09-252-9/+24
| |
| * FindThreads: add simple testcaseRolf Eike Beer2015-09-213-0/+21
| |
* | Tests: Cover install(FILES) with a genex DESTINATIONBrad King2015-09-237-6/+15
| |
* | Merge topic 'cpack-package-empty-dirs'Brad King2015-09-231-1/+1
|\ \ | | | | | | | | | | | | b761e90d CPack: remove accidental changes
| * | CPack: remove accidental changesDomen Vrankar2015-09-231-1/+1
| | | | | | | | | | | | | | | Remove changes accidentally included in commit b58de9fe (CPack: allow packaging of empty directories, 2015-09-22).
* | | Merge topic 'cpack-package-empty-dirs'Brad King2015-09-2213-3/+38
|\ \ \ | |/ / | | | | | | | | | | | | b58de9fe CPack: allow packaging of empty directories 47b060ae CPackDeb: allow empty directories in component packages
| * | CPack: allow packaging of empty directoriesDomen Vrankar2015-09-2212-1/+37
| | |
| * | CPackDeb: allow empty directories in component packagesRaffi Enficiaud2015-09-211-2/+1
| |/
* | Merge topic 'ctest-variable-docs'Brad King2015-09-221-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 4da5a227 Help: document CTEST_CUSTOM_* variables 70c0cc72 ctest_read_custom_files: mention that ctest does this automatically 71c67e83 CTEST_CUSTOM_*: treat variables as lists 936a95d4 CTestCoverageCollectGCOV: replace tabulators
| * | CTestCoverageCollectGCOV: replace tabulatorsBen Boeckel2015-09-211-3/+3
| | |
* | | CMP0065: Restrict the use of CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGSChuck Atkins2015-09-2114-0/+95
| | | | | | | | | | | | | | | This new policy restricts the addition of the shared library link flags to executables only when the ENABLE_EXPORTS property is set to True.
* | | CMP0064: Fix recorded version of introduction to be 3.4Brad King2015-09-212-1/+11
| |/ |/| | | | | | | This policy was added for CMake 3.4 but accidentally recorded as 3.3. Fix this and update the RunCMake.CMP0064 test WARN case accordingly.
* | Merge topic 'pkg-config-variable-function'Brad King2015-09-213-0/+16
|\ \ | |/ |/| | | | | | | 51b83f14 FindPkgConfig: add a command to query arbitrary variables 7f7f1eec FindPkgConfig: use execute_process to strip trailing whitespace
| * FindPkgConfig: add a command to query arbitrary variablesBen Boeckel2015-09-213-0/+16
| |
* | Merge topic 'cpack-verbatim-variables'Brad King2015-09-215-0/+25
|\ \ | | | | | | | | | | | | bc2e54db Introduction of CPACK_VERBATIM_VARIABLES variable
| * | Introduction of CPACK_VERBATIM_VARIABLES variableRoman Donchenko2015-09-205-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If variable is set to TRUE, values of all variables prefixed with CPACK_ will be escaped so special characters such as dolar sign, quotes or foreward slash will not be lost. By default variable is treated as set to FALSE for back compatibility. The cpack_encode_variables macro is changed into a function to remove scope pollution. There should be no other effects.
* | | Merge topic 'cpack-deb-checksum-on-symlinks'Brad King2015-09-213-4/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | da295f45 CPack/Deb: checksum on symlinks release notes 7c7874c8 CPackDeb: preventing md5sum on symlinks
| * | | CPackDeb: preventing md5sum on symlinksRaffi Enficiaud2015-09-183-4/+29
| |/ / | | | | | | | | | | | | | | | - Direct call to cmSystemTools::ComputeFileMD5 - Avoiding hashing symlinks - Tests
* | | Merge topic 'fix-compatibility-mode-LOCATION'Brad King2015-09-213-0/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2514e426 CMP0026: Use compatibility codepath until configure is finished (#15748) b98f7712 cmGlobalGenerator: Add API for the configure step being finished. b5de2bd9 cmLocalGenerator: Simplify condition.
| * | | CMP0026: Use compatibility codepath until configure is finished (#15748)Stephen Kelly2015-09-183-0/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Use it instead of the similar cmMakefile API. It is necessary to know that the Configure step is completely done, not just that one particular cmMakefile is finished configuring. Prior to commit 611220f7 (cmTarget: Use reliable test for CMP0024 and CMP0026 OLD., 2015-07-25), this was determined by checking whether cmGeneratorTargets exist yet, which happens after the Configure step.
* | | Merge topic 'ctest-custom-output-size'Brad King2015-09-217-0/+69
|\ \ \ | |/ / |/| | | | | | | | | | | fd47df45 CTest: Add options to limit output of passed and failed tests 6e3151f6 CTest: Document and test custom output size settings
| * | CTest: Add options to limit output of passed and failed testsRoman Wüger2015-09-184-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ctest command-line options: --test-output-size-passed <n> --test-output-size-failed <n> to set the amount of test output to store in Test.xml as a command-line dashboard client.
| * | CTest: Document and test custom output size settingsBrad King2015-09-183-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation and tests for the existing CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE CTest variables.
* | | Merge topic 'compute-default-dialect'Brad King2015-09-181-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 7235334a Project: Determine default language dialect for the compiler.
| * | | Project: Determine default language dialect for the compiler.Stephen Kelly2015-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use the __cplusplus and __STDC_VERSION__ macros to automatically determine the default dialect for the compiler while determining its id and version.
* | | | Merge topic 'ms-manifest-files'Brad King2015-09-1812-0/+72
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e134e53b Add support for *.manifest source files with MSVC tools da00be63 MSVC: Rewrite manifest file handling with Makefile and Ninja d488b5c9 Ninja: Always add OBJECT_DIR variable to link rules 6d620f5a VS: Add manifest tool settings to VS 8 and 9 project files
| * | | | Add support for *.manifest source files with MSVC toolsBrad King2015-09-1712-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Classify .manifest sources separately, add dependencies on them, and pass them to the MS manifest tool to merge with linker-generated manifest files. Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
* | | | | Merge topic 'test-RunCMake-BuildDepends'Brad King2015-09-188-1/+84
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | 73a058f8 Tests: Add RunCMake.BuildDepends test 438fabf2 Tests: Teach RunCMake infrastructure to use custom check.cmake file
| * | | | Tests: Add RunCMake.BuildDepends testBrad King2015-09-177-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | This will allow more granular checks than the main BuildDepends test. Start with a simple single-source C program.
| * | | | Tests: Teach RunCMake infrastructure to use custom check.cmake fileBrad King2015-09-171-1/+5
| | | | |
* | | | | Merge topic 'test-RunCMake-exclude-more-output'Brad King2015-09-181-1/+1
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | | | | | f38625be Tests: Teach RunCMake to tolerate 'Bullseye Testing' lines in test output 1a75a966 Tests: Teach RunCMake to tolerate 'Time Machine' lines in test output
| * | | Tests: Teach RunCMake to tolerate 'Bullseye Testing' lines in test outputBrad King2015-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When testing under Bullseye coverage, some tests get lines on stderr of the form: ... Bullseye Testing Technology ... Remove such lines from output before matching because they are not representative of the actual test output.
| * | | Tests: Teach RunCMake to tolerate 'Time Machine' lines in test outputBrad King2015-09-171-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | On some OS X machines some tests get lines on stderr of the form: ... attempting to exclude an item from Time Machine by path ... produced by the system. Remove such lines from output before matching because they are not representative of the actual test output.
* | | Merge topic 'cpack-deb-fakeroot-removal'Brad King2015-09-176-11/+68
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | becb14c9 CPack/DEB: test preserve extra config file permissions 7044e8ee CPackDeb: use of libarchive and removal of fakeroot 415405a3 cmArchiveWrite: control user/group, permissions and recursive file adding 4f2ff601 Tests: Make RunCMake.CPack error messages more readable 81b748ae cmGeneratedFileStream: Fix spelling in comment
| * | CPack/DEB: test preserve extra config file permissionsDomen Vrankar2015-09-173-5/+42
| | |
| * | CPackDeb: use of libarchive and removal of fakerootRaffi Enficiaud2015-09-171-0/+19
| | |
| * | Tests: Make RunCMake.CPack error messages more readableRaffi Enficiaud2015-09-173-6/+7
| | |
* | | Merge topic 'test-search-ordering'Brad King2015-09-165-0/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 7a6e5f06 Tests: Cover find_program when the environment duplicate some HINTS 40122975 Merge branch 'fix-bad-search-ordering' into test-search-ordering 02440154 find_*: Fix search order when the environment duplicates some HINTS
| * | Tests: Cover find_program when the environment duplicate some HINTSBrad King2015-09-155-0/+12
| | | | | | | | | | | | Reported-by: Marc CHEVRIER <marc.chevrier@sap.com>
* | | Merge topic 'fix-buildsystem-property-append'Brad King2015-09-1411-5/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed258d60 Tests: Cover set_property for buildsystem directory properties fb45c371 cmState: Only append non-empty values to buildsystem properties. 158f7e31 cmMakefile: Use appropriate parameter name. 08ce3f48 cmTarget: Only append non-empty values to buildsystem properties.
| * | | Tests: Cover set_property for buildsystem directory propertiesBrad King2015-09-119-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the RunCMake.set_property test with cases covering buildsystem directory properties: * COMPILE_DEFINITIONS * COMPILE_OPTIONS * INCLUDE_DIRECTORIES Also test a non-buildsystem property to document the equivalence in behavior.
| * | | cmTarget: Only append non-empty values to buildsystem properties.Stephen Kelly2015-09-115-5/+5
| | |/ | |/| | | | | | | | | | | | | This is a change in behavior from CMake 3.3, but there is no semantic meaning to empty entries in buildsystem properties. This also restores behavior to that of CMake 2.8.10.
* | | CMakeParseImplicitLinkInfo: Do not match "VAR=..." as link line (#15737)Brad King2015-09-111-0/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiling with LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' the compiler output includes a line like COLLECT_GCC_OPTIONS='-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ... that our link line regex matches due to an argument ending in "-ld". Since it is not really the link line no implicit link information is dectected. Exclude "VAR=..." lines from consideration as link lines to fix this.
* | Merge topic 'cpack-cmake-special-characters-mangling'Brad King2015-09-104-0/+14
|\ \ | | | | | | | | | | | | 2a7772ff CPack: don't mangle CMake-special characters when applying default settings
| * | CPack: don't mangle CMake-special characters when applying default settingsRoman Donchenko2015-09-094-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mangling is prevented by using a function instead of a macro for setting default value of some CPack variables. Function is meant for internal use in CPack.cmake only. Old macro is deprecated but kept for backwards compatibility - was intended for internal use only as it can't be used for CPack after CPack.cmake script is included. Patch removes local workarounds that were required by old macro, fixes default setting of variables that by default inherit value from another variable that already went through old default setting macro (e.g. value of CPACK_PACKAGE_INSTALL_REGISTRY_KEY caused error for wrong escapes if CPACK_PACKAGE_INSTALL_DIRECTORY contained escaped back slashes) and provides a test for correct escaping of characters.
* | | CPack/Deb: enable per component setting of dependenciesDomen Vrankar2015-09-092-12/+37
|/ /
* | Merge topic 'more-swift2-fixes'Brad King2015-09-095-10/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9cdf6ef4 Swift: Add proper Swift compiler test 1aa29f0d Swift: Remove positive Swift language tests d778a1c2 Swift: Require Xcode 6.1 and for MacOS X at least SDK 10.10 4da60024 Swift: Fix Compiler-Id detection for Swift 2 874a265c Swift: Make SwiftMix compatible with Swift 2