mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
0120b678a0
commit
2b570ce5aa
5
utils/lit/tests/Inputs/progress-bar/lit.cfg
Normal file
5
utils/lit/tests/Inputs/progress-bar/lit.cfg
Normal file
@ -0,0 +1,5 @@
|
||||
config.name = 'shtest-shell'
|
||||
config.suffixes = ['.txt']
|
||||
config.test_format = lit.formats.ShTest()
|
||||
config.test_source_root = None
|
||||
config.test_exec_root = None
|
1
utils/lit/tests/Inputs/progress-bar/test-1.txt
Normal file
1
utils/lit/tests/Inputs/progress-bar/test-1.txt
Normal file
@ -0,0 +1 @@
|
||||
# RUN: false
|
1
utils/lit/tests/Inputs/progress-bar/test-2.txt
Normal file
1
utils/lit/tests/Inputs/progress-bar/test-2.txt
Normal file
@ -0,0 +1 @@
|
||||
# RUN: false
|
1
utils/lit/tests/Inputs/progress-bar/test-3.txt
Normal file
1
utils/lit/tests/Inputs/progress-bar/test-3.txt
Normal file
@ -0,0 +1 @@
|
||||
# RUN: false
|
1
utils/lit/tests/Inputs/progress-bar/test-4.txt
Normal file
1
utils/lit/tests/Inputs/progress-bar/test-4.txt
Normal file
@ -0,0 +1 @@
|
||||
# RUN: false
|
13
utils/lit/tests/progress-bar.py
Normal file
13
utils/lit/tests/progress-bar.py
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user