Commit 19bd4d8c authored by Cedric Roux's avatar Cedric Roux

test setup v2: simplify softmodem tests variable definition

parent bd3394f5
...@@ -280,55 +280,21 @@ machine_list.wait_all_free() ...@@ -280,55 +280,21 @@ machine_list.wait_all_free()
# run eNB softmodem tests # # run eNB softmodem tests #
############################################################################## ##############################################################################
tests = { tests = {}
'b210' : { for a in { 'b210', 'x310', 'exmimo2' }:
'alu' : { tests[a] = {}
'fdd' : { for b in { 'alu', 'openair-cn' }:
'5' : { tests[a][b] = {}
'bandrich' : { for c in { 'fdd', 'tdd' }:
'tcp' : { 'ul': False, 'dl' : False }, tests[a][b][c] = {}
'udp' : { 'ul': False, 'dl' : False }}, for d in { '5', '10', '20' }:
'sony' : { tests[a][b][c][d] = {}
'tcp' : { 'ul': False, 'dl' : False }, for e in { 'bandrich', 'sony', '3276' }:
'udp' : { 'ul': False, 'dl' : False }}}, tests[a][b][c][d][e] = {}
'10' : { for f in { 'tcp', 'udp' }:
'bandrich' : { tests[a][b][c][d][e][f] = {}
'tcp' : { 'ul': False, 'dl' : False }, for g in { 'dl', 'ul' }:
'udp' : { 'ul': False, 'dl' : False }}, tests[a][b][c][d][e][f][g] = False
'sony' : {
'tcp' : { 'ul': False, 'dl' : False },
'udp' : { 'ul': False, 'dl' : False }}},
'20' : {
'bandrich' : {
'tcp' : { 'ul': False, 'dl' : False },
'udp' : { 'ul': False, 'dl' : False }},
'sony' : {
'tcp' : { 'ul': False, 'dl' : False },
'udp' : { 'ul': False, 'dl' : False }}}},
'tdd' : {
'5' : {
'3276' : {
'tcp' : { 'ul': False, 'dl' : False },
'udp' : { 'ul': False, 'dl' : False }}},
'10' : {
'3276' : {
'tcp' : { 'ul': False, 'dl' : False },
'udp' : { 'ul': False, 'dl' : False }}},
'20' : {
'3276' : {
'tcp' : { 'ul': False, 'dl' : False },
'udp' : { 'ul': False, 'dl' : False }}}}},
'openair-cn' : {}
},
'x310' : {
'alu' : {},
'openair-cn' : {}
},
'exmimo2' : {
'alu' : {},
'openair-cn' : {}
}
}
todo_tests_ids = [] todo_tests_ids = []
for test in todo_tests: for test in todo_tests:
......
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