Commit 25b60e0c authored by Raphael Defosseux's avatar Raphael Defosseux

CI: missing detection of UE for TAB header

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 70711c34
...@@ -110,7 +110,7 @@ class SSHConnection(): ...@@ -110,7 +110,7 @@ class SSHConnection():
self.htmlFile = '' self.htmlFile = ''
self.htmlHeaderCreated = False self.htmlHeaderCreated = False
self.htmlFooterCreated = False self.htmlFooterCreated = False
self.htmlUEConnected = 0 self.htmlUEConnected = -1
self.htmleNBFailureMsg = '' self.htmleNBFailureMsg = ''
self.picocom_closure = False self.picocom_closure = False
self.idle_sleep_time = 0 self.idle_sleep_time = 0
...@@ -2040,6 +2040,17 @@ class SSHConnection(): ...@@ -2040,6 +2040,17 @@ class SSHConnection():
self.htmlFile.write(' <th>Test Desc</th>\n') self.htmlFile.write(' <th>Test Desc</th>\n')
self.htmlFile.write(' <th>Test Options</th>\n') self.htmlFile.write(' <th>Test Options</th>\n')
self.htmlFile.write(' <th>Test Status</th>\n') self.htmlFile.write(' <th>Test Status</th>\n')
if (self.htmlUEConnected == -1):
terminate_ue_flag = True
if (self.ADBIPAddress != 'none'):
self.GetAllUEDevices(terminate_ue_flag)
self.GetAllCatMDevices(terminate_ue_flag)
else:
self.UEDevices.append('doughq9rehg')
self.UEDevices.append('dnsgiuahgia')
self.UEDevices.append('uehgieng9')
self.htmlUEConnected = len(self.UEDevices)
i = 0 i = 0
while (i < self.htmlUEConnected): while (i < self.htmlUEConnected):
self.htmlFile.write(' <th>UE' + str(i) + ' Status</th>\n') self.htmlFile.write(' <th>UE' + str(i) + ' Status</th>\n')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment