diff options
author | Brad King <brad.king@kitware.com> | 2012-11-01 20:56:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-01 21:03:20 (GMT) |
commit | 1cfaa2f1a00ab2b6a72dc2e681043317e41a3d0f (patch) | |
tree | e1ed1de1cd0fa4c004139cec1724496b0c40cc7b /Source/cmCTest.cxx | |
parent | 4075e1ca6ccd01183c9bb582a2291c5abc70a828 (diff) | |
download | CMake-1cfaa2f1a00ab2b6a72dc2e681043317e41a3d0f.zip CMake-1cfaa2f1a00ab2b6a72dc2e681043317e41a3d0f.tar.gz CMake-1cfaa2f1a00ab2b6a72dc2e681043317e41a3d0f.tar.bz2 |
CTest: Allow SUBMIT_INDEX with CDash
If CTEST_DROP_SITE_CDASH is true then SUBMIT_INDEX is supported.
The Dart version does not matter because the server is not Dart.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 4aff64b..b12cf40 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -327,6 +327,7 @@ cmCTest::cmCTest() this->OutputLogFileLastTag = -1; this->SuppressUpdatingCTestConfiguration = false; this->DartVersion = 1; + this->DropSiteCDash = false; this->OutputTestOutputOnTestFailure = false; this->ComputedCompressTestOutput = false; this->ComputedCompressMemCheckOutput = false; @@ -653,6 +654,7 @@ bool cmCTest::InitializeFromCommand(cmCTestStartCommand* command) = this->GetCTestConfiguration("SourceDirectory").c_str(); std::string bld_dir = this->GetCTestConfiguration("BuildDirectory").c_str(); this->DartVersion = 1; + this->DropSiteCDash = false; for(Part p = PartStart; p != PartCount; p = Part(p+1)) { this->Parts[p].SubmitFiles.clear(); @@ -719,6 +721,7 @@ bool cmCTest::InitializeFromCommand(cmCTestStartCommand* command) return false; } } + this->DropSiteCDash = mf->IsOn("CTEST_DROP_SITE_CDASH"); if ( !this->Initialize(bld_dir.c_str(), command) ) { |