aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-05-29 03:15:20 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-05-29 04:32:26 +0200
commit908faf8d1bd6d4c9d60eb608bf43c850f35f2c39 (patch)
tree5b0ba3dac8ac4caa63d713d2913e9c7b0fbd10bd
parent4d688c2faf2eb780143d4600450df6f7c3664dc2 (diff)
fix log: print suite-run separator in proper place
error was introduced by 0ffb41440661631fa1d520c152be4cf8ebd4c46b 'Add JUnit XML reports; refactor test reporting' Change-Id: I9acf1a840277979a19a2019c69e4562ff7fe2ca0
-rwxr-xr-xsrc/osmo-gsm-tester.py1
-rw-r--r--src/osmo_gsm_tester/trial.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-gsm-tester.py b/src/osmo-gsm-tester.py
index 53a1dab..7304e38 100755
--- a/src/osmo-gsm-tester.py
+++ b/src/osmo-gsm-tester.py
@@ -188,7 +188,6 @@ optional.''')
try:
with current_trial:
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)
current_trial.add_suite(suite_run)
diff --git a/src/osmo_gsm_tester/trial.py b/src/osmo_gsm_tester/trial.py
index fba473f..ab16efd 100644
--- a/src/osmo_gsm_tester/trial.py
+++ b/src/osmo_gsm_tester/trial.py
@@ -188,6 +188,7 @@ class Trial(log.Origin):
def run_suites(self, names=None):
self.status = Trial.UNKNOWN
for suite_run in self.suites:
+ log.large_separator(self.name(), suite_run.name())
st = suite_run.run_tests(names)
if st == suite.SuiteRun.FAIL:
self.status = Trial.FAIL