summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
Commit message (Collapse)AuthorAgeFilesLines
* CTest: Extend -D command line arg handling for variable definitionsDavid Cole2012-06-241-0/+9
| | | | | | If the argument following -D is not a valid dashboard type string, then try to parse it as a "var:type=value" string just like cmake already does.
* CTest: Simplify environment save/restoreBrad King2012-04-241-5/+1
| | | | | | | | Replace use of AppendEnv/RestoreEnv pairs with instances of SaveRestoreEnvironment. Simplify the signature of AppendEnv and use it in place of similar loops elsewhere. Move the RestoreEnv implementation inside the SaveRestoreEnvironment destructor which is the only place left that calls it.
* Implement ctest_upload commandZach Mullen2011-03-151-0/+2
|
* Remove trailing whitespaceBrad King2011-03-111-20/+20
|
* Preserve environment variables across calls to ↵David Cole2009-12-231-0/+4
| | | | cmCTestScriptHandler::RunConfigurationScript. This will help prevent problems like we are currently experiencing (regarding CMake continuous dashboards only running once each day because the HOME environment variable is modified indirectly by a command in a called script, but affects the environment in the calling script).
* 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.
* Fix memory and process leak in ctest_run_script.Bill Hoffman2009-09-041-1/+1
|
* Change run_ctest_script in ctest to not stop processing when there is an ↵Bill Hoffman2009-09-041-2/+10
| | | | error in the script being run. Also, add a RETURN_VALUE option so that you can find out if the script failed
* 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
|