diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-04 17:24:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-04 17:24:25 (GMT) |
commit | 7d190a65ca3fb717e4889de7604ac8ef3484c593 (patch) | |
tree | 6a372a8684754102c510bb5d59ae3f63d11c84f0 /Source/CTest/cmCTestScriptHandler.h | |
parent | 368a18b83c1a0885f477b4911d3f5224b4fd534e (diff) | |
download | CMake-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/cmCTestScriptHandler.h')
-rw-r--r-- | Source/CTest/cmCTestScriptHandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.h b/Source/CTest/cmCTestScriptHandler.h index 709b928..ececa06 100644 --- a/Source/CTest/cmCTestScriptHandler.h +++ b/Source/CTest/cmCTestScriptHandler.h @@ -82,7 +82,8 @@ public: /* * Run a script */ - static bool RunScript(cmCTest* ctest, const char *script, bool InProcess); + static bool RunScript(cmCTest* ctest, const char *script, bool InProcess, + int* returnValue); int RunCurrentScript(); /* |