[svn r37354] Move tracing a bit down (performance, no change in behaviour)
--HG-- branch : trunk
This commit is contained in:
parent
0a9399329f
commit
ed9004fc46
|
@ -37,11 +37,16 @@ def benchmark_runner(item, session, reporter):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def apigen_runner(item, session, reporter):
|
def apigen_runner(item, session, reporter):
|
||||||
|
r = RunExecutor(item, reporter=reporter, config=session.config)
|
||||||
|
startcapture(session)
|
||||||
|
#retval = plain_runner(item, session, reporter)
|
||||||
r = RunExecutor(item, reporter=reporter, config=session.config)
|
r = RunExecutor(item, reporter=reporter, config=session.config)
|
||||||
session.tracer.start_tracing()
|
session.tracer.start_tracing()
|
||||||
retval = plain_runner(item, session, reporter)
|
outcome = r.execute()
|
||||||
session.tracer.end_tracing()
|
session.tracer.end_tracing()
|
||||||
return retval
|
outcome = ReprOutcome(outcome.make_repr(session.config.option.tbstyle))
|
||||||
|
outcome.stdout, outcome.stderr = finishcapture(session)
|
||||||
|
return outcome
|
||||||
|
|
||||||
def exec_runner(item, session, reporter):
|
def exec_runner(item, session, reporter):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
Loading…
Reference in New Issue