sbsv2/raptor/test/smoke_suite/whatcomp.py
branchfix
changeset 298 15d964981d94
parent 297 7029b5be2b15
child 450 63f3bc391c14
equal deleted inserted replaced
290:5190d528364b 298:15d964981d94
    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 	t.mustmatch_multiline = [ 
       
    82 		"Chdir y:.ext.app.emailwizard.*epoc32.data.something.*"+
       
    83 		"Chdir y:.sf.mw.gsprofilesrv.ftuwizardmodel.*epoc32.release.armv5.something.*"+
       
    84 		"Chdir y:.ext.app.emailwizard.*epoc32.data.something_else"
       
    85 		]
       
    86 
       
    87 	t.mustnotmatch = []
       
    88 	t.warnings = 0
       
    89 	t.run()
       
    90 
       
    91 	t.id = "0106"
    70 	t.print_result()
    92 	t.print_result()
    71 	return t
    93 	return t