mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Change run_ctest_script in ctest to not stop processing when there is an error in the script being run. Also, add a RETURN_VALUE option so that you can find out if the script failed
This commit is contained in:
@@ -69,15 +69,16 @@ public:
|
||||
{
|
||||
return
|
||||
" ctest_run_script([NEW_PROCESS] script_file_name script_file_name1 \n"
|
||||
" script_file_name2 ...)\n"
|
||||
" script_file_name2 ... [RETURN_VALUE var])\n"
|
||||
"Runs a script or scripts much like if it was run from ctest -S. "
|
||||
"If no argument is provided then the current script is run using "
|
||||
"the current settings of the variables. If NEW_PROCESS is specified "
|
||||
"then each script will be run in a seperate process.";
|
||||
"then each script will be run in a seperate process."
|
||||
"If RETURN_VALUE is specified the return value of the last script "
|
||||
"run will be put into var.";
|
||||
}
|
||||
|
||||
cmTypeMacro(cmCTestRunScriptCommand, cmCTestCommand);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user