Show More
@@ -1603,13 +1603,13 b' class TextTestRunner(unittest.TextTestRu' | |||||
1603 | # iolock held by run |
|
1603 | # iolock held by run | |
1604 | self.stream.writeln('# Producing time report') |
|
1604 | self.stream.writeln('# Producing time report') | |
1605 | times.sort(key=lambda t: (t[3])) |
|
1605 | times.sort(key=lambda t: (t[3])) | |
1606 | cols = '%7.3f %7.3f %7.3f %s' |
|
1606 | cols = '%7.3f %7.3f %7.3f %7.3f %7.3f %s' | |
1607 |
self.stream.writeln('%-7s %-7s %-7s %s' % |
|
1607 | self.stream.writeln('%-7s %-7s %-7s %-7s %-7s %s' % | |
1608 | 'Test')) |
|
1608 | ('start', 'end', 'cuser', 'csys', 'real', 'Test')) | |
1609 | for tdata in times: |
|
1609 | for tdata in times: | |
1610 | test = tdata[0] |
|
1610 | test = tdata[0] | |
1611 |
cuser, csys, real = tdata[1: |
|
1611 | cuser, csys, real, start, end = tdata[1:6] | |
1612 | self.stream.writeln(cols % (cuser, csys, real, test)) |
|
1612 | self.stream.writeln(cols % (start, end, cuser, csys, real, test)) | |
1613 |
|
1613 | |||
1614 | class TestRunner(object): |
|
1614 | class TestRunner(object): | |
1615 | """Holds context for executing tests. |
|
1615 | """Holds context for executing tests. |
@@ -398,8 +398,8 b' test for --time' | |||||
398 | . |
|
398 | . | |
399 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
399 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. | |
400 | # Producing time report |
|
400 | # Producing time report | |
401 | cuser csys real Test |
|
401 | start end cuser csys real Test | |
402 | \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} test-success.t (re) |
|
402 | \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} test-success.t (re) | |
403 |
|
403 | |||
404 | test for --time with --job enabled |
|
404 | test for --time with --job enabled | |
405 | ==================================== |
|
405 | ==================================== | |
@@ -408,8 +408,8 b' test for --time with --job enabled' | |||||
408 | . |
|
408 | . | |
409 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
409 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. | |
410 | # Producing time report |
|
410 | # Producing time report | |
411 | cuser csys real Test |
|
411 | start end cuser csys real Test | |
412 | \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} test-success.t (re) |
|
412 | \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} test-success.t (re) | |
413 |
|
413 | |||
414 | Skips |
|
414 | Skips | |
415 | ================ |
|
415 | ================ |
General Comments 0
You need to be logged in to leave comments.
Login now