integrating cots ue control into CI

This commit is contained in:
hardy
2020-07-20 16:44:51 +02:00
parent 331c74af2a
commit 87dccea43f
3 changed files with 135 additions and 0 deletions
+7
View File
@@ -3236,6 +3236,10 @@ def GetParametersFromXML(action):
if action == 'Run_PhySim':
ldpc.runargs = test.findtext('physim_run_args')
if action == 'COTS_UE_Airplane':
COTS_UE=CotsUe('oppo', self.UEIPAddress, self.UEUserName,UEPassword)
COTS_UE.runargs = test.findtext('cots_ue_airplane_args')
#check if given test is in list
#it is in list if one of the strings in 'list' is at the beginning of 'test'
@@ -3274,6 +3278,9 @@ RAN.EpcObj=EPC
import cls_physim #class PhySim for physical simulators build and test
ldpc=cls_physim.PhySim() #create an instance for LDPC test using GPU or CPU build
import cls_cots_ue #class CotsUe
argvs = sys.argv
argc = len(argvs)
cwd = os.getcwd()