Merge branch 'feature-34-test_framework' into develop
This commit is contained in:
@@ -840,7 +840,11 @@ def handle_testcaseclass_softmodem (testcase, oldprogramList, logdirOAI5GRepo ,
|
|||||||
|
|
||||||
|
|
||||||
#This function searches if test case is present in list of test cases that need to be executed by user
|
#This function searches if test case is present in list of test cases that need to be executed by user
|
||||||
def search_test_case_group(testcasename, testcasegroup):
|
def search_test_case_group(testcasename, testcasegroup, search_test_case_group):
|
||||||
|
|
||||||
|
if search_test_case_group.find(testcasename) >=0:
|
||||||
|
print "\nSkipping test case as it is found in black list: " + testcasename
|
||||||
|
return False
|
||||||
if testcasegroup == '':
|
if testcasegroup == '':
|
||||||
return True
|
return True
|
||||||
testcaselist = testcasegroup.split()
|
testcaselist = testcasegroup.split()
|
||||||
@@ -980,6 +984,7 @@ CleanUpOldProgs = xmlRoot.findtext('CleanUpOldProgs',default='')
|
|||||||
CleanUpAluLteBox = xmlRoot.findtext('CleanUpAluLteBox',default='')
|
CleanUpAluLteBox = xmlRoot.findtext('CleanUpAluLteBox',default='')
|
||||||
Timeout_execution = int (xmlRoot.findtext('Timeout_execution'))
|
Timeout_execution = int (xmlRoot.findtext('Timeout_execution'))
|
||||||
MachineListGeneric = xmlRoot.findtext('MachineListGeneric',default='')
|
MachineListGeneric = xmlRoot.findtext('MachineListGeneric',default='')
|
||||||
|
TestCaseExclusionList = xmlRoot.findtext('TestCaseExclusionList',default='')
|
||||||
print "MachineList = " + MachineList
|
print "MachineList = " + MachineList
|
||||||
print "GitOpenair-cnRepo = " + GitOpenaircnRepo
|
print "GitOpenair-cnRepo = " + GitOpenaircnRepo
|
||||||
print "GitOAI5GRepo = " + GitOAI5GRepo
|
print "GitOAI5GRepo = " + GitOAI5GRepo
|
||||||
@@ -1211,7 +1216,7 @@ for testcase in testcaseList:
|
|||||||
testcaseclass = testcase.findtext('class',default='')
|
testcaseclass = testcase.findtext('class',default='')
|
||||||
desc = testcase.findtext('desc',default='')
|
desc = testcase.findtext('desc',default='')
|
||||||
#print "Machine list top level = " + ','.join(MachineList)
|
#print "Machine list top level = " + ','.join(MachineList)
|
||||||
if search_test_case_group(testcasename, testcasegroup) == True:
|
if search_test_case_group(testcasename, testcasegroup, TestCaseExclusionList) == True:
|
||||||
if testcaseclass == 'lte-softmodem' :
|
if testcaseclass == 'lte-softmodem' :
|
||||||
eNBMachine = testcase.findtext('eNB',default='')
|
eNBMachine = testcase.findtext('eNB',default='')
|
||||||
UEMachine = testcase.findtext('UE',default='')
|
UEMachine = testcase.findtext('UE',default='')
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
<NFSResultsShare>/mnt/sradio/TEST_RESULTS</NFSResultsShare>
|
<NFSResultsShare>/mnt/sradio/TEST_RESULTS</NFSResultsShare>
|
||||||
<GitOAI5GRepo>https://gitlab.eurecom.fr/oai/openairinterface5g.git</GitOAI5GRepo>
|
<GitOAI5GRepo>https://gitlab.eurecom.fr/oai/openairinterface5g.git</GitOAI5GRepo>
|
||||||
<GitOpenair-cnRepo>https://gitlab.eurecom.fr/oai/openair-cn.git</GitOpenair-cnRepo>
|
<GitOpenair-cnRepo>https://gitlab.eurecom.fr/oai/openair-cn.git</GitOpenair-cnRepo>
|
||||||
<GitOAI5GRepoBranch>bugfix-56-UE_category3_throughput</GitOAI5GRepoBranch>
|
<GitOAI5GRepoBranch>enhancement-60-exmimo-tdd</GitOAI5GRepoBranch>
|
||||||
<GitOpenair-cnRepoBranch>feature-17-test_framework</GitOpenair-cnRepoBranch>
|
<GitOpenair-cnRepoBranch>feature-17-test_framework</GitOpenair-cnRepoBranch>
|
||||||
<CleanUpOldProgs>oaisim* oaisim_nos1* lte-softmodem* lte-softmodem-nos1* mme_gw* run_epc* run_hss* iperf* hss hss_sim configure_cots_bandrich_ue* wvdial* run_exec_autotests* iperf</CleanUpOldProgs>
|
<CleanUpOldProgs>oaisim* oaisim_nos1* lte-softmodem* lte-softmodem-nos1* mme_gw* run_epc* run_hss* iperf* hss hss_sim configure_cots_bandrich_ue* wvdial* run_exec_autotests* iperf</CleanUpOldProgs>
|
||||||
<CleanUpAluLteBox>/opt/ltebox/tools/stop_ltebox</CleanUpAluLteBox>
|
<CleanUpAluLteBox>/opt/ltebox/tools/stop_ltebox</CleanUpAluLteBox>
|
||||||
<Timeout_execution>36000</Timeout_execution>
|
<Timeout_execution>36000</Timeout_execution>
|
||||||
<TestCaseExclusionList></TestCaseExclusionList>
|
<TestCaseExclusionList>015502 015505 015506 015507 015508 015508 015509 015510 015511 016102 016105</TestCaseExclusionList>
|
||||||
<MachineListGeneric>calisson stevens mozart nano amerique</MachineListGeneric>
|
<MachineListGeneric>calisson stevens mozart nano amerique</MachineListGeneric>
|
||||||
<testCase id="010101" >
|
<testCase id="010101" >
|
||||||
<class>compilation</class>
|
<class>compilation</class>
|
||||||
|
|||||||
Reference in New Issue
Block a user