added 'tests=N' attribute on 'testsuite' element

This commit is contained in:
Johan Holmberg 2009-05-09 06:20:39 +00:00 committed by holmberg556
parent 0bcb58ae3e
commit 9ce4b90e18

View File

@ -117,10 +117,11 @@ module Cmdtest
end
def write(f)
f.put ' <testsuite errors="%d" failures="%d" name="%s" package="%s">', [
f.put ' <testsuite errors="%d" failures="%d" name="%s" tests="%d" package="%s">', [
0,
@testcases.grep(ErrTestcase).size,
@name,
@testcases.size,
@package,
]
for testcase in @testcases