[PATCH] osmo-gsm-tester[master]: fix log: print suite-run separator in proper place

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon May 29 02:33:24 UTC 2017


Review at  https://gerrit.osmocom.org/2773

fix log: print suite-run separator in proper place

error was introduced by 0ffb41440661631fa1d520c152be4cf8ebd4c46b
'Add JUnit XML reports; refactor test reporting'

Change-Id: I9acf1a840277979a19a2019c69e4562ff7fe2ca0
---
M src/osmo-gsm-tester.py
M src/osmo_gsm_tester/trial.py
2 files changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/73/2773/1

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 @@
         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 @@
     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

-- 
To view, visit https://gerrit.osmocom.org/2773
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9acf1a840277979a19a2019c69e4562ff7fe2ca0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list