diff options
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index fa6c4ef..d33fd7a 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -694,7 +694,7 @@ int cmCTest::SubmitResults() ofs << " Submission succesfull" << std::endl; return 1; } - else + else if ( m_DartConfiguration["DropMethod"] == "scp" ) { std::string url; if ( m_DartConfiguration["DropSiteUser"].size() > 0 ) @@ -713,6 +713,11 @@ int cmCTest::SubmitResults() std::cout << " Submission successfull" << std::endl; ofs << " Submission succesfull" << std::endl; } + else + { + std::cout << " Unknown submission method: \"" << m_DartConfiguration["DropMethod"] << "\"" << std::endl; + return 0; + } return 0; } |