summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ctest-repeat-until-fail'Brad King2015-04-011-11/+11
|\ | | | | | | | | b687d672 Tests: Fix RunCMake.CTestCommandLine expected output time matching
| * Tests: Fix RunCMake.CTestCommandLine expected output time matchingBrad King2015-03-311-11/+11
| | | | | | | | | | | | When matching ctest command-line output, we must account for the formatting of times that take 10 seconds or more. The values are right-justified, so use " +" to match any amount of space before them.
* | Merge topic 'solaris-fix-target_link_libraries-test'Brad King2015-04-011-1/+11
|\ \ | | | | | | | | | | | | 0778016a Tests: Do not try to use invalid "ld -v" flag on Solaris
| * | Tests: Do not try to use invalid "ld -v" flag on SolarisBrad King2015-03-311-1/+11
| | | | | | | | | | | | | | | Fix the CMakeCommands.target_link_libraries test to use "-V" instead of "-v" on Solaris because the latter does not exist.
* | | CPackRPM: Add basic symlink support (#15209)Domen Vrankar2015-03-314-5/+185
|/ / | | | | | | | | | | | | RPM packages can contain symbolic links to relative paths - including support for multiple relocation paths through generation of post install relocation scripts. Add basic support with limitations described in documentation.
* | Merge topic 'cpack-archive-prefix'Brad King2015-03-304-0/+43
|\ \ | | | | | | | | | | | | e3f84fc5 cpack: Fix CPACK_PACKAGING_INSTALL_PREFIX handling for archives (#14677)
| * | cpack: Fix CPACK_PACKAGING_INSTALL_PREFIX handling for archives (#14677)Clinton Stimpson2015-03-304-0/+43
| | | | | | | | | | | | | | | Fix the case when the archive generator is used to package components with an install prefix.
* | | Merge topic 'add_dependencies-INTERFACE-libraries'Brad King2015-03-306-15/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | ac14cbf0 Allow add_dependencies() on INTERFACE libraries (#15414) 817d31db Help: Format add_dependencies documentation
| * | | Allow add_dependencies() on INTERFACE libraries (#15414)Brad King2015-03-276-15/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.0.0-rc1~175^2~20 (add_dependencies: Disallow use with INTERFACE_LIBRARY, 2013-12-25). Teach our dependency analysis to transitively follow INTERFACE target utility dependencies as was done or IMPORTED targets in commit v2.8.6~127^2~1 (Allow add_dependencies() on imported targets, 2010-11-19). Extend the InterfaceLibrary test with a case to cover header generation for a header-only INTERFACE library via a custom target.
* | | ExternalData: Add option to recursively match under directoriesBrad King2015-03-2721-0/+49
|/ / | | | | | | | | | | Extend the ``DATA{Dir/,...}`` syntax with a new ``RECURSE:`` option to enable recursive matching of associated files. This will allow an entire directory tree of data to be referenced at once.
* | Tests: Enable XCTest tests for Xcode 5Gregor Jasny2015-03-241-1/+1
| | | | | | | | Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* | Merge topic 'ninja-require-byproducts'Brad King2015-03-2318-0/+95
|\ \ | | | | | | | | | | | | | | | | | | | | | bd9c7f9b Ninja: Add policy to require explicit custom command byproducts ed8e30b0 cmGlobalNinjaGenerator: Optimize handling of known build outputs ad094f43 cmGlobalNinjaGenerator: Fix spelling of "unknown" 82a37d3c cmGlobalNinjaGenerator: Drop unused member
| * | Ninja: Add policy to require explicit custom command byproductsBrad King2015-03-2018-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add policy CMP0058 to avoid generating 'phony' ninja rules for unknown custom command dependencies. This requires projects to specify their custom command byproducts explicitly. With this requirement we no longer have to assume that unknown custom command dependencies are generated and can instead simply assume they are source files expected to exist when the build starts. This is particularly important in in-source builds. It is also helpful for out-of-source builds to allow Ninja to diagnose missing files before running custom command rules that depend on them.
* | | Merge topic 'add-extra-qbs-generator'Brad King2015-03-231-1/+15
|\ \ \ | | | | | | | | | | | | | | | | f85db2f3 Qbs: Add new 'extra' generator for qbs project files
| * | | Qbs: Add new 'extra' generator for qbs project filesStanislav Ionascu2015-03-201-1/+15
| |/ /
* | | Merge topic 'cpack-rpm-ignore-default-prefix'Brad King2015-03-232-2/+6
|\ \ \ | | | | | | | | | | | | | | | | 18917d66 CPack/RPM ignore install prefix relocation path
| * | | CPack/RPM ignore install prefix relocation pathDomen Vrankar2015-03-202-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch adds possibility to remove CPACK_PACKAGING_INSTALL_PREFIX from the list of relocation paths when crating a relocatable rpm.
* | | | Merge topic 'xcode-xctest'Brad King2015-03-2313-0/+902
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4178cd88 Help: Add notes for topic 'xcode-xctest' 87a4b858 Tests: Add XCTest example to test Frameworks and Cocoa App Bundles ba14510b OS X: Add FindXCTest module 3714955b OS X: Add handling for XCTest bundles 54a5cdbb Tests: Compute Xcode version for any generator on OS X
| * | | | Tests: Add XCTest example to test Frameworks and Cocoa App BundlesGregor Jasny2015-03-2313-0/+890
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
| * | | | Tests: Compute Xcode version for any generator on OS XBrad King2015-03-181-0/+12
| | |/ / | |/| | | | | | | | | | | | | | | | | | Store the version in CMake_TEST_XCODE_VERSION for use by tests that work with any generator on OS X but may depend on the Xcode version providing the tools.
* | | | Merge topic 'ctest-repeat-until-fail'Brad King2015-03-2314-0/+97
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | 6bce0276 Help: Add notes for topic 'ctest-repeat-until-fail' fde70a1b ctest: Add a new --repeat-until-fail option
| * | ctest: Add a new --repeat-until-fail optionBill Hoffman2015-03-2314-0/+97
| | | | | | | | | | | | | | | This option tells ctest to run each test N times until the test fails or the N times have run. This is useful for finding random failing tests.
* | | Merge topic 'file-globbing-directory-listing'Brad King2015-03-2013-0/+122
|\ \ \ | | | | | | | | | | | | | | | | | | | | 6e54b0b9 Help: Add notes for topic 'file-globbing-directory-listing' a2c068a7 file: Teach GLOB to list directories optionally
| * | | file: Teach GLOB to list directories optionallyDomen Vrankar2015-03-2013-0/+122
| | |/ | |/| | | | | | | | | | | | | GLOB lists directories by default and GLOB_RECURSE does not. LIST_DIRECTORIES enables user to control the behavior explicitly for consistently for both GLOB and GLOB_RECURSE.
* | | CPack/RPM improved component override testDomen Vrankar2015-03-172-12/+12
|/ / | | | | | | | | | | | | | | | | | | Component specific attributes test passed even when attribute was able to leak to the next component as library package is the last that is generated. This patch fixes the test as header package is generated in the middle so leakage causes the test to fail.
* | Merge topic 'cpack_rpm_old_version_tests'Brad King2015-03-171-10/+31
|\ \ | | | | | | | | | | | | | | | 140a53a8 CPack/RPM architecture test fixup 4552bc88 CPack/RPM relocation paths test fixup
| * | CPack/RPM architecture test fixupDomen Vrankar2015-03-151-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed architecture test that was missing architecture in regular expressions - bug was detected on older rpm versions where the check failed. Extended architecture test that takes into account older versions of rpm. This patch is related to 15442.
| * | CPack/RPM relocation paths test fixupDomen Vrankar2015-03-151-4/+6
| | | | | | | | | | | | | | | | | | | | | Patch fixes bug in test reported with id 15442 - older versions of rpm print out package info a bit differently so we should ignore white spaces
* | | Merge topic 'FindMatlab-rewrite'Brad King2015-03-1717-0/+271
|\ \ \ | | | | | | | | | | | | | | | | 49c8dcf7 FindMatlab: Rewrite module and provide a usage API
| * | | FindMatlab: Rewrite module and provide a usage APIRaffi Enficiaud2015-03-1717-0/+271
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a brand new FindMatlab module: - Add support for versions and components. - Find Matlab and its version in a more precise and multiplatform way. - Add API to create a new mex extension with documentation. - Add API to add matlab unit tests (with or without the unit test framework). - Find as much as possible based on a single Matlab_ROOT_DIR cache entry and allow the user to change it to re-find everything.
* | | CTest: Output test-specific env vars in verbose mode (#15446)Zach Mullen2015-03-175-0/+53
|/ / | | | | | | | | | | Any environment vars that were configured for a test via the ENVIRONMENT property will now be output when the test is run with verbose logging enabled.
* | Merge topic 'main_dependency_diagnostic'Brad King2015-03-1211-0/+70
|\ \ | | | | | | | | | | | | 242c3966 add_custom_command: Diagnose MAIN_DEPENDENCY limitation.
| * | add_custom_command: Diagnose MAIN_DEPENDENCY limitation.Nils Gladitz2015-03-0911-0/+70
| |/ | | | | | | | | The new policy CMP0057 diagnoses reuse of the same MAIN_DEPENDENCY across multiple custom commands.
* | Merge topic 'fix_jacoco_coverage_process'Brad King2015-03-122-0/+2
|\ \ | | | | | | | | | | | | c771f9d9 CTest: Fix Jacoco Coverage
| * | CTest: Fix Jacoco CoverageJoseph Snyder2015-03-062-0/+2
| |/ | | | | | | | | | | | | | | | | Rename the example jacoco.xml file to be jacoco.xml.in to stop CMake from apptempting to calculate Jacoco Coverage when running over itself. Enclose a push of -1 to the coverage vector to only happen if there is a fin to calculate for. This prevents a crash if the target file doesn't exist.
* | Merge topic 'target-language-genex'Brad King2015-03-1056-1/+404
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 232a6883 Help: Add release notes for target-language-genex. 9e168941 File(GENERATE): Process genex evaluation files for each language. b734fa44 Genex: Allow COMPILE_LANGUAGE when processing include directories. 0b945ea9 Genex: Allow COMPILE_LANGUAGE when processing compile definitions. 5c559f11 Genex: Enable use of COMPILE_LANGUAGE for compile options. e387ce7d Genex: Add a COMPILE_LANGUAGE generator expression. 4a0128f4 VS6: Compute CMAKE_*_FLAGS and COMPILE_DEFINITIONS* only when needed
| * | File(GENERATE): Process genex evaluation files for each language.Stephen Kelly2015-03-095-1/+32
| | |
| * | Genex: Allow COMPILE_LANGUAGE when processing include directories.Stephen Kelly2015-03-0910-0/+67
| | | | | | | | | | | | Issue an error if this is encountered by an IDE generator.
| * | Genex: Allow COMPILE_LANGUAGE when processing compile definitions.Stephen Kelly2015-03-098-0/+86
| | | | | | | | | | | | Issue an error if this is encountered by an IDE generator.
| * | Genex: Enable use of COMPILE_LANGUAGE for compile options.Stephen Kelly2015-03-0914-0/+100
| | | | | | | | | | | | | | | | | | Follow-ups will allow the use of the generator expression for compile definitions and include directories for non-IDE generators.
| * | Genex: Add a COMPILE_LANGUAGE generator expression.Stephen Kelly2015-03-0722-0/+119
| |/
* | Merge topic 'ExternalProject-byproducts-tokens'Brad King2015-03-101-0/+21
|\ \ | | | | | | | | | | | | 86032ae0 ExternalProject: Replace placeholder tokens in BYPRODUCTS
| * | ExternalProject: Replace placeholder tokens in BYPRODUCTSGaëtan Lehmann2015-03-091-0/+21
| |/ | | | | | | | | | | This allows the developer to specify the byproducts relative to the binary directory without the need to set the binary directory location explicitly.
* | Merge topic 'configure_file-NEWLINE_STYLE-no-warn'Brad King2015-03-1027-42/+54
|\ \ | |/ |/| | | | | | | 024e25e4 Tests: Add more signature tests to RunCMake.configure_file test 3ef776fc configure_file: Do not warn about newline style arguments
| * Tests: Add more signature tests to RunCMake.configure_file testBrad King2015-03-0927-42/+54
| | | | | | | | | | | | | | Move the test cases from Tests/CMakeTests/ConfigureFileTest.cmake.in over to use the RunCMake.configure_file infrastructure. This does much more robust verification of CMake output for each test case, and would have caught the regression fixed in our parent commit.
* | Merge topic 'fix-crash-on-bad-LANG_STANDARD'Brad King2015-03-024-0/+9
|\ \ | | | | | | | | | | | | 00d66557 Diagnose invalid <LANG>_STANDARD value instead of crashing (#15426)
| * | Diagnose invalid <LANG>_STANDARD value instead of crashing (#15426)Brad King2015-02-284-0/+9
| |/
* | Merge topic 'remove_error_read_script'Brad King2015-02-2720-20/+0
|\ \ | | | | | | | | | | | | 6bf13097 CTest: Drop "Error in read script" message at end of testing
| * | CTest: Drop "Error in read script" message at end of testingZack Galbreath2015-02-2720-20/+0
| | | | | | | | | | | | | | | | | | | | | A more-specific error message is always displayed earlier in the output if any real error occurred. This final summary message is distracting to readers searching through the output for the word "error". Simply drop it.
* | | Merge topic 'cmake-build-ninja-verbose'Brad King2015-02-273-0/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | d1082448 Tests: Extend RunCMake.CommandLine to cover 'cmake --build' for 'ninja -v' ce935ebe cmake: Teach --build to honor CMAKE_VERBOSE_MAKEFILE for Ninja