63 "</sbs>" |
63 "</sbs>" |
64 ] |
64 ] |
65 t.mustnotmatch_singleline = [] |
65 t.mustnotmatch_singleline = [] |
66 t.run() |
66 t.run() |
67 |
67 |
|
68 t.name = "query_cli_config_bv" |
|
69 t.command = "sbs --query=config[armv5_urel.test_bv_1] --configpath=test/smoke_suite/test_resources/bv" |
|
70 t.mustmatch_singleline = [ |
|
71 "<sbs version='2.*'>", |
|
72 "fullname='arm\.v5\.urel\.rvct._.\.test_bv_1'", |
|
73 "outputpath='.*/epoc32/release/armv5.one/urel'", |
|
74 "</sbs>" |
|
75 ] |
|
76 t.mustnotmatch_singleline = [] |
|
77 t.run() |
|
78 |
|
79 t.name = "query_cli_config_others" |
|
80 t.command = "sbs --query=config[winscw_urel] --query=config[tools2_rel]" |
|
81 t.mustmatch_singleline = [ |
|
82 "<sbs version='2.*'>", |
|
83 "outputpath='.*/epoc32/release/winscw/urel'", |
|
84 "outputpath='.*/epoc32/release/tools2/rel'", |
|
85 "</sbs>" |
|
86 ] |
|
87 t.mustnotmatch_singleline = [] |
|
88 t.run() |
|
89 |
68 t.name = "query_cli_bad" |
90 t.name = "query_cli_bad" |
69 t.command = "sbs --query=nonsense" |
91 t.command = "sbs --query=nonsense" |
70 t.mustmatch_singleline = [ |
92 t.mustmatch_singleline = [ |
71 "<sbs version='2.*'>", |
93 "<sbs version='2.*'>", |
72 "exception 'unknown query' with query 'nonsense'", |
94 "exception 'unknown query' with query 'nonsense'", |