Show More
@@ -649,6 +649,11 b' class TestResult(object):' | |||||
649 | self.interrupted = False |
|
649 | self.interrupted = False | |
650 | self.exception = None |
|
650 | self.exception = None | |
651 |
|
651 | |||
|
652 | @property | |||
|
653 | def skipped(self): | |||
|
654 | """Whether the test was skipped.""" | |||
|
655 | return self.ret == SKIPPED_STATUS | |||
|
656 | ||||
652 | def pytest(test, wd, options, replacements, env): |
|
657 | def pytest(test, wd, options, replacements, env): | |
653 | py3kswitch = options.py3k_warnings and ' -3' or '' |
|
658 | py3kswitch = options.py3k_warnings and ' -3' or '' | |
654 | cmd = '%s%s "%s"' % (PYTHON, py3kswitch, test) |
|
659 | cmd = '%s%s "%s"' % (PYTHON, py3kswitch, test) | |
@@ -1065,7 +1070,7 b' def runone(options, test, count):' | |||||
1065 | times.append((test, res.duration)) |
|
1070 | times.append((test, res.duration)) | |
1066 | vlog("# Ret was:", ret) |
|
1071 | vlog("# Ret was:", ret) | |
1067 |
|
1072 | |||
1068 | skipped = (ret == SKIPPED_STATUS) |
|
1073 | skipped = res.skipped | |
1069 |
|
1074 | |||
1070 | # If we're not in --debug mode and reference output file exists, |
|
1075 | # If we're not in --debug mode and reference output file exists, | |
1071 | # check test output against it. |
|
1076 | # check test output against it. |
General Comments 0
You need to be logged in to leave comments.
Login now