equal
deleted
inserted
replaced
55 mustnotmatch = [ |
55 mustnotmatch = [ |
56 "error: no (CHECK|WHAT) information found" |
56 "error: no (CHECK|WHAT) information found" |
57 ] |
57 ] |
58 warnings = 0 |
58 warnings = 0 |
59 |
59 |
60 t.id = "0106" |
60 t.id = "0106a" |
61 t.name = "whatcomp" |
61 t.name = "whatcomp_basic" |
62 t.description = description |
62 t.description = description |
63 t.command = command % "arm.v5.urel.gcce4_4_1" |
63 t.command = command % "arm.v5.urel.gcce4_4_1" |
64 t.targets = targets |
64 t.targets = targets |
65 t.mustmatch = mustmatch |
65 t.mustmatch = mustmatch |
66 t.mustnotmatch = mustnotmatch |
66 t.mustnotmatch = mustnotmatch |
67 t.warnings = warnings |
67 t.warnings = warnings |
68 t.run() |
68 t.run() |
69 |
69 |
|
70 t.id = "0106a" |
|
71 t.name = "whatcomp_component_repeated" |
|
72 t.description = """ |
|
73 It is possible for what information about a component to not be grouped |
|
74 (i.e. for multiple whatlogs tags relating to a single component to be |
|
75 interspersed with whatlog tags relating to other components). |
|
76 Raptor must cope with that and must *not* report missing files under |
|
77 the wrong component name.""" |
|
78 t.command = "sbs_filter --filters=FilterWhatComp < smoke_suite/test_resources/logexamples/what_component_repeated.log" |
|
79 t.targets = [] |
|
80 t.mustmatch = [ |
|
81 "Chdir y:/ext/app/emailwizard", |
|
82 ".*epoc32.data.something", |
|
83 "Chdir y:/sf/mw/gsprofilesrv/ftuwizardmodel.*", |
|
84 ".*epoc32.release.armv5.something", |
|
85 "Chdir y:/ext/app/emailwizard.*" |
|
86 ] |
|
87 |
|
88 t.mustnotmatch = [] |
|
89 t.warnings = 0 |
|
90 t.run() |
|
91 |
|
92 t.id = "0106" |
70 t.print_result() |
93 t.print_result() |
71 return t |
94 return t |