fix log: print suite-run separator in proper place
error was introduced by 0ffb414406
'Add JUnit XML reports; refactor test reporting'
Change-Id: I9acf1a840277979a19a2019c69e4562ff7fe2ca0
This commit is contained in:
parent
4d688c2faf
commit
908faf8d1b
|
@ -188,7 +188,6 @@ optional.''')
|
||||||
try:
|
try:
|
||||||
with current_trial:
|
with current_trial:
|
||||||
for suite_scenario_str, suite_def, scenarios in suite_scenarios:
|
for suite_scenario_str, suite_def, scenarios in suite_scenarios:
|
||||||
log.large_separator(current_trial.name(), suite_scenario_str)
|
|
||||||
suite_run = suite.SuiteRun(current_trial, suite_scenario_str, suite_def, scenarios)
|
suite_run = suite.SuiteRun(current_trial, suite_scenario_str, suite_def, scenarios)
|
||||||
current_trial.add_suite(suite_run)
|
current_trial.add_suite(suite_run)
|
||||||
|
|
||||||
|
|
|
@ -188,6 +188,7 @@ class Trial(log.Origin):
|
||||||
def run_suites(self, names=None):
|
def run_suites(self, names=None):
|
||||||
self.status = Trial.UNKNOWN
|
self.status = Trial.UNKNOWN
|
||||||
for suite_run in self.suites:
|
for suite_run in self.suites:
|
||||||
|
log.large_separator(self.name(), suite_run.name())
|
||||||
st = suite_run.run_tests(names)
|
st = suite_run.run_tests(names)
|
||||||
if st == suite.SuiteRun.FAIL:
|
if st == suite.SuiteRun.FAIL:
|
||||||
self.status = Trial.FAIL
|
self.status = Trial.FAIL
|
||||||
|
|
Loading…
Reference in New Issue