aboutsummaryrefslogtreecommitdiff
path: root/utils/lit/tests/progress-bar.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-04-11 00:05:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-04-11 00:05:37 +0000
commit2b570ce5aa507595772701e0e8fad6be5331509c (patch)
tree495bc42eb995daef2a59b2b749a3c46a48a9fca1 /utils/lit/tests/progress-bar.py
parent0120b678a07a296e6217bf6de992a23c9616e1b1 (diff)
lit: Add a trivial test of the basic progress bar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/tests/progress-bar.py')
-rw-r--r--utils/lit/tests/progress-bar.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/lit/tests/progress-bar.py b/utils/lit/tests/progress-bar.py
new file mode 100644
index 0000000000..d046748508
--- /dev/null
+++ b/utils/lit/tests/progress-bar.py
@@ -0,0 +1,13 @@
+# Check the simple progress bar.
+#
+# RUN: not %{lit} -j 1 -s %{inputs}/progress-bar > %t.out
+# RUN: FileCheck < %t.out %s
+#
+# CHECK: Testing: 0 .. 10.. 20
+# CHECK: FAIL: shtest-shell :: test-1.txt (1 of 4)
+# CHECK: Testing: 0 .. 10.. 20.. 30.. 40..
+# CHECK: FAIL: shtest-shell :: test-2.txt (2 of 4)
+# CHECK: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
+# CHECK: FAIL: shtest-shell :: test-3.txt (3 of 4)
+# CHECK: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
+# CHECK: FAIL: shtest-shell :: test-4.txt (4 of 4)