summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-12/+12
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* Fix line too long style violationDavid Cole2011-08-031-1/+2
|
* CTest: print failed tests in index order (#11746)David Cole2011-08-031-3/+7
| | | | | | | | This deterministic ordering makes it easier for a developer comparing the ctest output of two test runs to see what changed from run to run. Thanks to Fraser Hutchison for the patch.
* RunSingleCommand: Replace verbose boolean with enumJohan Björk2011-07-281-1/+2
| | | | | No behaviour change, this prepares for adding a flag to skip the merging of output streams.
* CTest: Report tests not run due to unknown configurationBrad King2011-06-101-0/+4
| | | | | | | | | | | | | When add_test(NAME) is called without the CONFIGURATIONS argument then the test is intended to run in any configuration. In multi-config generators like the VS IDE and Xcode tests created by add_test(NAME) can only be run when testing a known configuration (otherwise there is no way to generate the test command line). If no test command line is known for a particular configuration, or if no configuration is given to ctest, report the test as not run instead of silently skipping it. Also fix CMake's own TestsWorkingDirectory test invocation to correct a previously silent failure exposed by this change.
* Fix a memory leak.Bill Hoffman2011-06-061-0/+1
|
* Implement ctest_upload commandZach Mullen2011-03-151-43/+1
|
* Remove trailing whitespaceBrad King2011-03-111-35/+35
|
* Merge topic 'fix-test-output-truncation'Brad King2011-01-111-47/+28
|\ | | | | | | | | e73bf1c CTest: Do not truncate UTF-8 test output too early (#10656)
| * CTest: Do not truncate UTF-8 test output too early (#10656)Brad King2011-01-041-47/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit e4beefeb (CTest: Do not munge UTF-8 output in XML files, 2009-12-08) we validate UTF-8 encoding of build and test output as it is written to XML files. However, in cmCTestTestHandler::CleanTestOutput we still processed test output one byte at a time and did not recognize multi-byte UTF-8 characters. Presence of such characters caused early truncation. Teach CleanTestOutput to truncate test output at the limit but without cutting it in the middle of a multi-byte encoding. Also, stop avoiding truncation in the middle of an XML tag like "<MyElement>" because the '<' and '>' will be properly escaped in the generated XML anyway.
* | Test TIMEOUT property explicitly set to zero should be honoredZach Mullen2011-01-031-0/+2
|/
* Merge topic 'dev/add_test-working-directory'Brad King2010-12-281-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 667a90a Fix sentence break in add_test documentation 96309fc Make TestsWorkingDirectory test a C file a4a5e37 Use iostream to make Borland happy cfe53cd Fully specify the path to old-signature add_test 017d4e9 Group adding tests with its properties 561cc33 Only test the default cwd with Makefiles d87bae7 Simplify the _default_cwd derivation 992c74f Use --><-- markers to denote the path 5249551 Flip slashes around on Windows 0a014da Add ctype.h include for toupper() af12f83 Fix header includes for C++ and Visual Studio 5597aa2 Rename the project to match the test 9bf4165 Add tests for WORKING_DIRECTORY arg to add_test 42de5d0 Add WORKING_DIRECTORY argument to add_test 7679f9f Rename WorkingDirectory test d95f817 Add the WORKING_DIRECTORY property to tests
| * Add the WORKING_DIRECTORY property to testsRolf Eike Beer2010-12-161-1/+4
| |
* | CTest: multiple ctest_test calls w/LABEL regexs (#11487)Clinton Stimpson2010-12-171-0/+2
|/ | | | | The Initialize method was not re-initializing everything that it should have been. This commit fixes that.
* Added CTest command --print-labelsZach Mullen2010-08-311-2/+7
| | | | | | This command allows a user to quickly see the list of all available test labels. The labels are also printed in verbose show only mode, alongside their corresponding tests.
* Eliminate -Wconversion warnings.David Cole2010-06-271-3/+5
| | | | | | Change types of local variables, or casting, or re-arrange expressions to get rid of "conversion may alter value" warnings as seen on recent dashboard submissions from londinium.kitware.
* Do not exit if stoptime is passed.Zach Mullen2010-06-151-2/+2
|
* Added RESOURCE_LOCK test property.Zach Mullen2010-03-021-0/+11
|
* Use historical average of test times to schedule tests.Zach Mullen2010-02-261-0/+1
|
* CTest output submitted to the dashboard is now compressed by default.Zach Mullen2009-12-171-1/+4
|
* Added an option to conditionally attach files to a test submission only if ↵Zach Mullen2009-12-161-4/+23
| | | | the test does not pass. Also some preliminary changes for test output compression.
* Changed XML formatting of files attached to test so that each file is ↵Zach Mullen2009-12-151-26/+17
| | | | archived and marked up individually, in order to make things easier on the CDash side. Also switched to using the NamedMeasurement tag instead of a new tag.
* CTest-side changes to allow users to attach arbitrary files to test results ↵Zach Mullen2009-12-151-2/+90
| | | | that will be submitted to cdash using the ATTACHED_FILES test property.
* Unfortunately, I noticed the comment on bug 8668 too late. This changes my ↵Zach Mullen2009-12-101-27/+6
| | | | last implementation of the exe wrapper to something which makes much more sense: a REQUIRED_FILES property on tests.
* [0008668: CTest Dev: Missing executables shown as failed tests when using ↵Zach Mullen2009-12-101-2/+28
| | | | MPI.] Added a wrapping option to add_test so that exes built by the project can be safely wrapped in other exes and be listed as "not run" rather than "failed" if they are not built.
* Local test timeouts will now always take precedence over the global ↵Zach Mullen2009-12-081-2/+1
| | | | --timeout option.
* CMake global timeout (--timeout option) should prevail over individual test ↵Zach Mullen2009-12-071-1/+2
| | | | timeouts if it is lower than the individual timeout.
* Hanle the case where a test can not be run because it is a bad executable.Bill Hoffman2009-12-021-4/+3
|
* Added the --timeout option to ctest command line. This sets a global ↵Zach Mullen2009-11-301-0/+5
| | | | timeout on all tests if no more specific timeout is set on them.
* Change logic of ctest subdirs command to allow for absolute paths. Also ↵Zach Mullen2009-11-101-6/+9
| | | | added test coverage for passing absolute paths to subdirs.
* Bug 9090: CTest does not handle absolute paths in CTestTestfile SUBDIR( ) ↵Zach Mullen2009-11-091-0/+6
| | | | | | entries. The ctest subdirs command now checks the relative path first, and if that does not exist, also checks if the given path was absolute. Thanks vodall for the patch.
* Hook for scheduling tests in a random orderZach Mullen2009-10-291-1/+17
| | | | | This may help statistically detect implicit dependencies among unit tests while running in parallel.
* BUG: #0009648 Change "The following tests FAILED" message to print on stdout ↵Zach Mullen2009-10-051-1/+1
| | | | rather than stderr
* Fix warnings in CMake source code.David Cole2009-10-021-5/+5
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Add label summary times to ctest default output. Also, remove parallel time ↵Bill Hoffman2009-09-111-20/+32
| | | | output. Add flag to disable label summary.
* BUG: Fixed segfault and bad reporting if a ctest executable could not be ↵Zach Mullen2009-09-101-12/+15
| | | | found. Also added some batch testing code that is not yet complete.
* ENH: ctest now writes time cost data to a file after a test set is run, and ↵Zach Mullen2009-09-081-3/+1
| | | | uses these time costs to schedule the processes the next time ctest is run in that build tree.
* ENH: Replaced the EXPENSIVE test property with a COST test property taking a ↵Zach Mullen2009-09-081-9/+6
| | | | floating point value. Tests are now started in descending order of their cost, which defaults to 0 if none is specified.
* ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow ↵Zach Mullen2009-09-071-0/+5
| | | | specification of resource allocation for given tests running with the ctest -j N option. RUN_SERIAL ensures that a given test does not run in parallel with any other test. Also forced appending of "..." to the longest test name in ctest.
* Added the test property EXPENSIVE, which denotes that the given test(s) ↵Zach Mullen2009-09-041-3/+9
| | | | should be started prior to tests that are not marked as such. Also fixed test dependencies, and a few uninitialized variables in cmProcess.
* Fixed warningsZach Mullen2009-09-031-0/+5
|
* ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵Zach Mullen2009-09-031-0/+9
| | | | option to set_tests_properties (implementation to come).
* ENH: Added PARALLEL_LEVEL option to ctest_test() command.Zach Mullen2009-09-021-1/+5
|
* Fixed Dart time recording for ctestZach Mullen2009-08-311-0/+6
|
* Fixed conversion warning on 64 bit machinesZach Mullen2009-08-311-314/+0
|
* MemCheck should now work again in ctestZach Mullen2009-08-281-6/+3
|
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-281-32/+8
| | | | coming soon...
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-271-267/+62
| | | | for ctest
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-261-72/+31
| | | | specified, defaults to a MP level of 1 (non parallel)