summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | Tests: Extend RunCMake.CommandLine to cover 'cmake --build' for 'ninja -v'Brad King2015-02-263-0/+22
| |/ /
* | | CPackRPM: Consolidate CPackComponentsForAll test case coverageDomen Vrankar2015-02-271-25/+5
| | | | | | | | | | | | | | | | | | | | | | | | Use test infrastructure added by commit 1cbb1562 (Fix handling of relocation prefix parent directories, 2015-02-26) to cover the same use cases from tests added by commit 5857ca5e (CPackRPM: Drop explicit handling of '@' symbols that breaks them, 2015-01-07) and drop the latter.
* | | Merge branch 'cpack_rpm_mulit_prefix_fixup' into ↵Domen Vrankar2015-02-272-3/+38
|\ \ \ | |/ / |/| | | | | | | | | | | | | | cpack_rpm_mulit_prefix_fixup-for-master Resolve conflict in Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake by combining the changes from both sides.
| * | CPackRPM: Fix handling of relocation prefix parent directoriesDomen Vrankar2015-02-272-3/+37
| | | | | | | | | | | | | | | | | | | | | In commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21) a regression was introduced that causes parent directories of relocation paths to be incorrectly included in the rpm. Fix this and make the test case more strict to cover it.
* | | Merge topic 'ExternalData-url-algo-map'Brad King2015-02-2613-0/+48
|\ \ \ | | | | | | | | | | | | | | | | f7f4ca55 ExternalData: Add support for custom algorithm-to-URL mapping
| * | | ExternalData: Add support for custom algorithm-to-URL mappingBrad King2015-02-2513-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow URL templates to contain a %(algo:<key>) placeholder that is replaced by mapping the canonical hash algorithm name through a map defined by the <key>. Extend the Module.ExternalData test to cover the behavior. Extend the RunCMake.ExternalData test to cover error cases.
* | | | Tests: Drop CTestTestFailedSubmit-* testsBrad King2015-02-242-91/+0
|/ / / | | | | | | | | | | | | | | | Everything they cover is now covered by RunCMake.ctest_submit test cases (except ctest_coverage LABELS which were not actually checked anyway). Drop these redundant tests.
* | | Merge topic 'osx-framework-search-platform-SDKs'Brad King2015-02-243-1/+10
|\ \ \ | | | | | | | | | | | | | | | | 0ee2a004 OS X: Add platform-specific Frameworks search path
| * | | OS X: Add platform-specific Frameworks search pathGregor Jasny2015-02-233-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise find_library is unable to lookup the XCTest framework which is not located in the SDK serach path: In the 10.10 SDK the SDK frameworks are located here: $DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks whereas the Platform SDKs are located here: $DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/Library/Frameworks Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* | | | Merge topic 'FeatureSummary-no-duplicates'Brad King2015-02-243-0/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 38ef2b73 FeatureSummary: Print each feature info only once
| * | | | FeatureSummary: Print each feature info only onceGregor Jasny2015-02-233-0/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | If a feature is added multiple times via ADD_FEATURE_INFO it should appear only once in FEATURE_SUMMARY. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>