diff --git a/targets/TEST/OAI/case01.py b/targets/TEST/OAI/case01.py index ad76c960ff..fc20f3cce1 100644 --- a/targets/TEST/OAI/case01.py +++ b/targets/TEST/OAI/case01.py @@ -149,7 +149,7 @@ def execute(oai, user, pw, logfile,logdir): conf = 'make ulsim' trace = logdir + '/log_' + case + test + '.txt;' tee = ' 2>&1 | tee ' + trace - diag = 'check the compilation errors for dlsim in $OPENAIR1_DIR/SIMULATION/LTE_PHY' + diag = 'check the compilation errors for ulsim in $OPENAIR1_DIR/SIMULATION/LTE_PHY' oai.send('make clean;') oai.send('rm -f ./ulsim.rel8;') oai.send_expect_false('make ulsim -j4' + tee, makerr1, 1500) @@ -181,7 +181,7 @@ def execute(oai, user, pw, logfile,logdir): try: test = '07' name = 'Compile oai.rel10.make' - conf = 'make Rel10=1' + conf = 'make RLC_STOP_ON_LOST_PDU=1 Rel10=1' trace = logdir + '/log_' + case + test + '.txt;' tee = ' 2>&1 | tee ' + trace diag = 'check the compilation errors for Rel10' @@ -189,7 +189,7 @@ def execute(oai, user, pw, logfile,logdir): oai.send('make cleanall;') oai.send('make cleanasn1;') oai.send('rm -f ./oaisim.rel10;') - oai.send_expect_false('make Rel10=1 -j4' + tee, makerr1, 1500) + oai.send_expect_false('make RLC_STOP_ON_LOST_PDU=1 Rel10=1 -j4' + tee, makerr1, 1500) oai.send('cp ./oaisim ./oaisim.rel10;') except log.err, e: log.fail(case, test, name, conf, e.value, diag, logfile,trace) @@ -199,13 +199,13 @@ def execute(oai, user, pw, logfile,logdir): try: test = '08' name = 'Compile oai.rel10.itti.make' - conf = 'make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 Rel10=1' + conf = 'make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1' trace = logdir + '/log_' + case + test + '.txt;' tee = ' 2>&1 | tee ' + trace diag = 'check the compilation errors for ITTI Rel10' oai.send('make cleanall;') oai.send('rm -f ./oaisim.rel10.itti;') - oai.send_expect_false('make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 Rel10=1 -j4' + tee, makerr1, 1500) + oai.send_expect_false('make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1 -j4' + tee, makerr1, 1500) oai.send('cp ./oaisim ./oaisim.rel10.itti;') except log.err, e: log.fail(case, test, name, conf, e.value, diag, logfile,trace) @@ -232,7 +232,7 @@ def execute(oai, user, pw, logfile,logdir): try: test = '14' name = 'Compile oai.rel8.itti.ral.make' - conf = 'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel8=1' + conf = 'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel8=1' trace = logdir + '/log_' + case + test + '.txt;' tee = ' 2>&1 | tee ' + trace diag = 'check the compilation errors for ITTI Rel8' @@ -240,7 +240,7 @@ def execute(oai, user, pw, logfile,logdir): oai.send('make cleanall;') oai.send('make cleanasn1;') oai.send('rm -f ./oaisim.rel8.itti.ral;') - oai.send_expect_false('make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel8=1 -j4' + tee, makerr1, 1500) + oai.send_expect_false('make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel8=1 -j4' + tee, makerr1, 1500) oai.send('cp ./oaisim ./oaisim.rel8.itti.ral;') except log.err, e: log.fail(case, test, name, conf, e.value, diag, logfile,trace) @@ -249,7 +249,7 @@ def execute(oai, user, pw, logfile,logdir): try: test = '15' name = 'Compile oai.rel10.itti.ral.make' - conf = 'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel10=1' + conf = 'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1' trace = logdir + '/log_' + case + test + '.txt;' tee = ' 2>&1 | tee ' + trace diag = 'check the compilation errors for ITTI Rel10' @@ -257,7 +257,7 @@ def execute(oai, user, pw, logfile,logdir): oai.send('make cleanall;') oai.send('make cleanasn1;') oai.send('rm -f ./oaisim.rel10.itti.ral;') - oai.send_expect_false('make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel10=1 -j4' + tee, makerr1, 1500) + oai.send_expect_false('make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1 -j4' + tee, makerr1, 1500) oai.send('cp ./oaisim ./oaisim.rel10.itti.ral;') except log.err, e: log.fail(case, test, name, conf, e.value, diag, logfile,trace)