summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
Commit message (Collapse)AuthorAgeFilesLines
* cmCTest{Test,MemCheck}Handler: Port to cmXMLWriterDaniel Pfeifer2015-05-261-5/+6
|
* CTest: Generate NamedMeasurement elements directly into xml fileDaniel Pfeifer2015-05-261-2/+2
| | | | Re-order the logic to avoid use of a temporary std::ostringstream.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-9/+9
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* allow to mark a test as "Not Run" with a specific return code (#8466)Rolf Eike Beer2014-01-141-0/+2
|
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-5/+5
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* ctest: Add --rerun-failed optionZack Galbreath2013-10-081-0/+15
| | | | | | | | 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.
* CTest: create one output file per memcheck (#14303)Rolf Eike Beer2013-08-071-1/+1
| | | | | | 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.
* CTest: print failed tests in index order (#11746)David Cole2011-08-031-2/+11
| | | | | | | | 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.
* Implement ctest_upload commandZach Mullen2011-03-151-2/+0
|
* Remove trailing whitespaceBrad King2011-03-111-2/+2
|
* Test TIMEOUT property explicitly set to zero should be honoredZach Mullen2011-01-031-0/+1
|
* Added RESOURCE_LOCK test property.Zach Mullen2010-03-021-0/+1
|
* 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-0/+1
|
* Added an option to conditionally attach files to a test submission only if ↵Zach Mullen2009-12-161-0/+1
| | | | 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-1/+1
| | | | 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-0/+5
| | | | 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-3/+2
| | | | 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-1/+3
| | | | 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.
* 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.
* BUG: Fixed segfault and bad reporting if a ctest executable could not be ↵Zach Mullen2009-09-101-0/+1
| | | | found. Also added some batch testing code that is not yet complete.
* ENH: Replaced the EXPENSIVE test property with a COST test property taking a ↵Zach Mullen2009-09-081-1/+1
| | | | 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/+1
| | | | 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.
* Fixed warningsZach Mullen2009-09-031-0/+1
|
* ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵Zach Mullen2009-09-031-0/+2
| | | | option to set_tests_properties (implementation to come).
* Fixed ctest output where max test index is not the same width as the total ↵Zach Mullen2009-09-021-0/+3
| | | | number of tests. Also some preliminary changes for batching ctest jobs
* MemCheck should now work again in ctestZach Mullen2009-08-281-12/+1
|
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-281-1/+0
| | | | coming soon...
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-271-4/+1
| | | | for ctest
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-261-4/+2
| | | | specified, defaults to a MP level of 1 (non parallel)
* Fixed overwriting of a previous change setZach Mullen2009-08-191-0/+1
|
* ENH: Refactored CTest test execution code into an objectZach Mullen2009-08-191-1/+1
|
* If labels are found on the tests, then print a time summary for all the ↵Bill Hoffman2009-08-181-0/+1
| | | | tests run with each label.
* ENH: add a CDash measured value showing the reason for passed and failed ↵Bill Hoffman2009-02-241-0/+1
| | | | tests based on regular expressions
* ENH: add the ability to run tests by labelsBill Hoffman2009-02-101-0/+9
|
* ENH: Put test labels in MemCheck resultsBrad King2009-02-021-0/+3
| | | | | | | This refactors generation of <Test> element headers and footers in cmCTestTestHandler and re-uses it in cmCTestMemCheckHandler. The change removes duplicate code and enables the new <Labels> element for MemCheck results.
* BUG: fix for bug #8174Bill Hoffman2009-01-151-0/+1
|
* ENH: Teach CTest to submit test property LABELSBrad King2009-01-071-0/+1
| | | | | This teaches CTest to send the test property "LABELS" in Test.xml dashboard submissions as Label elements inside a Labels element.
* BUG: partial fix for #8056Bill Hoffman2008-12-191-0/+4
|
* ENH: Implement feature request from issue 7885. Allow setting environment ↵David Cole2008-11-261-0/+1
| | | | variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
* COMP: fix a few more warningsBill Hoffman2008-07-061-1/+1
|
* ENH: add initial ctest -j featureBill Hoffman2008-07-031-3/+32
|
* ENH: enhancements for cdash, include system information and better time entriesBill Hoffman2008-01-301-0/+2
|
* ENH: fix line length issuesBill Hoffman2007-09-241-2/+4
|
* ENH: fix failing test when valgrind is onBill Hoffman2007-09-191-2/+2
|
* ENH: add support for bounds checkerBill Hoffman2007-07-241-8/+9
|
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | -add a RESULT_VARIABLE to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to run the executables if they have a different suffix because they are probably crosscompiled, but nevertheless it should be able to find them -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake -add support for stripping during install in cmake_install.cmake -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a list of directories which will be prepended to all search directories, right now as a cmake variable, turning it into a global cmake property may need some more work -remove cmTestTestHandler::TryExecutable(), it's unused -split cmFileCommand::HandleInstall() into slightly smaller functions Alex
* ENH: support for --build-config-sample feature #1022Ken Martin2007-03-191-0/+19
|
* ENH: added per test timeout supportKen Martin2007-01-251-1/+9
|
* COMP: Fix Sun buildAndy Cedilnik2006-10-131-2/+1
|