summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use C++11 nullptrDaniel Pfeifer2017-08-241-1/+1
|
* Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variableBetsy McPhail2017-07-101-0/+6
| | | | | Use this variable to specify a list of labels that will be reported to CDash as subprojects.
* Add ctest options for limiting which tests fixtures addCraig Scott2017-05-011-0/+15
| | | | | The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
* cmCTestTestCommand: defer getting the global timeoutBen Boeckel2017-04-211-1/+2
|
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* CTest: fix include-what-you-use violationsDaniel Pfeifer2016-08-251-0/+6
|
* use CM_NULLPTRDaniel Pfeifer2016-06-281-1/+1
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-66/+41
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* ctest: Optionally avoid starting tests that may exceed a given CPU loadBetsy McPhail2015-06-301-0/+33
| | | | | | | | | | | | | | Add a TestLoad setting to CTest that can be set via a new --test-load command-line option, CTEST_TEST_LOAD variable, or TEST_LOAD option to the ctest_test command. Teach cmCTestMultiProcessHandler to measure the CPU load and avoid starting tests that may take more than the spare load currently available. The expression <current_load> + <test_processors> <= <max-load> must be true to start a new test. Co-Author: Zack Galbreath <zack.galbreath@kitware.com>
* ctest_test: Add QUIET optionZack Galbreath2015-02-231-0/+1
|
* Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-1/+1
| | | | All compilers hosting CMake support the std class.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Add the --stop-time argumentZach Mullen2010-03-171-0/+5
| | | | Unit test and script hook for STOP_TIME
* Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of ↵David Cole2009-12-041-1/+1
| | | | running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
* Hook for scheduling tests in a random orderZach Mullen2009-10-291-0/+6
| | | | | This may help statistically detect implicit dependencies among unit tests while running in parallel.
* 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.
* ENH: Added PARALLEL_LEVEL option to ctest_test() command.Zach Mullen2009-09-021-0/+6
|
* ENH: add the ability to run tests by labelsBill Hoffman2009-02-101-0/+12
|
* BUG: 0007569 add ability to do -R/-E in ctest_test commandBill Hoffman2008-09-091-0/+10
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-1/+2
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-15/+16
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-3/+4
|
* ENH: Fix memcheck commandAndy Cedilnik2005-09-171-1/+1
|
* COMP: Remove warning and fix the logicAndy Cedilnik2005-07-141-2/+5
|
* ENH: Add timeout supportAndy Cedilnik2005-07-131-0/+12
|
* ENH: Several improvements with the way things are handled. Also, support ↵Andy Cedilnik2005-06-231-59/+26
| | | | multiple submited files
* ENH: Improve syntaxAndy Cedilnik2005-05-041-11/+52
|
* ENH: CleanupsAndy Cedilnik2005-05-031-1/+1
|
* ENH: Promote submit into a full handler, add test and submit command and do ↵Andy Cedilnik2005-05-031-0/+52
some cleanups