Name of example container changed to Baremetal

This commit is contained in:
Amit Mahajan
2009-11-19 23:26:00 +05:30
parent 1384701a53
commit 352d75f66c
25 changed files with 59 additions and 58 deletions

View File

@@ -12,7 +12,7 @@ class Container:
self.name = None
self.type = None
self.id = id
self.example_id = 0
self.baremetal_id = 0
self.pager_lma = 0
self.pager_vma = 0
self.pager_size = 0
@@ -173,9 +173,9 @@ class configuration:
dirname = val[1:-1].lower()
self.containers[id].dirname = dirname
self.containers[id].name = dirname
elif param[:len("EXAMPLE_APP")] == "EXAMPLE_APP":
elif param[:len("BAREMETAL_APP")] == "BAREMETAL_APP":
param1 = param.split("_", 1)
self.containers[id].example_id = param1[1][-1:]
self.containers[id].baremetal_id = param1[1][-1:]
elif param[:len("CAP_")] == "CAP_":
prefix, param_rest = param.split('_', 1)
prepare_capability(self.containers[id], param_rest, val)
@@ -186,8 +186,8 @@ class configuration:
self.containers[id].type = "linux"
elif param2 == "POSIX":
self.containers[id].type = "posix"
elif param2 == "EXAMPLES":
self.containers[id].type = "examples"
elif param2 == "BAREMETAL":
self.containers[id].type = "baremetal"
elif param2 == "TEST":
self.containers[id].type = "test"
# Extract parameters for containers