Commit c0b5b3a7 authored by Cedric Roux's avatar Cedric Roux
Browse files

- Added RRC Cellular compilation to pre-ci tests suite

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4115 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 08c66e0c
...@@ -170,3 +170,67 @@ def execute(oai, user, pw, logfile): ...@@ -170,3 +170,67 @@ def execute(oai, user, pw, logfile):
else: else:
log.ok(case, test, name, conf, '', logfile) log.ok(case, test, name, conf, '', logfile)
try:
test = '07'
name = 'Compile oai.rel8.cellular.rg.make'
conf = 'make rrc_cellular=1 eNB_flag=1'
diag = 'check the compilation errors for RRC Cellular (node RG)'
oai.send('make clean;')
oai.send('make cleanall;')
oai.send('make cleanasn1;')
oai.send('rm -f ./oaisim.rel8.cellular.rg;')
oai.send_expect_false('make rrc_cellular=1 eNB_flag=1 -j4;', makerr1, 1500)
oai.send('cp ./oaisim /oaisim.rel8.cellular.rg;')
except log.err, e:
log.fail(case, test, name, conf, e.value, diag, logfile)
else:
log.ok(case, test, name, conf, '', logfile)
try:
test = '08'
name = 'Compile oai.rel8.cellular.mt.make'
conf = 'make rrc_cellular=1 UE_flag=1'
diag = 'check the compilation errors for RRC Cellular (node MT)'
oai.send('make clean;')
oai.send('make cleanall;')
oai.send('make cleanasn1;')
oai.send('rm -f ./oaisim.rel8.cellular.mt;')
oai.send_expect_false('make rrc_cellular=1 UE_flag=1 -j4;', makerr1, 1500)
oai.send('cp ./oaisim /oaisim.rel8.cellular.mt;')
except log.err, e:
log.fail(case, test, name, conf, e.value, diag, logfile)
else:
log.ok(case, test, name, conf, '', logfile)
#try:
#test = '09'
#name = 'Compile nas_sim_rg_cellular'
#conf = 'make nas_sim_rg_cellular'
#diag = 'check the compilation errors for NAS SIM RRC Cellular (node RG)'
#oai.send('make clean;')
#oai.send('make cleanall;')
#oai.send('make cleanasn1;')
#oai.send('make cleancell')
#oai.send('rm -f ./nas_sim_rg_cellular;')
#oai.send_expect_false('make nas_sim_rg_cellular -j4;', makerr1, 1500)
#except log.err, e:
#log.fail(case, test, name, conf, e.value, diag, logfile)
#else:
#log.ok(case, test, name, conf, '', logfile)
#try:
#test = '10'
#name = 'Compile nas_sim_mt_cellular'
#conf = 'make nas_sim_mt_cellular'
#diag = 'check the compilation errors for NAS SIM RRC Cellular (node MT)'
#oai.send('make clean;')
#oai.send('make cleanall;')
#oai.send('make cleanasn1;')
#oai.send('make cleancell')
#oai.send('rm -f ./nas_sim_mt_cellular;')
#oai.send_expect_false('make nas_sim_mt_cellular -j4;', makerr1, 1500)
#except log.err, e:
#log.fail(case, test, name, conf, e.value, diag, logfile)
#else:
#log.ok(case, test, name, conf, '', logfile)
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