llvm.org GIT mirror llvm / 7550101
[lit] Move the shtest-xunit-output check lines into shtest-format These two tests are operating on the same test suite, which causes them to be racy about writing temporary files and can cause spurious failures. Merge them into one test to avoid the issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337718 91177308-0d34-0410-b5e6-96231b3b80d8 Justin Bogner 1 year, 2 months ago
2 changed file(s) with 86 addition(s) and 86 deletion(s). Raw diff Collapse all Expand all
0 # Check the various features of the ShTest format.
11 #
2 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-format > %t.out
2 # RUN: rm -f %t.xml
3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-format --xunit-xml-output %t.xml > %t.out
34 # RUN: FileCheck < %t.out %s
4 #
5 # RUN: FileCheck --check-prefix=XUNIT < %t.xml %s
6
57 # END.
68
79 # CHECK: -- Testing:
8385 # CHECK: Unresolved Tests : 3
8486 # CHECK: Unexpected Passes : 1
8587 # CHECK: Unexpected Failures: 3
88
89
90 # XUNIT:
91 # XUNIT-NEXT:
92 # XUNIT-NEXT:
93
94 # XUNIT:
95
96 # XUNIT:
97 # XUNIT-NEXT:
98 # XUNIT:
99 # XUNIT-NEXT:
100
101
102 # XUNIT:
103 # XUNIT-NEXT:
104 # XUNIT:
105 # XUNIT-NEXT:
106
107 # XUNIT:
108
109 # XUNIT:
110 # XUNIT-NEXT:
111 # XUNIT:
112 # XUNIT-NEXT:
113
114 # XUNIT:
115 # XUNIT-NEXT:
116 # XUNIT:
117 # XUNIT-NEXT:
118
119 # XUNIT:
120
121 # XUNIT:
122 # XUNIT-NEXT:
123
124 # XUNIT:
125
126 # XUNIT:
127 # XUNIT-NEXT:
128
129 # XUNIT:
130
131 # XUNIT:
132 # XUNIT-NEXT:
133 # XUNIT:
134 # XUNIT-NEXT:
135
136
137 # XUNIT:
138 # XUNIT-NEXT:
139
140 # XUNIT:
141
142 # XUNIT:
143 # XUNIT-NEXT:
144
145 # XUNIT:
146 # XUNIT-NEXT:
147 # XUNIT:
148 # XUNIT-NEXT:
149
150 # XUNIT:
151 # XUNIT-NEXT:
152
153 # XUNIT:
154
155 # XUNIT:
156
157 # XUNIT:
158
159 # XUNIT:
160
161 # XUNIT:
162
163 # XUNIT:
164 # XUNIT-NEXT:
165 # XUNIT:
166 # XUNIT-NEXT:
167
168 # XUNIT:
169 # XUNIT-NEXT:
+0
-84
utils/lit/tests/shtest-xunit-output.py less more
None # RUN: rm -f %t.xml
1 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-format --xunit-xml-output %t.xml
2 # RUN: FileCheck < %t.xml %s
3
4 # CHECK:
5 # CHECK-NEXT:
6 # CHECK-NEXT:
7
8 # CHECK:
9
10 # CHECK:
11 # CHECK-NEXT:
12 # CHECK:
13 # CHECK-NEXT:
14
15
16 # CHECK:
17 # CHECK-NEXT:
18 # CHECK:
19 # CHECK-NEXT:
20
21 # CHECK:
22
23 # CHECK:
24 # CHECK-NEXT:
25 # CHECK:
26 # CHECK-NEXT:
27
28 # CHECK:
29 # CHECK-NEXT:
30 # CHECK:
31 # CHECK-NEXT:
32
33 # CHECK:
34
35 # CHECK:
36 # CHECK-NEXT:
37
38 # CHECK:
39
40 # CHECK:
41 # CHECK-NEXT:
42
43 # CHECK:
44
45 # CHECK:
46 # CHECK-NEXT:
47 # CHECK:
48 # CHECK-NEXT:
49
50
51 # CHECK:
52 # CHECK-NEXT:
53
54 # CHECK:
55
56 # CHECK:
57 # CHECK-NEXT:
58
59 # CHECK:
60 # CHECK-NEXT:
61 # CHECK:
62 # CHECK-NEXT:
63
64 # CHECK:
65 # CHECK-NEXT:
66
67 # CHECK:
68
69 # CHECK:
70
71 # CHECK:
72
73 # CHECK:
74
75 # CHECK:
76
77 # CHECK:
78 # CHECK-NEXT:
79 # CHECK:
80 # CHECK-NEXT:
81
82 # CHECK:
83 # CHECK-NEXT: