From: LLVM Packaging Team Date: Mon, 16 Oct 2023 13:14:10 +0000 (+0000) Subject: test-keep-alive X-Git-Tag: archive/raspbian/1%16.0.6-15_deb12u1+rpi1^2~60 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7daf4ef1e23869b90162d6fff788df674fd39c4b;p=llvm-toolchain-16.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 fd721db780..fe84bbfbda 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