test-bot: fix non-OS X report generation.
This commit is contained in:
parent
81b034a577
commit
bc5b9c1e97
@ -40,6 +40,7 @@ require "rexml/xmldecl"
|
|||||||
require "rexml/cdata"
|
require "rexml/cdata"
|
||||||
require "tap"
|
require "tap"
|
||||||
require "development_tools"
|
require "development_tools"
|
||||||
|
require "utils/bottles"
|
||||||
|
|
||||||
module Homebrew
|
module Homebrew
|
||||||
BYTES_IN_1_MEGABYTE = 1024*1024
|
BYTES_IN_1_MEGABYTE = 1024*1024
|
||||||
@ -994,7 +995,7 @@ module Homebrew
|
|||||||
|
|
||||||
tests.each do |test|
|
tests.each do |test|
|
||||||
testsuite = testsuites.add_element "testsuite"
|
testsuite = testsuites.add_element "testsuite"
|
||||||
testsuite.add_attribute "name", "brew-test-bot.#{MacOS.cat}"
|
testsuite.add_attribute "name", "brew-test-bot.#{Utils::Bottles.tag}"
|
||||||
testsuite.add_attribute "tests", test.steps.count
|
testsuite.add_attribute "tests", test.steps.count
|
||||||
|
|
||||||
test.steps.each do |step|
|
test.steps.each do |step|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user