improve test logging
This commit is contained in:
@@ -91,7 +91,7 @@ void test_rate()
|
||||
torrent_status st2 = tor2.status();
|
||||
|
||||
if (i % 10 == 0)
|
||||
print_ses_rate(&st1, &st2);
|
||||
print_ses_rate(i / 10.f, &st1, &st2);
|
||||
|
||||
if (st2.is_seeding) break;
|
||||
test_sleep(100);
|
||||
@@ -364,7 +364,7 @@ void test_transfer(int proxy_type, bool test_disk_full = false, bool test_allowe
|
||||
|
||||
if (i % 10 == 0)
|
||||
{
|
||||
print_ses_rate(&st1, &st2);
|
||||
print_ses_rate(i / 10.f, &st1, &st2);
|
||||
}
|
||||
|
||||
if (!test_move_storage && st2.progress > 0.25f)
|
||||
@@ -536,7 +536,7 @@ void test_transfer(int proxy_type, bool test_disk_full = false, bool test_allowe
|
||||
torrent_status st2 = tor2.status();
|
||||
|
||||
if (i % 10 == 0)
|
||||
print_ses_rate(&st1, &st2);
|
||||
print_ses_rate(i / 10.f, &st1, &st2);
|
||||
|
||||
if (tor2.status().is_finished) break;
|
||||
|
||||
|
Reference in New Issue
Block a user