sbsv2/raptor/test/smoke_suite/keepgoing.py
branchfix
changeset 371 2db10eac415a
parent 370 c86748d54051
child 374 96629a6f26e4
equal deleted inserted replaced
370:c86748d54051 371:2db10eac415a
    19 def run():
    19 def run():
    20 	t = SmokeTest()
    20 	t = SmokeTest()
    21 	t.description = """Raptor should keep going and build as much as possible with the -k option specified."""
    21 	t.description = """Raptor should keep going and build as much as possible with the -k option specified."""
    22 	
    22 	
    23 	command = "sbs -b smoke_suite/test_resources/simple/bld.inf -k"
    23 	command = "sbs -b smoke_suite/test_resources/simple/bld.inf -k"
    24 	
    24 	config = " --configpath=test/smoke_suite/test_resources/keepgoing"
    25 	targets = [
    25 	targets = [
    26 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
    26 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
    27 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
    27 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
    28 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
    28 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
    29 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map",
    29 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map",
    73 	t.warnings = 0
    73 	t.warnings = 0
    74 	t.errors = 1
    74 	t.errors = 1
    75 	t.returncode = 1
    75 	t.returncode = 1
    76 	t.run()
    76 	t.run()
    77 	
    77 	
       
    78 	# using groups with bad sub-groups should build any independent groups
       
    79 	t.id = "115b"
       
    80 	t.name = "keepgoing_bad_subgroup"
       
    81 	t.command = command + config + " -c lots_of_products"
       
    82 	t.mustmatch = ["sbs: error: Unknown build configuration 'armv5.bogus'"]
       
    83 	t.warnings = 0
       
    84 	t.errors = 1
       
    85 	t.returncode = 1
       
    86 	t.run()
       
    87 	
    78 	# summarise	
    88 	# summarise	
    79 	t.id = "115"
    89 	t.id = "115"
    80 	t.name = "keepgoing"
    90 	t.name = "keepgoing"
    81 	t.print_result()
    91 	t.print_result()
    82 	return t
    92 	return t