summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.h
Commit message (Collapse)AuthorAgeFilesLines
* CTest: use new methods for builtin commandsDaniel Pfeifer2017-05-111-1/+1
|
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* Remove cmObject.h and cmTypeMacro.hDaniel Pfeifer2016-10-241-1/+0
|
* Make cmCTestGenericHandler not inherit from cmObjectDaniel Pfeifer2016-10-221-1/+1
|
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+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-3/+8
|
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-3/+3
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-8/+8
| | | | | | | | | | | | | 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.
* Source: Stabilize include orderBrad King2016-04-291-1/+1
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* CTest: Port away from cmLocalGenerator.Stephen Kelly2015-10-051-2/+0
|
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-14/+14
| | | | | | | | | | | 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.
* CTest: more aggressive implementation of ctest_empty_binary_directory()Nils Gladitz2013-11-021-0/+3
| | | | | | | | | 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.
* Drop "full" documentation output typesBrad King2013-10-151-1/+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.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | 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/ \+$//'
* 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.
* Change run_ctest_script in ctest to not stop processing when there is an ↵Bill Hoffman2009-09-041-1/+2
| | | | error in the script being run. Also, add a RETURN_VALUE option so that you can find out if the script failed
* STYLE: move the code for writing the initial cache into its own separateAlexander Neundorf2009-07-111-0/+5
| | | | | | function, makes the long ProcessHandler() a little bit shorter Alex
* STYLE: rename InitCache to InitialCache, since it contains the contents forAlexander Neundorf2009-07-111-1/+1
| | | | | | | the initial cache and is not e.g. a flag which shows whether the cache should be initialized Alex
* ENH: add subproject tag property for ctestBill Hoffman2009-01-091-1/+1
|
* STYLE: create command documentation for ctestAlexander Neundorf2007-06-081-0/+3
| | | | | | | I think some of the cmake commands should be removed from ctest if possible, like add_executable etc. Alex
* ENH: added total time limit for a CTest run bug 1207Ken Martin2006-10-191-0/+7
|
* ENH: Allow CTEST_UPDATE_COMMAND and fix the comments. This should allow SVN ↵Andy Cedilnik2006-04-301-1/+2
| | | | update too, maybe
* ENH: added support for -SP scripts in new processesKen Martin2006-04-041-4/+7
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-34/+34
|
* BUG: fix spelling errorBill Hoffman2005-11-221-1/+1
|
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-0/+2
| | | | initialization code, and start initializing ctest when start is invoked
* ENH: Cleanups and add CTEST_START commandAndy Cedilnik2005-02-171-0/+4
|
* ENH: Several cleanups and improvementsAndy Cedilnik2005-01-271-2/+2
|
* ENH: clean up running of default scriptKen Martin2005-01-271-1/+0
|
* ENH: Add a superclass to all handlersAndy Cedilnik2005-01-271-12/+5
|
* COMP: fix some compiler warnings/errorsKen Martin2005-01-271-1/+1
|
* ENH: added more capabilities to ctestKen Martin2005-01-271-4/+23
|
* ENH: Add CTEST_EXECUTABLE_NAME to CTest scripting. This way you do not have ↵Andy Cedilnik2004-10-011-3/+4
| | | | to specify ctest executable in CTEST_COMMAND, but just a variable
* ENH: Move all extracting of variables to ExtractVariables. This way it is ↵Andy Cedilnik2004-09-281-0/+8
| | | | easy to know what variables are used
* ENH: Add some documentationAndy Cedilnik2004-09-281-1/+31
|
* some bug fixes for my recent checkins and some more cleanupKen Martin2004-09-071-0/+5
|
* another platform fixKen Martin2004-09-061-0/+1
|
* broke out part of test scripting into seperate classKen Martin2004-09-061-0/+95