don't print color output from tests (to make it work with some of the regression testing tools)
This commit is contained in:
@@ -69,12 +69,7 @@ void test_lsd()
|
||||
torrent_status st1 = tor1.status();
|
||||
torrent_status st2 = tor2.status();
|
||||
|
||||
std::cerr
|
||||
<< "\033[33m" << int(st1.upload_payload_rate / 1000.f) << "kB/s "
|
||||
<< "\033[32m" << int(st2.download_payload_rate / 1000.f) << "kB/s "
|
||||
<< "\033[31m" << int(st2.upload_payload_rate / 1000.f) << "kB/s "
|
||||
<< "\033[0m" << int(st2.progress * 100) << "% "
|
||||
<< std::endl;
|
||||
print_ses_rate(&st1, &st2);
|
||||
|
||||
if (st2.is_seeding /*&& st3.is_seeding*/) break;
|
||||
test_sleep(1000);
|
||||
|
Reference in New Issue
Block a user