Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | tests/run-tests.py (3 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
Boris Feld | Jul 10 2018, 2:31 AM |
Status | Author | Revision | |
---|---|---|---|
Closed | lothiraldan | ||
Closed | lothiraldan | ||
Closed | lothiraldan |
ignored = len(self._result.ignored) | ignored = len(self._result.ignored) | ||||
with iolock: | with iolock: | ||||
self.stream.writeln('') | self.stream.writeln('') | ||||
if not self._runner.options.noskips: | if not self._runner.options.noskips: | ||||
for test, msg in self._result.skipped: | for test, msg in self._result.skipped: | ||||
formatted = 'Skipped %s: %s\n' % (test.name, msg) | formatted = 'Skipped %s: %s\n' % (test.name, msg) | ||||
self.stream.write(highlightmsg(formatted, self._result.color)) | msg = highlightmsg(formatted, self._result.color) | ||||
self.stream.write(msg) | |||||
for test, msg in self._result.failures: | for test, msg in self._result.failures: | ||||
formatted = 'Failed %s: %s\n' % (test.name, msg) | formatted = 'Failed %s: %s\n' % (test.name, msg) | ||||
self.stream.write(highlightmsg(formatted, self._result.color)) | self.stream.write(highlightmsg(formatted, self._result.color)) | ||||
for test, msg in self._result.errors: | for test, msg in self._result.errors: | ||||
self.stream.writeln('Errored %s: %s' % (test.name, msg)) | self.stream.writeln('Errored %s: %s' % (test.name, msg)) | ||||
if self._runner.options.xunit: | if self._runner.options.xunit: | ||||
with open(self._runner.options.xunit, "wb") as xuf: | with open(self._runner.options.xunit, "wb") as xuf: |