Skip to content

Commit 1d23cf6

Browse files
committed
Modified CHECK directive syntax
1 parent 8898b99 commit 1d23cf6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/utils/lit/tests/shtest-cat.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
## Check the cat command.
1+
## Test the cat command.
22
#
33
# RUN: not %{lit} -a -v %{inputs}/shtest-cat \
44
# RUN: | FileCheck -match-full-lines %s
5-
#
65
# END.
76

87
# CHECK: FAIL: shtest-cat :: cat-error-0.txt ({{[^)]*}})
@@ -20,5 +19,5 @@
2019
# CHECK: PASS: shtest-cat :: cat.txt ({{[^)]*}})
2120

2221
# CHECK: Total Discovered Tests: 3
23-
# CHECK: Passed: 1 {{\([0-9]*\.[0-9]*%\)}}
24-
# CHECK: Failed: 2 {{\([0-9]*\.[0-9]*%\)}}
22+
# CHECK-NEXT: Passed: 1 {{\([0-9]*\.[0-9]*%\)}}
23+
# CHECK-NEXT: Failed: 2 {{\([0-9]*\.[0-9]*%\)}}

0 commit comments

Comments
 (0)