summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestHandlerCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-01 20:56:13 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-01 21:03:20 (GMT)
commit1cfaa2f1a00ab2b6a72dc2e681043317e41a3d0f (patch)
treee1ed1de1cd0fa4c004139cec1724496b0c40cc7b /Source/CTest/cmCTestHandlerCommand.cxx
parent4075e1ca6ccd01183c9bb582a2291c5abc70a828 (diff)
downloadCMake-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/CTest/cmCTestHandlerCommand.cxx')
-rw-r--r--Source/CTest/cmCTestHandlerCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestHandlerCommand.cxx b/Source/CTest/cmCTestHandlerCommand.cxx
index 1957e04..0db2548 100644
--- a/Source/CTest/cmCTestHandlerCommand.cxx
+++ b/Source/CTest/cmCTestHandlerCommand.cxx
@@ -121,7 +121,7 @@ bool cmCTestHandlerCommand
}
if ( this->Values[ct_SUBMIT_INDEX] )
{
- if ( this->CTest->GetDartVersion() <= 1 )
+ if(!this->CTest->GetDropSiteCDash() && this->CTest->GetDartVersion() <= 1)
{
cmCTestLog(this->CTest, ERROR_MESSAGE,
"Dart before version 2.0 does not support collecting submissions."