sbsv2/raptor/test/common/raptor_tests.py
branchwip
changeset 28 6983dbbe3d70
parent 25 2b76b04e296d
child 31 c7bbe0e983d3
equal deleted inserted replaced
27:2e850dca8de6 28:6983dbbe3d70
   131 		manifest = open(ReplaceEnvs(mani), "r")
   131 		manifest = open(ReplaceEnvs(mani), "r")
   132 		le = len(epocroot)
   132 		le = len(epocroot)
   133 		for line in manifest:
   133 		for line in manifest:
   134 			line = line.replace("$(HOSTPLATFORM_DIR)", host_platform)
   134 			line = line.replace("$(HOSTPLATFORM_DIR)", host_platform)
   135 			line = line.replace("./", epocroot+"/").rstrip("\n")
   135 			line = line.replace("./", epocroot+"/").rstrip("\n")
   136 			# Get rid of newline char and add to dictionary
       
   137 			all_files[line] = True
   136 			all_files[line] = True
   138 			# This bit makes a record of unique folders into a list
   137 			# This bit makes a record of unique folders into a list
   139 			pos = line.rfind("/", le)
   138 			pos = line.rfind("/", le)
   140 			while pos > le: # Look through the parent folders
   139 			while pos > le: # Look through the parent folders
   141 				f = line[:pos]
   140 				f = line[:pos]