Change in osmo-gsm-tester[master]: srs_ue: send t+Enter to stdin after launching app

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/.

Andre Puschmann gerrit-no-reply at lists.osmocom.org
Mon Mar 23 19:53:45 UTC 2020


Andre Puschmann has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17561 )

Change subject: srs_ue: send t+Enter to stdin after launching app
......................................................................

srs_ue: send t+Enter to stdin after launching app

this enables the console trace which is printed to stdout
and provides human readable radio statistics

Change-Id: If1c998aff1c5c11d3fa636fb60cb4991e0def768
---
M src/osmo_gsm_tester/srs_ue.py
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/osmo_gsm_tester/srs_ue.py b/src/osmo_gsm_tester/srs_ue.py
index f725587..388fbf1 100644
--- a/src/osmo_gsm_tester/srs_ue.py
+++ b/src/osmo_gsm_tester/srs_ue.py
@@ -120,6 +120,10 @@
         else:
             self.start_remotely()
 
+        # send t+Enter to enable console trace
+        self.dbg('Enabling console trace')
+        self.process.stdin_write('t\n')
+
     def start_remotely(self):
         self.inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('srslte')))
         lib = self.inst.child('lib')

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17561
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: If1c998aff1c5c11d3fa636fb60cb4991e0def768
Gerrit-Change-Number: 17561
Gerrit-PatchSet: 4
Gerrit-Owner: Andre Puschmann <andre at softwareradiosystems.com>
Gerrit-Reviewer: Andre Puschmann <andre at softwareradiosystems.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200323/d18ce711/attachment.htm>


More information about the gerrit-log mailing list