sbsv2/raptor/test/smoke_suite/keepgoing.py
branchfix
changeset 371 2db10eac415a
parent 370 c86748d54051
child 374 96629a6f26e4
--- a/sbsv2/raptor/test/smoke_suite/keepgoing.py	Thu Feb 25 16:02:22 2010 +0000
+++ b/sbsv2/raptor/test/smoke_suite/keepgoing.py	Tue Mar 02 09:54:25 2010 +0000
@@ -21,7 +21,7 @@
 	t.description = """Raptor should keep going and build as much as possible with the -k option specified."""
 	
 	command = "sbs -b smoke_suite/test_resources/simple/bld.inf -k"
-	
+	config = " --configpath=test/smoke_suite/test_resources/keepgoing"
 	targets = [
 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
@@ -75,6 +75,16 @@
 	t.returncode = 1
 	t.run()
 	
+	# using groups with bad sub-groups should build any independent groups
+	t.id = "115b"
+	t.name = "keepgoing_bad_subgroup"
+	t.command = command + config + " -c lots_of_products"
+	t.mustmatch = ["sbs: error: Unknown build configuration 'armv5.bogus'"]
+	t.warnings = 0
+	t.errors = 1
+	t.returncode = 1
+	t.run()
+	
 	# summarise	
 	t.id = "115"
 	t.name = "keepgoing"