Tests cor check and whatTests cor check and what fix
authortimothy.murphy@nokia.com
Tue, 09 Feb 2010 16:23:58 +0200
branchfix
changeset 199 3776a92b44bb
parent 198 53dd6a549481
child 200 4023109a00c1
Tests cor check and whatTests cor check and what
sbsv2/raptor/python/plugins/filter_what.py
sbsv2/raptor/test/smoke_suite/exe_armv5.py
--- a/sbsv2/raptor/python/plugins/filter_what.py	Tue Feb 09 15:48:43 2010 +0200
+++ b/sbsv2/raptor/python/plugins/filter_what.py	Tue Feb 09 16:23:58 2010 +0200
@@ -26,6 +26,7 @@
 		super(filter_interface.Filter,self).__init__()
 		self.path_prefix_to_strip = None
 		self.path_prefix_to_add_on = None
+		self.check = False
 	
 	def print_file(self, line, start, end):
 		"Ensure DOS slashes on Windows"
--- a/sbsv2/raptor/test/smoke_suite/exe_armv5.py	Tue Feb 09 15:48:43 2010 +0200
+++ b/sbsv2/raptor/test/smoke_suite/exe_armv5.py	Tue Feb 09 16:23:58 2010 +0200
@@ -117,6 +117,17 @@
 	if t.result == SmokeTest.FAIL:
 		result = SmokeTest.FAIL	
 
+	t.id = "0001d"
+	t.command = "rm $(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map; sbs_filter  --filters=FilterCheck < ${SBSLOGFILE}"
+	t.targets = []
+	t.mustmatch = ["MISSING"]
+	t.mustnotmatch = []
+	t.warnings = 1
+	t.returncode = 2
+	t.run()
+
+	if t.result == SmokeTest.FAIL:
+		result = SmokeTest.FAIL	
 	t.id = "1"
 	t.name = "exe_armv5"
 	t.result = result