Andre Puschmann has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17538 )


Change subject: log srsUE/srsENB cmd line args before launching
......................................................................

log srsUE/srsENB cmd line args before launching

Change-Id: I9e18595433e883b37323e94c43f17162f011bc00
---
M src/osmo_gsm_tester/srs_enb.py
M src/osmo_gsm_tester/srs_ue.py
2 files changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/src/osmo_gsm_tester/srs_enb.py b/src/osmo_gsm_tester/srs_enb.py
index 20cf3c3..9a75714 100644
--- a/src/osmo_gsm_tester/srs_enb.py
+++ b/src/osmo_gsm_tester/srs_enb.py
@@ -154,6 +154,8 @@
                 '--pcap.filename=' + self.remote_pcap_file,
                 '--expert.nof_phy_threads=1' if self._conf.get('rf_dev_type') 
== 'zmq' else '')

+        self.log('Using args: %s' % ' '.join([str(elem) for elem in args]))
+
         self.process = 
self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsENB.BINFILE, 
util.Dir(srsENB.REMOTE_DIR), args, remote_env=remote_env)
         self.suite_run.remember_to_stop(self.process)
         self.process.launch()
diff --git a/src/osmo_gsm_tester/srs_ue.py b/src/osmo_gsm_tester/srs_ue.py
index 8d5cbda..c86ab3e 100644
--- a/src/osmo_gsm_tester/srs_ue.py
+++ b/src/osmo_gsm_tester/srs_ue.py
@@ -168,6 +168,8 @@
                 '--phy.nof_phy_threads=1' if self._conf.get('rf_dev_type') == 
'zmq' else '',
                 self.additional_args)

+        self.log('Using args: %s' % ' '.join([str(elem) for elem in args]))
+
         self.process = 
self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsUE.BINFILE, 
util.Dir(srsUE.REMOTE_DIR), args)
         #self.process = 
self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsUE.BINFILE, remote_run_dir, args, 
remote_lib)
         self.suite_run.remember_to_stop(self.process)

--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17538
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: I9e18595433e883b37323e94c43f17162f011bc00
Gerrit-Change-Number: 17538
Gerrit-PatchSet: 1
Gerrit-Owner: Andre Puschmann <an...@softwareradiosystems.com>
Gerrit-MessageType: newchange

Reply via email to