sbsv2/raptor/test/smoke_suite/keepgoing.py
branchfix
changeset 374 96629a6f26e4
parent 371 2db10eac415a
equal deleted inserted replaced
373:d8868f997d1c 374:96629a6f26e4
    67 	t.id = "115a"
    67 	t.id = "115a"
    68 	t.name = "keepgoing_bad_config"
    68 	t.name = "keepgoing_bad_config"
    69 	t.command = command + " -c armv5 -c armv5.bogus"
    69 	t.command = command + " -c armv5 -c armv5.bogus"
    70 	t.targets = targets
    70 	t.targets = targets
    71 	t.addbuildtargets("smoke_suite/test_resources/simple/bld.inf", buildtargets)
    71 	t.addbuildtargets("smoke_suite/test_resources/simple/bld.inf", buildtargets)
    72 	t.mustmatch = ["sbs: error: Unknown build configuration 'armv5.bogus'"]
    72 	t.mustmatch = ["sbs: error: Unknown build variant 'bogus'"]
    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
    78 	# using groups with bad sub-groups should build any independent groups
    79 	t.id = "115b"
    79 	t.id = "115b"
    80 	t.name = "keepgoing_bad_subgroup"
    80 	t.name = "keepgoing_bad_subgroup"
    81 	t.command = command + config + " -c lots_of_products"
    81 	t.command = command + config + " -c lots_of_products"
    82 	t.mustmatch = ["sbs: error: Unknown build configuration 'armv5.bogus'"]
    82 	t.mustmatch = ["Unknown reference 'qwertyuio'",
       
    83 	               "Unknown reference 'asdfghjkl'",
       
    84 	               "Unknown reference 'zxcvbnm_p'"]
    83 	t.warnings = 0
    85 	t.warnings = 0
    84 	t.errors = 1
    86 	t.errors = 3
       
    87 	t.returncode = 1
       
    88 	t.run()
       
    89 	
       
    90 	# using groups with bad sub-sub-groups should build any independent groups
       
    91 	t.id = "115c"
       
    92 	t.name = "keepgoing_bad_subsubgroup"
       
    93 	t.command = command + config + " -c lots_of_products_2"
       
    94 	t.mustmatch = ["Unknown reference 'qwertyuio'",
       
    95 	               "Unknown reference 'asdfghjkl'",
       
    96 	               "Unknown reference 'zxcvbnm_p'"]
       
    97 	t.warnings = 0
       
    98 	t.errors = 3
    85 	t.returncode = 1
    99 	t.returncode = 1
    86 	t.run()
   100 	t.run()
    87 	
   101 	
    88 	# summarise	
   102 	# summarise	
    89 	t.id = "115"
   103 	t.id = "115"