llvm.org GIT mirror llvm / 2b570ce
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 Daniel Dunbar 6 years ago
6 changed file(s) with 22 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 config.name = 'shtest-shell'
1 config.suffixes = ['.txt']
2 config.test_format = lit.formats.ShTest()
3 config.test_source_root = None
4 config.test_exec_root = None
0 # Check the simple progress bar.
1 #
2 # RUN: not %{lit} -j 1 -s %{inputs}/progress-bar > %t.out
3 # RUN: FileCheck < %t.out %s
4 #
5 # CHECK: Testing: 0 .. 10.. 20
6 # CHECK: FAIL: shtest-shell :: test-1.txt (1 of 4)
7 # CHECK: Testing: 0 .. 10.. 20.. 30.. 40..
8 # CHECK: FAIL: shtest-shell :: test-2.txt (2 of 4)
9 # CHECK: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
10 # CHECK: FAIL: shtest-shell :: test-3.txt (3 of 4)
11 # CHECK: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
12 # CHECK: FAIL: shtest-shell :: test-4.txt (4 of 4)