summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunScriptCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-04 17:24:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-04 17:24:25 (GMT)
commit7d190a65ca3fb717e4889de7604ac8ef3484c593 (patch)
tree6a372a8684754102c510bb5d59ae3f63d11c84f0 /Source/CTest/cmCTestRunScriptCommand.h
parent368a18b83c1a0885f477b4911d3f5224b4fd534e (diff)
downloadCMake-7d190a65ca3fb717e4889de7604ac8ef3484c593.zip
CMake-7d190a65ca3fb717e4889de7604ac8ef3484c593.tar.gz
CMake-7d190a65ca3fb717e4889de7604ac8ef3484c593.tar.bz2
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
Diffstat (limited to 'Source/CTest/cmCTestRunScriptCommand.h')
-rw-r--r--Source/CTest/cmCTestRunScriptCommand.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestRunScriptCommand.h b/Source/CTest/cmCTestRunScriptCommand.h
index f0bdb7b..73fa595 100644
--- a/Source/CTest/cmCTestRunScriptCommand.h
+++ b/Source/CTest/cmCTestRunScriptCommand.h
@@ -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);
-
};