summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Qbs: Add new 'extra' generator for qbs project filesStanislav Ionascu2015-03-201-1/+15
|
* 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>
* | | | Merge topic 'rpm_at_in_path'Brad King2015-02-242-2/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 5857ca5e CPackRPM: Drop explicit handling of '@' symbols that breaks them (#14782)
| * | | | CPackRPM: Drop explicit handling of '@' symbols that breaks them (#14782)Domen Vrankar2015-02-242-2/+26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v2.8.12~218^2 (CPackRPM protect '@' character in filename processed in the spec file, 2013-07-05) was not necessary after commit v2.8.12~439^2 (Add support for componentized USER spec file, 2013-04-01). The latter replaced ${VAR} references in the spec file template string with \@VAR\@ references, thus protecting '@' symbols automatically. This caused CPackRPM to break paths with @ symbols. Revert the change to fix the behavior, and add a test case.
* | | | Merge topic 'ctest-output-options'Brad King2015-02-2440-1/+265
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff1ddd2a ctest_upload: Add QUIET option 0b87b2a3 ctest_memcheck: Add QUIET option fc58bdb9 ctest_coverage: Add QUIET option 876a680d ctest_test: Add QUIET option 49ba4545 ctest_build: Add QUIET option f999dc0b ctest_configure: Add QUIET option 645ad117 ctest_update: Add QUIET option 19d1a559 ctest_start: Add QUIET option 1643b905 ctest_submit: Add QUIET option 12db1139 CTest: Add cmCTestOptionalLog macro
| * | | | ctest_upload: Add QUIET optionZack Galbreath2015-02-236-0/+31
| | | | |
| * | | | ctest_memcheck: Add QUIET optionZack Galbreath2015-02-233-1/+3
| | | | |
| * | | | ctest_coverage: Add QUIET optionZack Galbreath2015-02-236-0/+37
| | | | |
| * | | | ctest_test: Add QUIET optionZack Galbreath2015-02-236-0/+34
| | | | |
| * | | | ctest_build: Add QUIET optionZack Galbreath2015-02-236-0/+43
| | | | |
| * | | | ctest_configure: Add QUIET optionZack Galbreath2015-02-236-0/+39
| | | | |
| * | | | ctest_update: Add QUIET optionZack Galbreath2015-02-232-0/+39
| | | | |
| * | | | ctest_start: Add QUIET optionZack Galbreath2015-02-236-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | This suppresses all non-error messages that would have otherwise been printed by this function.
| * | | | ctest_submit: Add QUIET optionZack Galbreath2015-02-234-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Specifying this option prevents CTest from printing any non-error messages to the console for this call to ctest_submit().
* | | | | Merge topic 'test-RunCMake-refactor-ctest'Brad King2015-02-24149-120/+104
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2b9e7f7 Tests: Drop unnecessary stderr matching from RunCMake.ctest_memcheck 7ce9f6e2 Tests: Teach RunCMake to tolerate 'Error kstat returned' lines in test output 69de0f7e Tests: Teach RunCMake to tolerate Guard Malloc lines in test output 57f2aa7c Tests: Teach RunCMake to tolerate BullseyeCoverage lines in test output b04c8ec3 Tests: Match curl error in RunCMake.ctest_submit FailDrop-* cases 1d82105e Tests: Rename RunCMake.{CTestMemcheck => ctest_memcheck} d7662141 Tests: Rename RunCMake.{CTestSubmit => ctest_submit} 9b50388b Tests: Split RunCTest helper out of RunCMake.CTest(Submit|Memcheck) 76e7c22b Tests: Rename RunCMake.CTestMemcheck internals to match CTestSubmit