srs_ue: run srsUE as normal RemoteProcess

running with RemoteProcessFixIgnoreSIGHUP was needed bc
srsUE used to ignore SIGHUP that is delivered to the process
when the SSH session is terminated causing the UE to not
quit properly. This isn't the case anymore so we can use
RemoteProcess for spawning the UE.

Furthermore, the wrapper script didn't pass along stdin
to it's child process, i.e., srsUE. Therefore the console
trace can't be seen if the run through the wrapper.

Change-Id: Iab4dafc58167620362a36ec9e904b8d49a7d5fc1
This commit is contained in:
Andre Puschmann 2020-03-21 21:21:55 +01:00
parent 2e8626f9be
commit cfdcf89515
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class srsUE(MS):
'--pcap.filename=' + self.remote_pcap_file,
'--general.metrics_csv_filename=' + self.remote_metrics_file)
self.process = self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsUE.BINFILE, util.Dir(srsUE.REMOTE_DIR), args)
self.process = self.rem_host.RemoteProcess(srsUE.BINFILE, args)
#self.process = self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsUE.BINFILE, remote_run_dir, args, remote_lib)
self.suite_run.remember_to_stop(self.process)
self.process.launch()