blob: 7007c54b44414c022234a1024c25ad8be326fd7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<% tests.each do |test| %>
<testsuite name="brew-test-bot.<%= MacOS.cat %>" tests="<%= test.steps.count %>">
<% test.steps.each do |step| %>
<testcase name="<%= step.command_short %>" status="<%= step.status %>" time="<%= step.time %>">
<% if step.has_output? %>
<% if step.failed? %>
<failure message="<%= step.status %>: <%= step.command %>"><![CDATA[<%= step.output %>]]></failure>
<% else %>
<system-out><![CDATA[<%= step.output %>]]></system-out>
<% end %>
<% elsif step.failed? %>
<failure />
<% end %>
</testcase>
<% end %>
</testsuite>
<% end %>
</testsuites>
|