version 2.12.0 (candidate 3) 2.12.0
authortimothy.murphy@nokia.com
Tue, 26 Jan 2010 09:43:47 +0000
changeset 160 2bc875af3200
parent 158 a06c1a10c603
child 174 cbe4932f8f5f
child 178 4e477ddf2eed
child 320 49da1e705345
version 2.12.0 (candidate 3)
sbsv2/raptor/python/plugins/filter_check.py
sbsv2/raptor/python/raptor_meta.py
sbsv2/raptor/test/smoke_suite/test_resources/simple/capability.mmp
--- a/sbsv2/raptor/python/plugins/filter_check.py	Mon Jan 25 10:55:15 2010 +0000
+++ b/sbsv2/raptor/python/plugins/filter_check.py	Tue Jan 26 09:43:47 2010 +0000
@@ -26,4 +26,5 @@
         def __init__(self): 
 		super(filter_what.FilterWhat,self).__init__()
 		self.check = True
+		self.path_prefix_to_strip = None
 
--- a/sbsv2/raptor/python/raptor_meta.py	Mon Jan 25 10:55:15 2010 +0000
+++ b/sbsv2/raptor/python/raptor_meta.py	Tue Jan 26 09:43:47 2010 +0000
@@ -1453,10 +1453,9 @@
 			for cap in toks[1]:
 				cap = cap.lower()
 				self.__debug("Setting  "+toks[0]+": " + cap)
-				if cap != "all":
-					if not cap.startswith("-"):
-						if not cap.startswith("+"):
-							cap = "+" + cap	
+				if not cap.startswith("-"):
+					if not cap.startswith("+"):
+						cap = "+" + cap	
 				self.capabilities.append(cap)
 		elif varname=='DEFFILE':
 			self.__defFileRoot = self.__currentMmpFile
@@ -2215,9 +2214,7 @@
 
 			if capability.startswith('-'):
 				invert = 0xffffffff
-				capability = capability[1:]
-			elif capability.startswith('+'):
-				capability = capability[1:]
+			capability = capability[1:]
 
 			if MMPRaptorBackend.supportedCapabilities.has_key(capability):
 				capabilityFlag1 = capabilityFlag1 ^ invert
--- a/sbsv2/raptor/test/smoke_suite/test_resources/simple/capability.mmp	Mon Jan 25 10:55:15 2010 +0000
+++ b/sbsv2/raptor/test/smoke_suite/test_resources/simple/capability.mmp	Tue Jan 26 09:43:47 2010 +0000
@@ -31,4 +31,4 @@
 EPOCSTACKSIZE 8192
 EPOCHEAPSIZE 0x5000 65535
 EPOCPROCESSPRIORITY low
-capability ALL -TCB -ProtServ TCB ProtServ -DRM
+capability TCB ALL -TCB -ProtServ TCB ProtServ -DRM