From c0b5b3a77bb55590c6a326bcb0b2c8b75f50813a Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Wed, 28 Aug 2013 11:40:48 +0000 Subject: [PATCH] - Added RRC Cellular compilation to pre-ci tests suite git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4115 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/TEST/OAI/case01.py | 64 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/targets/TEST/OAI/case01.py b/targets/TEST/OAI/case01.py index 529830a5ed..d4d5bc58e9 100644 --- a/targets/TEST/OAI/case01.py +++ b/targets/TEST/OAI/case01.py @@ -170,3 +170,67 @@ def execute(oai, user, pw, logfile): else: 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) + -- GitLab