D5831: run-tests: set attributes in sorted order
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Feb 4 18:38:06 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG20e62312e016: run-tests: set attributes in sorted order (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5831?vs=13758&id=13789
REVISION DETAIL
https://phab.mercurial-scm.org/D5831
AFFECTED FILES
tests/run-tests.py
CHANGE DETAILS
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -2378,12 +2378,12 @@
timesd = dict((t[0], t[3]) for t in result.times)
doc = minidom.Document()
s = doc.createElement('testsuite')
- s.setAttribute('name', 'run-tests')
- s.setAttribute('tests', str(result.testsRun))
s.setAttribute('errors', "0") # TODO
s.setAttribute('failures', str(len(result.failures)))
+ s.setAttribute('name', 'run-tests')
s.setAttribute('skipped', str(len(result.skipped) +
len(result.ignored)))
+ s.setAttribute('tests', str(result.testsRun))
doc.appendChild(s)
for tc in result.successes:
t = doc.createElement('testcase')
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list