Download:
child 8:b46f133a82ab
parent 6:fc1f2fd5d553
7:d2441d0f1501
Anton Shestakov <engored@ya.ru>, Mon, 04 May 2015 18:16:54 +0800
bench: make mintime and mintries work as usually expected

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
bench.py file | annotate | diff | comparison | revisions
--- a/bench.py Sun May 03 14:22:30 2015 +0800
+++ b/bench.py Mon May 04 18:16:54 2015 +0800
@@ -59,7 +59,7 @@
elif mark == 'log1000':
cmd += ['log', '-l1000']
- while sum(results) < mintime and len(results) < mintries:
+ while sum(results) < mintime or len(results) < mintries:
if dropcache:
shutil.rmtree(rel(TESTREPO, '.hg', 'cache'), ignore_errors=True)
start = time.time()