summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-29 13:04:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-29 13:04:59 (GMT)
commit18153217e27d2cf560d874313557ec9fa2bcffdb (patch)
tree5ac3c0c076a3c6be4f8fcd9607106bbfccaa9b73 /Source/cmCTest.cxx
parenta271286f417731916cd60c546665ec030bc5b2c7 (diff)
parent13347740e2fe00ad51493c89087f1bbbc35b224c (diff)
downloadCMake-18153217e27d2cf560d874313557ec9fa2bcffdb.zip
CMake-18153217e27d2cf560d874313557ec9fa2bcffdb.tar.gz
CMake-18153217e27d2cf560d874313557ec9fa2bcffdb.tar.bz2
Merge topic 'ctest_start_function_scope'
13347740 Help: add release notes, documentation for CTEST_RUN_CURRENT_SCRIPT behavior 74092d92 cmCTestScriptHandler: Add new field ShouldRunCurrentScript Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1703
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 9e76480..6f90e70 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2797,6 +2797,14 @@ cmDuration cmCTest::MaxDuration()
return cmDuration(1.0e7);
}
+void cmCTest::SetRunCurrentScript(bool value)
+{
+ cmCTestScriptHandler* ch =
+ static_cast<cmCTestScriptHandler*>(this->GetHandler("script"));
+
+ ch->SetRunCurrentScript(value);
+}
+
void cmCTest::OutputTestErrors(std::vector<char> const& process_output)
{
std::string test_outputs("\n*** Test Failed:\n");