Searched refs:start_dir (Results 1 - 12 of 12) sorted by relevance
/third_party/python/Lib/unittest/ |
H A D | loader.py | 242 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 276 top_level_dir = start_dir 289 if os.path.isdir(os.path.abspath(start_dir)): 290 start_dir = os.path.abspath(start_dir) 291 if start_dir != top_level_dir: 292 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py')) 296 __import__(start_dir) 300 the_module = sys.modules[start_dir] 301 top_part = start_dir [all...] |
H A D | __init__.py | 83 return loader.discover(start_dir=this_dir, pattern=pattern)
|
/third_party/skia/buildtools/checkdeps/ |
H A D | checkdeps.py | 76 def CheckDirectory(self, start_dir): 79 tree (starting at |self.base_directory|). |start_dir| must be a 94 for rules, file_paths in self.GetAllRulesAndFiles(start_dir): 261 start_dir = base_directory 265 start_dir = os.path.abspath(os.path.join(base_directory, args[0])) 272 if not start_dir.startswith(deps_checker.base_directory): 274 print('but %s is not a subdirectory of %s' % (start_dir, base_directory)) 278 print('Checking:', start_dir) 289 deps_checker.CheckDirectory(start_dir)
|
/third_party/ltp/lib/tests/ |
H A D | tst_tmpdir_test.c | 52 char *start_dir = getcwd(NULL, PATH_MAX); in main() local 62 strcmp(tmp_dir, start_dir) != 0) { in main()
|
/third_party/python/Lib/unittest/test/ |
H A D | test_discovery.py | 336 start_dir=this_dir, pattern=pattern) 399 def _find_tests(start_dir, pattern): 400 _find_tests_args.append((start_dir, pattern)) 408 start_dir = os.path.abspath('/foo/bar/baz') 411 self.assertEqual(_find_tests_args, [(start_dir, 'pattern')]) 416 # invoked when the start_dir is a package (and not the top level). 637 def discover(self, start_dir, pattern, top_level_dir): 638 self.args.append((start_dir, pattern, top_level_dir)) 650 def discover(self, start_dir, pattern, top_level_dir): 651 self.args.append((start_dir, patter [all...] |
H A D | __main__.py | 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
H A D | test_program.py | 21 def _find_tests(start_dir, pattern): 23 self.assertEqual(start_dir, expectedPath)
|
/third_party/python/Lib/ |
H A D | zipfile.py | 1203 self._zipfile.start_dir = self._fileobj.tell() 1209 self._zipfile.start_dir = self._fileobj.tell() 1212 self._fileobj.seek(self._zipfile.start_dir) 1311 self.start_dir = self.fp.tell() 1314 self.start_dir = 0 1319 self.fp.seek(self.start_dir) 1327 self.fp.seek(self.start_dir) 1335 self.start_dir = self.fp.tell() 1388 # self.start_dir: Position of start of central directory 1389 self.start_dir [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | __init__.py | 19 module_tests = loader.discover(start_dir=this_dir, 23 ## module_tests = loader.discover(start_dir=this_dir,
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | __main__.py | 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
/third_party/ltp/lib/ |
H A D | tst_test.c | 1438 const char *start_dir; in add_paths() local 1441 start_dir = tst_get_startwd(); in add_paths() 1444 SAFE_ASPRINTF(&new_path, "%s::%s", old_path, start_dir); in add_paths() 1446 SAFE_ASPRINTF(&new_path, "::%s", start_dir); in add_paths()
|
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 163 package_tests = loader.discover(start_dir=pkg_dir,
|
Completed in 11 milliseconds