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

srs_andre gerrit-no-reply at lists.osmocom.org
Sat Mar 21 21:44:52 UTC 2020


srs_andre has uploaded this change for review. ( 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(-)



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

diff --git a/src/osmo_gsm_tester/srs_ue.py b/src/osmo_gsm_tester/srs_ue.py
index 66ed18b..ffd847b 100644
--- a/src/osmo_gsm_tester/srs_ue.py
+++ b/src/osmo_gsm_tester/srs_ue.py
@@ -121,6 +121,10 @@
         else:
             self.start_remotely()
 
+        # send t+Enter to enable console trace
+        self.log('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: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200321/cd9c0a39/attachment.htm>


More information about the gerrit-log mailing list