From: LLVM Packaging Team Date: Sun, 3 Feb 2019 16:27:51 +0000 (+0000) Subject: test-keep-alive X-Git-Tag: archive/raspbian/1%7.0.1-6+rpi1^2~68 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ffa6be0c8fa5dd388e884ceb679a0c9845be2cab;p=llvm-toolchain-7.git test-keep-alive =================================================================== Gbp-Pq: Name test-keep-alive.diff --- diff --git a/utils/lit/lit/ProgressBar.py b/utils/lit/lit/ProgressBar.py index 3ad704d16..d4e8f9ff6 100644 --- a/utils/lit/lit/ProgressBar.py +++ b/utils/lit/lit/ProgressBar.py @@ -189,15 +189,7 @@ class SimpleProgressBar: return for i in range(self.atIndex, next): - idx = i % 5 - if idx == 0: - sys.stdout.write('%-2d' % (i*2)) - elif idx == 1: - pass # Skip second char - elif idx < 4: - sys.stdout.write('.') - else: - sys.stdout.write(' ') + sys.stdout.write('%-2d ' % (i*2)) sys.stdout.flush() self.atIndex = next