summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-16 17:54:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-16 17:54:19 (GMT)
commit2073646eb1a86d819c29c8e0774a8e072efb4c83 (patch)
treef00bbc003916d3794ba700cb180e7cd595f3bb99 /Source/CTest
parentb5bf646e4d5bfd7f5be43b04bc59ef905608bad0 (diff)
downloadCMake-2073646eb1a86d819c29c8e0774a8e072efb4c83.zip
CMake-2073646eb1a86d819c29c8e0774a8e072efb4c83.tar.gz
CMake-2073646eb1a86d819c29c8e0774a8e072efb4c83.tar.bz2
ENH: Cleanup of the output
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestSubmit.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/CTest/cmCTestSubmit.cxx b/Source/CTest/cmCTestSubmit.cxx
index a6f5f93..bab03b3 100644
--- a/Source/CTest/cmCTestSubmit.cxx
+++ b/Source/CTest/cmCTestSubmit.cxx
@@ -568,17 +568,14 @@ bool cmCTestSubmit::SubmitUsingXMLRPC(const cmStdString& localprefix,
xmlrpc_env_init(&env);
/* Call the famous server at UserLand. */
- std::cout << "RemotePrefix: " << remoteprefix.c_str() << std::endl;
- std::cout << "RemoteURL: " << url.c_str() << std::endl;
- std::cout << "Files: " << files.size() << std::endl;
+ std::cout << " Submitting to: " << url.c_str() << " (" << remoteprefix.c_str() << ")" << std::endl;
std::vector<cmStdString>::const_iterator it;
- int cnt = 32;
for ( it = files.begin(); it != files.end(); ++it )
{
xmlrpc_value *result;
std::string local_file = localprefix + "/" + *it;
- std::cout << "Submit file: " << local_file.c_str() << std::endl;
+ std::cout << " Submit file: " << local_file.c_str() << std::endl;
struct stat st;
if ( ::stat(local_file.c_str(), &st) )
{
@@ -610,7 +607,7 @@ bool cmCTestSubmit::SubmitUsingXMLRPC(const cmStdString& localprefix,
if ( env.fault_occurred )
{
- std::cerr << "XML-RPC Fault: " << env.fault_string << " (" << env.fault_code << ")" << std::endl;
+ std::cerr << " Submission problem: " << env.fault_string << " (" << env.fault_code << ")" << std::endl;
xmlrpc_env_clean(&env);
xmlrpc_client_cleanup();
return 0;
@@ -621,15 +618,13 @@ bool cmCTestSubmit::SubmitUsingXMLRPC(const cmStdString& localprefix,
xmlrpc_parse_value(&env, result, "s", &state_name);
if ( env.fault_occurred )
{
- std::cerr << "XML-RPC Fault: " << env.fault_string << " (" << env.fault_code << ")" << std::endl;
+ std::cerr << " Submission problem: " << env.fault_string << " (" << env.fault_code << ")" << std::endl;
xmlrpc_DECREF(result);
xmlrpc_env_clean(&env);
xmlrpc_client_cleanup();
return 0;
}
- printf("%d: %s\n", cnt, state_name);
-
/* Dispose of our result value. */
xmlrpc_DECREF(result);
}