Searched refs:root_dir (Results 1 – 7 of 7) sorted by relevance
/tools/tradefederation/core/atest/test_finders/ |
D | module_finder.py | 56 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 79 if os.path.isfile(os.path.join(self.root_dir, path, 145 config_file = os.path.join(self.root_dir, 153 out_dir = os.path.relpath(out_dir, self.root_dir) 269 config_file = os.path.join(self.root_dir, rel_config) 315 search_dir = os.path.join(self.root_dir, 318 search_dir = self.root_dir 323 test_path = test_finder_utils.find_class_file(self.root_dir, 334 self.root_dir, test_dir, self.module_info) 383 search_dir = os.path.join(self.root_dir, [all …]
|
D | test_finder_utils.py | 349 def find_parent_module_dir(root_dir, start_dir, module_info): argument 365 if not is_equal_or_sub_dir(start_dir, root_dir): 366 raise ValueError('%s not in repo %s' % (start_dir, root_dir)) 369 while current_dir != root_dir: 372 module_dir = os.path.relpath(current_dir, root_dir) 377 rel_dir = os.path.relpath(current_dir, root_dir)
|
D | tf_integration_finder_unittest.py | 58 self.tf_finder.root_dir = uc.ROOT
|
D | module_finder_unittest.py | 90 self.mod_finder.root_dir = uc.ROOT 448 self.mod_finder.root_dir = uc.TEST_DATA_DIR
|
/tools/tradefederation/core/atest/ |
D | module_info.py | 62 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '/') 63 out_dir = os.environ.get(constants.ANDROID_OUT, root_dir) 70 module_info_target = os.path.relpath(module_file_path, root_dir)
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner.py | 94 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 95 return os.path.commonprefix([output, root_dir]) != root_dir
|
/tools/repohooks/tools/ |
D | cpplint.py | 1124 root_dir = project_dir 1125 one_up_dir = os.path.dirname(root_dir) 1127 root_dir = os.path.dirname(root_dir) 1130 prefix = os.path.commonprefix([root_dir, project_dir]) 1135 root_dir = current_dir = os.path.dirname(fullname) 1140 root_dir = current_dir 1143 if (os.path.exists(os.path.join(root_dir, ".git")) or 1144 os.path.exists(os.path.join(root_dir, ".hg")) or 1145 os.path.exists(os.path.join(root_dir, ".svn"))): 1146 prefix = os.path.commonprefix([root_dir, project_dir])
|