Lines Matching full:path
37 The test_suite must contain a build path where the native test
55 build_path = os.path.join(android_build.GetTop(), self.GetBuildPath())
56 os.path.walk(build_path, self._CollectTestSources, source_list)
85 full_path = os.path.join(os.sep, "data", "nativetest", f)
110 This method is a callback for os.path.walk.
118 (name, ext) = os.path.splitext(f)
122 test_list.append(str(os.path.join(dirname, f)))
124 def _FilterOutMissing(self, path, sources):
132 path: Where the binaries should be.
133 sources: List of tests source path.
139 binary = os.path.basename(f)
140 binary = os.path.splitext(binary)[0]
141 found = self._FindFileRecursively(path, binary)
143 binary = os.path.relpath(os.path.abspath(found),
144 os.path.abspath(path))
148 def _FindFileRecursively(self, path, match):
149 """Finds the first executable binary in a given path that matches the name.
152 path: Where to search for binaries. Can be nested directories.
155 first matched file in the path or None if none is found.
157 for root, dirs, files in os.walk(path):
160 return os.path.join(root, f)
162 found = self._FindFileRecursively(os.path.join(root, d), match)
184 full_path = os.path.join(android_build.GetHostBin(), binary)