Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove c_str calls when using stream APIs. | Stephen Kelly | 2014-03-11 | 1 | -1/+1 |
| | | | | | Use an ad-hoc clang tool for matching the calls which should be ported. | ||||
* | strings: Remove cmStdString references | Ben Boeckel | 2014-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
* | Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. | Clinton Stimpson | 2014-01-07 | 1 | -3/+4 |
| | | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames. | ||||
* | CTest: fix regressions introduced by the ctest-fix-run-serial topic | Nils Gladitz | 2013-12-23 | 1 | -4/+83 |
| | | | | | | The first regression resulted in endless looping due to unrun test dependencies. The second regression prioritized all tests with dependencies in serial test runs. | ||||
* | CTest: prevent tests from being inserted in the cost list twice | Nils Gladitz | 2013-10-31 | 1 | -1/+8 |
| | |||||
* | CTest: restore old failed test priority in serial test runs | Nils Gladitz | 2013-10-27 | 1 | -3/+4 |
| | |||||
* | CTest: fix dashboard issues associated with the ctest-fix-run-serial topic | Nils Gladitz | 2013-10-25 | 1 | -7/+20 |
| | |||||
* | CTest: added comments that describe the basic test sorting approach | Nils Gladitz | 2013-10-21 | 1 | -0/+7 |
| | |||||
* | CTest: removed redundant copy of test dependency set | Nils Gladitz | 2013-10-21 | 1 | -7/+1 |
| | |||||
* | CTest: perform cycle test early | Nils Gladitz | 2013-10-19 | 1 | -1/+7 |
| | |||||
* | CTest: consider previously failed tests before all others | Nils Gladitz | 2013-10-19 | 1 | -15/+10 |
| | |||||
* | CTest: prioritize tests by their depth in the dependency graph | Nils Gladitz | 2013-10-18 | 1 | -4/+45 |
| | |||||
* | CTest: handle dependent and non dependent test requirements equally | Nils Gladitz | 2013-10-17 | 1 | -40/+9 |
| | |||||
* | CTest: Prevent creation of unbounded number of tests in ctest (#12904) | Casey Goodlett | 2012-12-18 | 1 | -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. | ||||
* | Remove trailing whitespace from most CMake and C/C++ code | Kitware Robot | 2012-08-13 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//' | ||||
* | Use stable_sort to preserve test order (#11877) | David Cole | 2011-02-18 | 1 | -1/+1 |
| | | | | | | Using sort results in a possibly-modified sorting when all elements are "tied" - use stable_sort instead to preserve the original ordering of tied elements. | ||||
* | Support explicitly set test costs in non-parallel testing. | Zach Mullen | 2011-01-03 | 1 | -11/+13 |
| | |||||
* | CTest: Fix line-too-long style in DEPEND cycle error | Brad King | 2010-12-16 | 1 | -4/+4 |
| | |||||
* | CTest: Fix test DEPEND cycle detection | Brad King | 2010-12-15 | 1 | -16/+21 |
| | | | | | | | A cycle exists when the DFS returns to the root node, not just when multiple paths lead to the same node. Inspired-By: Alexander Esilevich <aesilevich@pathscale.com> | ||||
* | Remove debugging message from parallel ctest | Zach Mullen | 2010-12-01 | 1 | -6/+0 |
| | |||||
* | Added CTest command --print-labels | Zach Mullen | 2010-08-31 | 1 | -0/+42 |
| | | | | | | 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. | ||||
* | Merge branch 'improve-test-cost-sorting' | Brad King | 2010-07-06 | 1 | -57/+57 |
|\ | |||||
| * | More robust cost-based scheduling impl | Zach Mullen | 2010-07-01 | 1 | -57/+57 |
| | | |||||
* | | Fix cycle detection for test dependencies | Zach Mullen | 2010-06-30 | 1 | -17/+12 |
|/ | |||||
* | Eliminate -Wconversion warnings. | David Cole | 2010-06-27 | 1 | -2/+3 |
| | | | | | | 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. | ||||
* | Parallel CTest hangs if serial test has depends | Zach Mullen | 2010-06-23 | 1 | -1/+1 |
| | |||||
* | Do not exit if stoptime is passed. | Zach Mullen | 2010-06-15 | 1 | -0/+15 |
| | |||||
* | Cost-based test scheduling should only be done in parallel mode. | Zach Mullen | 2010-05-19 | 1 | -6/+15 |
| | |||||
* | Add unit test for RESOURCE_LOCK test property | Zach Mullen | 2010-03-03 | 1 | -3/+6 |
| | |||||
* | Added RESOURCE_LOCK test property. | Zach Mullen | 2010-03-02 | 1 | -1/+35 |
| | |||||
* | Close ifstream. | Zach Mullen | 2010-03-01 | 1 | -1/+5 |
| | |||||
* | If tests failed on the last run, have them run first next time | Zach Mullen | 2010-03-01 | 1 | -2/+31 |
| | |||||
* | Configurable path to CTest cost data file | Zach Mullen | 2010-03-01 | 1 | -5/+3 |
| | | | | Allow the user to set the CMake variable CTEST_COST_DATA_FILE, which will be used to store the cost data from test runs. If not set, defaults to the original location in the build tree Testing/Temporary dir. | ||||
* | Use historical average of test times to schedule tests. | Zach Mullen | 2010-02-26 | 1 | -21/+89 |
| | |||||
* | Re-enabled Scheduler test and fixed the underlying problem. | Zach Mullen | 2010-02-03 | 1 | -1/+1 |
| | |||||
* | Fix memory leak that occurred when a test executable could not be started. ↵ | Zach Mullen | 2009-12-10 | 1 | -0/+1 |
| | | | | (See BadExe test) | ||||
* | Handle multiple carriage return issue on windows VS9. Also make sure that ↵ | Zach Mullen | 2009-11-16 | 1 | -2/+5 |
| | | | | running ctest in showonly mode does not kill our cost store, since many ctest tests do this and corrupt our cost data. | ||||
* | Fixed a bug where it was possible for a test to be started twice if a ↵ | Zach Mullen | 2009-11-09 | 1 | -0/+5 |
| | | | | lower-indexed test depended on it. | ||||
* | Fix style warning in cmsystemtools, cosmetic change to ctest code | Zach Mullen | 2009-11-05 | 1 | -5/+2 |
| | |||||
* | Fixed infinite loop condition when a test's dependent test executable could ↵ | Zach Mullen | 2009-11-05 | 1 | -0/+2 |
| | | | | not be found. | ||||
* | Added logic to check for cycles in the test dependency graph before any ↵ | Zach Mullen | 2009-11-02 | 1 | -1/+50 |
| | | | | tests are run. Previously a cycle resulted in a segfault from stack overflow. | ||||
* | Fix working dir issue for ctest show only mode (-N) | Zach Mullen | 2009-10-27 | 1 | -0/+5 |
| | |||||
* | Ctest was broken for subdirs. Restored working directory state for tests so ↵ | Zach Mullen | 2009-10-20 | 1 | -0/+5 |
| | | | | that their executables could be found. | ||||
* | Match width of ctest "Start xx: " line to line up with the end test line | Zach Mullen | 2009-10-05 | 1 | -1/+1 |
| | |||||
* | Fix warnings in CMake source code. | David Cole | 2009-10-02 | 1 | -2/+3 |
| | |||||
* | Convert CMake to OSI-approved BSD License | Brad King | 2009-09-28 | 1 | -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. | ||||
* | Fixed uninitialized memory issue in ctest show-only mode | Zach Mullen | 2009-09-25 | 1 | -0/+1 |
| | |||||
* | Reformat ctest -N output. Removed the "Start processing tests" message as well. | Zach Mullen | 2009-09-24 | 1 | -6/+9 |
| | |||||
* | Tests which are not run should be added to the failed test list. | Zach Mullen | 2009-09-23 | 1 | -0/+1 |
| | |||||
* | Rewrite CTest child output handling | Brad King | 2009-09-11 | 1 | -3/+1 |
| | | | | | | | | | | | | | | This commit fixes cmCTestRunTest and cmProcess to more efficiently handle child output. We now use the buffer for each child output pipe to hold at most a partial line plus one new block of data at a time. All complete lines are scanned in-place, and then only the partial line at the end of the buffer is moved back to the beginning before appending new data. We also simplify the cmProcess interface by making GetNextOutputLine the only method that needs to be called while the process is running. This simplifies cmCTestRunTest so that CheckOutput can be called until it returns false when the process is done. |