Home
last modified time | relevance | path

Searched refs:start_dir (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/unittest/
Dloader.py242 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument
276 top_level_dir = start_dir
291 if os.path.isdir(os.path.abspath(start_dir)):
292 start_dir = os.path.abspath(start_dir)
293 if start_dir != top_level_dir:
294 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py'))
298 __import__(start_dir)
302 the_module = sys.modules[start_dir]
303 top_part = start_dir.split('.')[0]
305 start_dir = os.path.abspath(
[all …]
D__init__.py80 return loader.discover(start_dir=this_dir, pattern=pattern)
/third_party/skia/buildtools/checkdeps/
Dcheckdeps.py76 def CheckDirectory(self, start_dir): argument
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/python/Lib/unittest/test/
Dtest_discovery.py336 start_dir=this_dir, pattern=pattern)
399 def _find_tests(start_dir, pattern, namespace=None): argument
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')])
637 def discover(self, start_dir, pattern, top_level_dir): argument
638 self.args.append((start_dir, pattern, top_level_dir))
650 def discover(self, start_dir, pattern, top_level_dir): argument
651 self.args.append((start_dir, pattern, top_level_dir))
764 start_dir='foo', pattern='foo.py'
[all …]
D__main__.py11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
Dtest_program.py21 def _find_tests(start_dir, pattern): argument
23 self.assertEqual(start_dir, expectedPath)
/third_party/ltp/lib/tests/
Dtst_tmpdir_test.c52 char *start_dir = getcwd(NULL, PATH_MAX); in main() local
62 strcmp(tmp_dir, start_dir) != 0) { in main()
/third_party/python/Lib/
Dzipfile.py1157 self._zipfile.start_dir = self._fileobj.tell()
1170 self._zipfile.start_dir = self._fileobj.tell()
1173 self._fileobj.seek(self._zipfile.start_dir)
1266 self.start_dir = self.fp.tell()
1269 self.start_dir = 0
1274 self.fp.seek(self.start_dir)
1282 self.fp.seek(self.start_dir)
1290 self.start_dir = self.fp.tell()
1344 self.start_dir = offset_cd + concat
1345 fp.seek(self.start_dir, 0)
[all …]
/third_party/python/Lib/idlelib/idle_test/
D__init__.py14 package_tests = loader.discover(start_dir=this_dir, pattern='test*.py',
/third_party/python/Lib/unittest/test/testmock/
D__main__.py11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
/third_party/ltp/lib/
Dtst_test.c1272 const char *start_dir; in add_paths() local
1275 start_dir = tst_get_startwd(); in add_paths()
1278 SAFE_ASPRINTF(&new_path, "%s::%s", old_path, start_dir); in add_paths()
1280 SAFE_ASPRINTF(&new_path, "::%s", start_dir); in add_paths()
/third_party/python/Lib/test/support/
D__init__.py154 package_tests = loader.discover(start_dir=pkg_dir,
/third_party/python/Doc/library/
Dunittest.rst1837 .. method:: discover(start_dir, pattern='test*.py', top_level_dir=None)
1871 *start_dir* can be a dotted module name as well as a directory.
1880 *start_dir* can be a :term:`namespace packages <namespace package>`.
2328 package_tests = loader.discover(start_dir=this_dir, pattern=pattern)
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst1677 Honour load_tests in the start_dir of discovery.
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest21-pr19092.so.abi3855 …<parameter type-id='type-id-250' name='start_dir' filepath='../.././libcpp/files.c' line='452' col…
/third_party/libabigail/tests/data/test-annotate/
Dtest21-pr19092.so.abi5997 …<parameter type-id='type-id-250' name='start_dir' filepath='../.././libcpp/files.c' line='452' col…