summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-11 16:19:46 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-11 16:19:46 (GMT)
commitd9cb234d98238e94073eab4cadb0846a96e943e4 (patch)
treea3b746166a9a0f3b2fcec6dcfe65a34165a3f08b /Source/cmCTest.cxx
parent0b0a732f2663c5850068f0d05b3cb3dc40bb3ffe (diff)
downloadCMake-d9cb234d98238e94073eab4cadb0846a96e943e4.zip
CMake-d9cb234d98238e94073eab4cadb0846a96e943e4.tar.gz
CMake-d9cb234d98238e94073eab4cadb0846a96e943e4.tar.bz2
ENH: Cleanup the output
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 5f90ff8..52e75d3 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1919,7 +1919,7 @@ int cmCTest::SubmitResults()
if ( m_DartConfiguration["DropMethod"] == "" ||
m_DartConfiguration["DropMethod"] == "ftp" )
{
- std::cout << "FTP submit method" << std::endl;
+ std::cout << " Using FTP submit method" << std::endl;
std::string url = "ftp://";
url += cmCTest::MakeURLSafe(m_DartConfiguration["DropSiteUser"]) + ":" +
cmCTest::MakeURLSafe(m_DartConfiguration["DropSitePassword"]) + "@" +
@@ -1928,17 +1928,20 @@ int cmCTest::SubmitResults()
if ( !submit.SubmitUsingFTP(m_ToplevelPath+"/Testing/"+m_CurrentTag,
files, prefix, url) )
{
+ std::cout << " Problems when submitting via FTP" << std::endl;
return 0;
}
if ( !submit.TriggerUsingHTTP(files, prefix, m_DartConfiguration["TriggerSite"]) )
{
+ std::cout << " Problems when triggering via HTTP" << std::endl;
return 0;
}
+ std::cout << " Submission successfull" << std::endl;
return 1;
}
else if ( m_DartConfiguration["DropMethod"] == "http" )
{
- std::cout << "HTTP submit method" << std::endl;
+ std::cout << " Using HTTP submit method" << std::endl;
std::string url = "http://";
if ( m_DartConfiguration["DropSiteUser"].size() > 0 )
{
@@ -1952,13 +1955,15 @@ int cmCTest::SubmitResults()
url += m_DartConfiguration["DropSite"] + m_DartConfiguration["DropLocation"];
if ( !submit.SubmitUsingHTTP(m_ToplevelPath+"/Testing/"+m_CurrentTag, files, prefix, url) )
{
+ std::cout << " Problems when submitting via HTTP" << std::endl;
return 0;
}
if ( !submit.TriggerUsingHTTP(files, prefix, m_DartConfiguration["TriggerSite"]) )
{
+ std::cout << " Problems when triggering via HTTP" << std::endl;
return 0;
}
- std::cout << "Submission successfull" << std::endl;
+ std::cout << " Submission successfull" << std::endl;
return 1;
}
else