resubmit fix for DPDEF141787 which was dropped off during merging fix
authoryiluzhu
Thu, 17 Dec 2009 11:34:53 +0000
branchfix
changeset 47 b0785ef0e8cd
parent 46 14d284e75719
child 48 f872a2538607
resubmit fix for DPDEF141787 which was dropped off during merging
sbsv2/raptor/python/plugins/filter_terminal.py
sbsv2/raptor/test/smoke_suite/dll_armv5_winscw_freeze.py
--- a/sbsv2/raptor/python/plugins/filter_terminal.py	Fri Dec 11 15:23:56 2009 +0000
+++ b/sbsv2/raptor/python/plugins/filter_terminal.py	Thu Dec 17 11:34:53 2009 +0000
@@ -312,7 +312,7 @@
 					r = Recipe.factory(self.recipe_dict['name'], "".join(self.recipeBody))
 					warnings = r.warnings()
 					info = r.info()
-					if len(warnings) > 0:
+					if len(warnings) or len(info):
 						if not self.analyseonly:
 							for L in self.recipeBody:
 								if not L.startswith('+'):
--- a/sbsv2/raptor/test/smoke_suite/dll_armv5_winscw_freeze.py	Fri Dec 11 15:23:56 2009 +0000
+++ b/sbsv2/raptor/test/smoke_suite/dll_armv5_winscw_freeze.py	Thu Dec 17 11:34:53 2009 +0000
@@ -86,6 +86,22 @@
 			
 	t.run()
 	
+
+	t.id = "0012d"
+	t.name = "efreeze_info"
+	
+	t.command = "sbs -b smoke_suite/test_resources/unfrozen/freeze.inf" \
+			+ " -p unfrozensymbols_for_freeze.mmp -c winscw freeze"
+			
+	t.mustmatch = [
+		"EFREEZE: DEF file up to date"
+	]
+	t.warnings = 0
+	t.errors = 0
+			
+	t.run()
+
+
 	t.id = "12"
 	t.name = "dll_armv5_winscw_freeze"
 	t.print_result()