aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/cmd/brew-test-bot.xml.erb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Contributions/cmd/brew-test-bot.xml.erb')
-rw-r--r--Library/Contributions/cmd/brew-test-bot.xml.erb22
1 files changed, 13 insertions, 9 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.xml.erb b/Library/Contributions/cmd/brew-test-bot.xml.erb
index 1ec0af82b..4c67242aa 100644
--- a/Library/Contributions/cmd/brew-test-bot.xml.erb
+++ b/Library/Contributions/cmd/brew-test-bot.xml.erb
@@ -1,13 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<% tests.each do |test| %>
-<testsuite name="<%= test.name %>" tests="<%= test.steps.count %>">
- <% test.steps.each do |step| %>
- <testcase name="<%= step.name %>" status="<%= step.status %>">
- <system-out><![CDATA[<%= step.output %>]]></system-out>
- <% unless step.passed? %>
+<testsuites>
+ <% tests.each do |test| %>
+ <testsuite name="<%= test.name %>" package="brew-test-bot" tests="<%= test.steps.count %>">
+ <% test.steps.each do |step| %>
+ <testcase name="<%= step.name %>" status="<%= step.status %>" time="<%= step.time %>">
+ <% if step.has_output? %>
+ <system-out><![CDATA[<%= step.output %>]]></system-out>
+ <% end %>
+ <% if step.failed? %>
<failure />
+ <% end %>
+ </testcase>
<% end %>
- </testcase>
+ </testsuite>
<% end %>
-</testsuite>
-<% end %>
+<testsuites>