|
|
@ -23,6 +23,9 @@ import test.constants as T |
|
|
|
import utils.path_const as P |
|
|
|
import utils.job_tool |
|
|
|
|
|
|
|
LIMIT_INFO = 16 #basic.message.LIMIT_INFO |
|
|
|
LIMIT_DEBUG = 12 #basic.message.LIMIT_DEBUG |
|
|
|
|
|
|
|
jobdef = { |
|
|
|
"webflask": { |
|
|
|
"pardef": "", |
|
|
@ -30,7 +33,7 @@ jobdef = { |
|
|
|
"pfiletarget": "", |
|
|
|
"basedir": "workbase", |
|
|
|
"dirname": "workdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.conf.data}/workspace/webflask_{job.start:H}.txt" }, |
|
|
|
"declare_result": { |
|
|
|
"pardef": "", |
|
|
@ -38,7 +41,7 @@ jobdef = { |
|
|
|
"pfiletarget": "", |
|
|
|
"basedir": "workbase", |
|
|
|
"dirname": "workdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.conf.data}/workspace/reorg_{job.start:H}.txt" }, |
|
|
|
"service": { |
|
|
|
"pardef": "", |
|
|
@ -46,7 +49,7 @@ jobdef = { |
|
|
|
"pfiletarget": "", |
|
|
|
"basedir": "workbase", |
|
|
|
"dirname": "workdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.conf.data}/workspace/service_{job.start:H}.txt" }, |
|
|
|
"unit": { |
|
|
|
"pardef": "", |
|
|
@ -54,7 +57,7 @@ jobdef = { |
|
|
|
"pfiletarget": "", |
|
|
|
"basedir": "workbase", |
|
|
|
"dirname": "workdir", |
|
|
|
"loglevel": basic.message.LIMIT_DEBUG, |
|
|
|
"loglevel": LIMIT_DEBUG, |
|
|
|
"logpath": "{job.conf.data}/workspace/unittest_{job.start:H}.txt" }, |
|
|
|
"check_environment": { |
|
|
|
"pardef": "", |
|
|
@ -62,7 +65,7 @@ jobdef = { |
|
|
|
"pfiletarget": "envparfile", |
|
|
|
"basedir": "envbase", |
|
|
|
"dirname": "envdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.envdir}/{log}/log_{job.start}.txt" }, |
|
|
|
"test_executer": { |
|
|
|
"pardef": "", |
|
|
@ -70,7 +73,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tsparfile", |
|
|
|
"basedir": "tsbase", |
|
|
|
"dirname": "tsdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tsdir}/{log}/{job.program}_{job.start}.txt" }, |
|
|
|
"init_testsuite": { |
|
|
|
"pardef": "tsdir", # ,tdtyp,tdsrc,tdname", |
|
|
@ -78,7 +81,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tsparfile", |
|
|
|
"basedir": "tsbase", |
|
|
|
"dirname": "tsdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tsdir}/{log}/{job.program}_{job.start}.txt" }, |
|
|
|
"init_testcase": { |
|
|
|
"pardef": "tcdir", # ",tdtyp,tdsrc,tdname", |
|
|
@ -86,7 +89,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tcparfile", |
|
|
|
"basedir": "tcbase", |
|
|
|
"dirname": "tcdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt" }, |
|
|
|
"execute_testcase": { |
|
|
|
"pardef": "tcdir", # ",tdtyp,tdsrc,tdname", |
|
|
@ -94,7 +97,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tcparfile", |
|
|
|
"basedir": "tcbase", |
|
|
|
"dirname": "tcdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt" }, |
|
|
|
"collect_testcase": { |
|
|
|
"pardef": "tcdir", # ",tdtyp,tdsrc,tdname", |
|
|
@ -102,7 +105,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tcparfile", |
|
|
|
"basedir": "tcbase", |
|
|
|
"dirname": "tcdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt" }, |
|
|
|
"copy_appdummy": { |
|
|
|
"pardef": "tcdir", # ",tdtyp,tdsrc,tdname", |
|
|
@ -110,7 +113,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tcparfile", |
|
|
|
"basedir": "tcbase", |
|
|
|
"dirname": "tcdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt"}, |
|
|
|
"compare_testcase": { |
|
|
|
"pardef": "tcdir", # ",tdtyp,tdsrc,tdname", |
|
|
@ -118,7 +121,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tcparfile", |
|
|
|
"basedir": "tcbase", |
|
|
|
"dirname": "tcdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt" }, |
|
|
|
"test_system": { |
|
|
|
"pardef": "tcdir,tdtyp,tdsrc,tdname", |
|
|
@ -126,7 +129,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tsparfile", |
|
|
|
"basedir": "tcbase", |
|
|
|
"dirname": "tcdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt"}, |
|
|
|
"finish_testcase": { |
|
|
|
"pardef": "tcdir", |
|
|
@ -134,7 +137,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tcparfile", |
|
|
|
"basedir": "tcbase", |
|
|
|
"dirname": "tcdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt"}, |
|
|
|
"finish_testsuite": { |
|
|
|
"pardef": "tsdir", |
|
|
@ -142,7 +145,7 @@ jobdef = { |
|
|
|
"pfiletarget": "tssarfile", |
|
|
|
"basedir": "tsbase", |
|
|
|
"dirname": "tsdir", |
|
|
|
"loglevel": basic.message.LIMIT_INFO, |
|
|
|
"loglevel": LIMIT_INFO, |
|
|
|
"logpath": "{job.par.tcdir}/{log}/{job.program}_{job.start}.txt"} |
|
|
|
} |
|
|
|
|
|
|
|