add test result stat

This commit is contained in:
debugtalk
2018-02-14 21:12:31 +08:00
parent a0ace0ee76
commit be941250f6
3 changed files with 27 additions and 9 deletions

View File

@@ -35,10 +35,7 @@ def run_suite_path(path, mapping=None, runner=None):
for task in task_suite.tasks:
output.update(task.output)
return Result(
result.wasSuccessful(),
output
)
return Result(result, output)
def main_hrun():
""" API test: parse command line options and run commands.