summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Set current directory variables in CTest scriptsBrad King2009-07-311-0/+6
| | | | | | | | | | | | | | The commit "Fix get_filename_component ABSOLUTE mode" broke the code get_filename_component(cwd . ABSOLUTE) because CTest scripts did not make cmMakefile::GetCurrentDirectory() available. This commit fixes the problem by setting the proper information on CTest script instances of cmMakefile. This also makes CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR available to CTest scripts. They are set to the working directory at script startup.
* BUG: Do not double-initialize local generatorsBrad King2009-07-281-1/+0
| | | | | | | | | All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls.
* STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly fromAlexander Neundorf2009-07-121-13/+5
| | | | | | | | cmCTestScriptHandler, but have it load the new script CTestScriptMode.cmake -> that makes it more flexible, also add a simple test that the system name has been determined correctly Alex
* STYLE: move the code for writing the initial cache into its own separateAlexander Neundorf2009-07-111-12/+26
| | | | | | function, makes the long ProcessHandler() a little bit shorter Alex
* STYLE: rename InitCache to InitialCache, since it contains the contents forAlexander Neundorf2009-07-111-4/+4
| | | | | | | the initial cache and is not e.g. a flag which shows whether the cache should be initialized Alex
* ENH: add reminder commentBill Hoffman2009-06-251-0/+1
|
* BUG: make sure error condition is reset before loading scriptsBill Hoffman2009-03-041-5/+10
|
* BUG: fix for bug #8224 fix crashBill Hoffman2008-12-191-2/+36
|
* ENH: add more debug stuff to CTestCTest2 so I can figure out redwallBill Hoffman2008-11-231-0/+5
|
* ENH: load CMakeDetermineSystem and CMakeSystemSpecificInformation whenAlexander Neundorf2008-11-071-0/+20
| | | | | | | | | | | executing a ctest script so the search paths are fully set up and variables like CMAKE_SYSTEM are available. This is useful e.g. for new-style ctest scripting. (these files are also loaded on startup by cpack, so now they behave similar). Hmmm, maybe they should be also loaded by cmake -P ? Alex
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-2/+4
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-1/+1
| | | | This eliminates startup paths that failed to produce this information.
* ENH: deb generator can now generate deb packagesAlexander Neundorf2007-07-271-19/+1
| | | | | | | | | | -remove the unscriptable commands also from the cpack cmake -use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and the deb generator -make set_properties() scriptable -use a non-const char array for adding the python modules Alex
* STYLE: fix line lengthsAlexander Neundorf2007-07-201-1/+2
| | | | Alex
* ENH: remove non/scriptable cmake commands from the script handler in ctest,Alexander Neundorf2007-06-121-0/+21
| | | | | | | | | as discussed with David. This also gives a better ctest man page with just the commands you should actually use in ctest scripts. Until now these commands were more or less executed, but e.g. add_executable() didn't create an executable, project() failed with an error. Now you get an error instantly if using one of these commands. Alex
* STYLE: create command documentation for ctestAlexander Neundorf2007-06-081-31/+42
| | | | | | | 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/+21
|
* BUG: Report and error when ctest -S script fails... Fixes: Bug #3540Andy Cedilnik2006-10-121-1/+2
|
* ENH: fix for no newline on some makes fix for ctest and some symlinksAndy Cedilnik2006-08-141-0/+5
|
* ENH: Be more verboseAndy Cedilnik2006-07-071-0/+1
|
* STYLE: fix line lengthKen Martin2006-05-101-3/+6
|
* ENH: Allow CTEST_UPDATE_COMMAND and fix the comments. This should allow SVN ↵Andy Cedilnik2006-04-301-7/+12
| | | | update too, maybe
* ENH: added support for -SP scripts in new processesKen Martin2006-04-041-13/+88
|
* ENH: Add command to read ctest custom filesAndy Cedilnik2006-03-281-0/+2
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-194/+212
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-67/+82
|
* ENH: Several improvements with the way things are handled. Also, support ↵Andy Cedilnik2005-06-231-0/+1
| | | | multiple submited files
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-0/+43
| | | | initialization code, and start initializing ctest when start is invoked
* ENH: Add commands for memory checking and coverageAndy Cedilnik2005-06-141-2/+6
|
* COMP: Remove ERROR reserved word or something and replace with ERROR_MESSAGEAndy Cedilnik2005-05-311-4/+4
|
* ENH: Add support for writing output file. While doing that, redesign the way ↵Andy Cedilnik2005-05-311-32/+17
| | | | ctest does output. There may still be problems with commands failing, but that should be fixed by applying the similar concept to whole CMake
* ENH: Use generated file stream for filesAndy Cedilnik2005-05-271-3/+3
|
* ENH: Add variable that holds cmake executableAndy Cedilnik2005-05-051-0/+2
|
* ENH: Promote submit into a full handler, add test and submit command and do ↵Andy Cedilnik2005-05-031-0/+4
| | | | some cleanups
* ENH: Make ctest build command workAndy Cedilnik2005-05-021-0/+1
|
* ENH: More commands. Start working on new style ctest configurationAndy Cedilnik2005-05-021-1/+6
|
* BUG: Do not report an error removing the binary directory if it doesn't exist.Brad King2005-03-111-4/+4
|
* ENH: Cleanups and add CTEST_UPDATE commandAndy Cedilnik2005-02-171-0/+2
|
* ENH: Cleanups and add CTEST_START commandAndy Cedilnik2005-02-171-12/+14
|
* BUG: Report errorsAndy Cedilnik2005-02-161-1/+4
|
* ENH: Several cleanups and improvementsAndy Cedilnik2005-01-271-3/+7
|
* ENH: clean up running of default scriptKen Martin2005-01-271-19/+16
|
* ENH: Add a superclass to all handlersAndy Cedilnik2005-01-271-13/+12
|
* COMP: fix some compiler warnings/errorsKen Martin2005-01-271-2/+2
|
* ENH: added more capabilities to ctestKen Martin2005-01-271-11/+117
|
* ENH: Add CTEST_EXECUTABLE_NAME to CTest scripting. This way you do not have ↵Andy Cedilnik2004-10-011-5/+7
| | | | to specify ctest executable in CTEST_COMMAND, but just a variable
* BUG: If extra update failes, continue with dashboard. Closes Bug #894 - ↵Andy Cedilnik2004-09-291-2/+1
| | | | Fatal CVS update error kills test, and is not reported
* ENH: Move all extracting of variables to ExtractVariables. This way it is ↵Andy Cedilnik2004-09-281-70/+84
| | | | easy to know what variables are used
* ENH: Add some documentationAndy Cedilnik2004-09-281-33/+65
|
* more warningsKen Martin2004-09-071-26/+5
|