From: LLVM Packaging Team Date: Tue, 21 Jul 2020 16:29:06 +0000 (+0100) Subject: test-keep-alive X-Git-Tag: archive/raspbian/1%10.0.1-1+rpi1^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=894a08b3d9ef348d6f0fe519966ffc47bd0979ac;p=llvm-toolchain-10.git test-keep-alive =================================================================== Gbp-Pq: Name test-keep-alive.diff --- diff --git a/llvm/utils/lit/lit/ProgressBar.py b/llvm/utils/lit/lit/ProgressBar.py index 4f8bd3cc7..0cf7b0c4a 100644 --- a/llvm/utils/lit/lit/ProgressBar.py +++ b/llvm/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