summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'robust-ctest_empty_binary_directory'Brad King2013-11-042-3/+63
|\ | | | | | | | | | | 35fbc10 CTest: more aggressive implementation of ctest_empty_binary_directory() 9d9f102 Tests: added test for ctest_empty_binary_directory()
| * CTest: more aggressive implementation of ctest_empty_binary_directory()Nils Gladitz2013-11-022-3/+63
| | | | | | | | | | | | | | | | | | Make sure that CMakeCache.txt is the last file being removed since the binary directory may be left in a state that is no longer removable otherwise. Also retry removal a couple of times which makes this more robust on windows where file locks may temporarily prevent removal.
* | Merge topic 'ctest-p4'Brad King2013-11-021-11/+1
|\ \ | | | | | | | | | | | | 1b54b1d ctest_update: Do not remove the p4 depot name
| * | ctest_update: Do not remove the p4 depot namePedro Navarro2013-11-011-11/+1
| |/ | | | | | | | | | | Instead of removing the depot name, which causes problems when looking at the file change list in CDash, make the Update test remove a given prefix from the files retrieved from Update.xml.
* | CTest: prevent tests from being inserted in the cost list twiceNils Gladitz2013-10-311-1/+8
|/
* CTest: clean TargetDirs between unrelated coverage runs (issue 13143)Nils Gladitz2013-10-291-0/+1
|
* CTest: restore old failed test priority in serial test runsNils Gladitz2013-10-271-3/+4
|
* Merge topic 'ctest-fix-run-serial'Brad King2013-10-262-59/+85
|\ | | | | | | | | | | | | | | | | | | | | | | ff59365 CTest: fix dashboard issues associated with the ctest-fix-run-serial topic 7a665ae CTest: added test for RUN_SERIAL issue #14484 384beff CTest: added comments that describe the basic test sorting approach adbe00d CTest: removed redundant copy of test dependency set 1b750cb CTest: perform cycle test early 6d4d7ca CTest: consider previously failed tests before all others e809d8c CTest: prioritize tests by their depth in the dependency graph 44017a4 CTest: handle dependent and non dependent test requirements equally
| * CTest: fix dashboard issues associated with the ctest-fix-run-serial topicNils Gladitz2013-10-251-7/+20
| |
| * CTest: added comments that describe the basic test sorting approachNils Gladitz2013-10-211-0/+7
| |
| * CTest: removed redundant copy of test dependency setNils Gladitz2013-10-211-7/+1
| |
| * CTest: perform cycle test earlyNils Gladitz2013-10-192-1/+8
| |
| * CTest: consider previously failed tests before all othersNils Gladitz2013-10-191-15/+10
| |
| * CTest: prioritize tests by their depth in the dependency graphNils Gladitz2013-10-181-4/+45
| |
| * CTest: handle dependent and non dependent test requirements equallyNils Gladitz2013-10-171-40/+9
| |
* | ctest_update: Add support for Perforce p4 clientPedro Navarro2013-10-265-1/+674
|/ | | | | | | | | | | Teach the ctest_update implementation to use the p4 command-line client to perform updates and extract the list of changes. Add a CTest.UpdateP4 test like those that exist already for the other version control tools. Make the test available when p4 and the p4d server are found. During the test launch p4d in the background to serve a repository from the test directory. Then direct the client toward this server for the duration of the test.
* Drop builtin command documentationBrad King2013-10-1614-355/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* Drop "full" documentation output typesBrad King2013-10-152-7/+0
| | | | | | | | | | | | | | | | We will no longer support full documentation generation from executables and will instead generate documentation with other tools. Disable (with a warning left behind) the command-line options: --copyright --help-compatcommands --help-full --help-html --help-man Drop supporting code. Drop manual sections generation from executables. Remove internal documentation construction APIs. Drop unused sections See Also, Author, Copyright, Compat Commands, Custom Modules.
* Merge topic 'Add-coverage.py-Coverage'Brad King2013-10-084-0/+199
|\ | | | | | | | | d0ec3a0 Adding support for the Python coverage.py tool.
| * Adding support for the Python coverage.py tool.Patrick Reynolds2013-10-084-0/+199
| | | | | | | | | | | | This assumes that coverage.py has been run in such a way to produce its standard XML output. This uses the Cobertura schema and should be somewhat generalizable.
* | Merge topic 'ctest_rerun_failed'Brad King2013-10-082-2/+149
|\ \ | | | | | | | | | | | | eb2decc ctest: Add --rerun-failed option
| * | ctest: Add --rerun-failed optionZack Galbreath2013-10-082-2/+149
| |/ | | | | | | | | | | | | | | Add a new command line argument to ctest. This allows users to rerun tests that failed during the previous call to ctest. This is accomplished by analyzing the most recently modified file named "^LastTestsFailed*" in the Testing/Temporary subdirectory of the project's binary directory.
* | Merge topic 'generate-modern-style'Brad King2013-10-071-2/+2
|\ \ | |/ |/| | | | | | | 027a020 Merge branch 'test-property-genex' into generate-modern-style 33055c4 Generate modern-style cmake code.
| * Generate modern-style cmake code.Stephen Kelly2013-08-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | The commits 9db31162 (Remove CMake-language block-end command arguments, 2012-08-13) and 77543bde (Convert CMake-language commands to lower case, 2012-08-13) changed most cmake code to use lowercase commands and no parameters in termination commands. However, those changes excluded cmake code generated in c++ by cmake. Make a similar style change to code generated by cmake.
* | CTest: Fix GTM coverage parsing line offset bugZack Galbreath2013-08-291-2/+2
|/ | | | | | In cmParseGTMCoverage::ReadMCovFile, initialize the lineoffset variable. Also set lastoffset only if the function is found (thanks to Bill Hoffman).
* CTest: create one output file per memcheck (#14303)Rolf Eike Beer2013-08-076-43/+87
| | | | | | The output file used for memory checker runs must be unique for every test run in parallel, so simply make them unique for every test run. Simply use the test index to avoid collisions.
* Revert "CTest: fix pre and post test commands with spaces" (#13887)Rolf Eike Beer2013-07-271-3/+2
| | | | | | | This reverts commit 6187876dea89618044e200808bcae75a18bd4043. It was actually possible before to have paths with spaces in them, the spaces just need to be quoted. This way spaces will work as argument separators.
* Remove some uses of obsolete 'register' storage specifierSean McBride2013-06-281-1/+1
| | | | Remove the keyword from all Source/* files outside of KWSys.
* Merge topic 'CTest-less-cd'Brad King2013-05-161-2/+1
|\ | | | | | | | | 9969bfb CTest: avoid useless changing of directory
| * CTest: avoid useless changing of directoryRolf Eike Beer2013-05-151-2/+1
| | | | | | | | | | | | At this point we do not care what the current directory is, as nothing that requires a specific directory is done. Just make sure that at the end we are back in the same directory as at the start.
* | Merge topic 'MemChecker-improvements'Brad King2013-05-163-16/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10bc50e Tests: ignore Guard Malloc messages in MemChecker tests 159c3e9 Tests: add a test with custom options passed to valgrind 61ddb93 CTest: fix comment documenting cmBoundsCheckerParser class cbdfcb0 Tests: add test for non-existent Valgrind suppression file 3b5b758 CTest: drop suppression for gcc 2.9.6 errors from default Valgrind flags 7752253 Tests: verify that memory checker output files are always present abf1df4 Tests: remove code duplication in CTestTestMemCheck tests f499422 CTest: remove unreachable code and CTestTestMemcheckUnknown test dde6306 CTest: use an output file for Valgrind (#14110) bcc0f3f Tests: create output files for all memory checkers
| * | CTest: fix comment documenting cmBoundsCheckerParser classRolf Eike Beer2013-05-091-2/+1
| | | | | | | | | | | | | | | This was obviously copied from Source/cmGlobalXCodeGenerator.cxx during implementation but the comment was forgotten.
| * | CTest: drop suppression for gcc 2.9.6 errors from default Valgrind flagsRolf Eike Beer2013-05-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The --workaround-gcc296-bugs has been part of the default Valgrind flags since Valgrind support was added in commit 5b232ded151fc22144978b74cdaf7031d466e527 (ENH: Add initial memory check support which works for Valgrind, 2003-12-15). The Valgrind manpage says that this option should be avoided if not really needed as it may cause real errors to get ignored. If someone uses a compiler that really needs the flag this flag should be set by the user explicitely. Most users will never set any flags and probably never notice that they use a flag they shouldn't.
| * | CTest: remove unreachable code and CTestTestMemcheckUnknown testRolf Eike Beer2013-05-091-7/+0
| | | | | | | | | | | | | | | | | | | | | The memory checker command can't be quoted at this point, because previously it has been tested that the given file exists, which will fail if the name is quoted. The CTestTestMemcheckUnknown test aimed to test this case, has always failed to do so and serves no useful purpose therefore.
| * | CTest: use an output file for Valgrind (#14110)Rolf Eike Beer2013-05-093-6/+36
| |/ | | | | | | | | This makes sure Valgrind output will not screw up tests that match on the output.
* | Merge topic 'only-first-output-regex'Brad King2013-05-161-0/+2
|\ \ | | | | | | | | | | | | 12cf7bc CTest: break after first regex match on output
| * | CTest: break after first regex match on outputRolf Eike Beer2013-05-111-0/+2
| |/ | | | | | | | | | | PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION both take a list of expressions. Stop searching if the first of those has matched the output as the result will not change anymore.
* | Merge topic 'positive-test-times'Brad King2013-05-161-0/+8
|\ \ | | | | | | | | | | | | e319e32 CTest: make sure never to report negative test times (#14132)
| * | CTest: make sure never to report negative test times (#14132)Rolf Eike Beer2013-05-101-0/+8
| |/ | | | | | | | | | | | | Because of clock scew between processors or just because of someone changing the system time the end timestamp may be before the start time. Reporting a negative time doesn't any sense, just report zero there as it already happens for really fast tests.
* | Merge topic 'doc-improvements'Brad King2013-05-161-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cc2805 Docs: Clarify wording "flag used" => "flag (to|will) be used" 2378a69 Docs: Clarify that CMAKE_*_(PREFIX|SUFFIX) affect filenames 56ca34d Docs: Update description of CMAKE_(BUILD_TYPE|CONFIGURATION_TYPES) 2bab472 VS10: add detailed comment about MIDL processing e619111 Explain distribution of Win9x binary on all Windows versions. 5ca4336 FindwxWidgets: add DOC strings with usual style f57800d Fix spelling and typos (product names) bf019d7 Fix spelling and typos (non-binary) ddac8d3 Fix spelling and typos (affecting binary data / module messages) 86832ce Fix spelling and typos (affecting users)
| * | Fix spelling and typos (non-binary)Andreas Mohr2013-05-071-2/+2
| |/
* | ctest_build: Pass projectDir to GenerateBuildCommandPetr Kmoch2013-04-121-1/+2
| | | | | | | | | | | | This allows the ctest_build command's TARGET option to name a target in a subdirectory and still build properly with msbuild. Add test case covering use of ctest_build() with such a TARGET.
* | CTest: Simplify ctest_* command source/build dir lookupBrad King2013-04-122-39/+14
| | | | | | | | | | | | | | | | In cmCTestHandlerCommand::InitialPass call InitializeHandler after setting the CTest "SourceDirectory" and "BuildDirectory" configuration values instead of before. This makes the values available to InitializeHandler methods in subclasses, so also drop the duplicate configuration of those values from cmCTestConfigureCommand::InitializeHandler.
* | Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-1/+1
|/ | | | | | | | Extend the cmGlobalGenerator::GenerateBuildCommand virtual method signature with a "projectDir" parameter specifying the top of the project build tree for which the build command will be generated. Populate it from call sites in cmGlobalGenerator::Build where a fully-generated build tree should be available.
* CTest: Fix ctest_update with 'HEAD' file in source treeBrad King2013-02-281-2/+2
| | | | | Add the '--' command-line separator to make the HEAD reference unambiguous. Extend the CTest.UpdateGIT test to cover this case.
* CTest: Add options to set generator toolsetBrad King2013-02-073-4/+30
| | | | | | | | | | The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_TOOLSET for -T. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-toolset" option to specify the -T value.
* CTest: Prevent creation of unbounded number of tests in ctest (#12904)Casey Goodlett2012-12-181-1/+6
| | | | | | Note it is still possible for CTest to start more than the number of processes specified by PARALLEL_LEVEL, but this prevents the number of tests to start from being unbounded because of overflow.
* CTest: Coverage handler: expect certain output lines from gcov 4.7 (#13657)David Cole2012-12-101-4/+11
| | | | And do not report them as errors.
* Always use the auto_ptr from cmsys.Stephen Kelly2012-11-201-2/+1
| | | | | | This is for consistency throughout cmake. The cmsys version exists becaues uses of auto_ptr types as return types does not work with some implementations in ancient compilers.
* Merge topic 'ctest-SUBMIT_INDEX-cdash'Brad King2012-11-061-1/+1
|\ | | | | | | | | 1cfaa2f CTest: Allow SUBMIT_INDEX with CDash