From 9e711d0143c76ee350da4744180c8c6ce889790d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 18 Dec 2017 12:58:50 +0000 Subject: [PATCH] add missing patch --- debian/patches/test-keep-alive.diff | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/patches/test-keep-alive.diff diff --git a/debian/patches/test-keep-alive.diff b/debian/patches/test-keep-alive.diff new file mode 100644 index 00000000..f22c66f7 --- /dev/null +++ b/debian/patches/test-keep-alive.diff @@ -0,0 +1,21 @@ +Index: llvm-toolchain-5.0-5.0.1~+rc1/utils/lit/lit/ProgressBar.py +=================================================================== +--- llvm-toolchain-5.0-5.0.1~+rc1.orig/utils/lit/lit/ProgressBar.py ++++ llvm-toolchain-5.0-5.0.1~+rc1/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 +