Home
last modified time | relevance | path

Searched refs:top_level_dir (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
Dloader.py163 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument
185 if top_level_dir is None and self._top_level_dir is not None:
187 top_level_dir = self._top_level_dir
188 elif top_level_dir is None:
190 top_level_dir = start_dir
192 top_level_dir = os.path.abspath(top_level_dir)
194 if not top_level_dir in sys.path:
199 sys.path.insert(0, top_level_dir)
200 self._top_level_dir = top_level_dir
205 if start_dir != top_level_dir:
[all …]
Dmain.py211 top_level_dir = options.top
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
/external/lldb/test/unittest2/
Dloader.py163 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument
185 if top_level_dir is None and self._top_level_dir is not None:
187 top_level_dir = self._top_level_dir
188 elif top_level_dir is None:
190 top_level_dir = start_dir
192 top_level_dir = os.path.abspath(top_level_dir)
194 if not top_level_dir in sys.path:
199 sys.path.insert(0, top_level_dir)
200 self._top_level_dir = top_level_dir
205 if start_dir != top_level_dir:
[all …]
Dmain.py211 top_level_dir = options.top
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
/external/chromium_org/tools/telemetry/telemetry/unittest/
Drun_tests.py16 def Discover(start_dir, top_level_dir=None, pattern='test*.py'): argument
21 modules = discover.DiscoverModules(start_dir, top_level_dir, pattern)
50 def DiscoverAndRunTests(dir_name, args, top_level_dir, platform, argument
54 suite = Discover(dir_name, top_level_dir, '*_unittest.py')
91 def Main(args, start_dir, top_level_dir, runner=None): argument
132 start_dir, args, top_level_dir, browser_to_create.platform,
Dpage_set_smoke_test.py98 def RunSmokeTest(self, page_sets_dir, top_level_dir): argument
104 page_sets = discover.DiscoverClasses(page_sets_dir, top_level_dir,
/external/chromium_org/tools/telemetry/
Drun_tests14 top_level_dir = os.path.abspath(os.path.dirname(__file__)) variable
16 ret = run_tests.Main(sys.argv[1:], top_level_dir, top_level_dir, runner)
/external/chromium_org/tools/perf/benchmarks/
Dbenchmark_unittest.py61 top_level_dir = os.path.dirname(benchmarks_dir)
62 measurements_dir = os.path.join(top_level_dir, 'measurements')
65 measurements_dir, top_level_dir, page_measurement.PageMeasurement,
68 benchmarks_dir, top_level_dir, test.Test, pattern='*.py').values()
/external/chromium_org/tools/perf/
Drun_tests20 top_level_dir = os.path.abspath(os.path.dirname(__file__)) variable
22 ret = run_tests.Main(sys.argv[1:], top_level_dir, top_level_dir, runner)
/external/chromium_org/content/test/gpu/
Drun_unittests23 top_level_dir = os.path.abspath(os.path.dirname(__file__)) variable
25 ret = run_tests.Main(sys.argv[1:], top_level_dir, top_level_dir, runner)
/external/chromium_org/tools/telemetry/telemetry/core/
Ddiscover.py17 def DiscoverModules(start_dir, top_level_dir, pattern='*'): argument
41 top_level_dir)
54 def DiscoverClasses(start_dir, top_level_dir, base_class, pattern='*', argument
71 modules = DiscoverModules(start_dir, top_level_dir, pattern)
/external/chromium_org/tools/perf/page_sets/
Dpage_set_unittest.py14 top_level_dir = os.path.dirname(page_sets_dir)
15 self.RunSmokeTest(page_sets_dir, top_level_dir)
D__init__.py15 top_level_dir = os.path.dirname(start_dir) variable
18 start_dir, top_level_dir, base_class).values():
/external/chromium_org/content/test/gpu/page_sets/
Dpage_set_unittest.py14 top_level_dir = os.path.dirname(page_sets_dir)
15 self.RunSmokeTest(page_sets_dir, top_level_dir)
D__init__.py13 top_level_dir = os.path.dirname(start_dir) variable
16 start_dir, top_level_dir, base_class).values():
/external/chromium_org/chrome/test/telemetry/
Drun_cros_tests13 top_level_dir = os.path.abspath(os.path.dirname(__file__)) variable
15 ret = run_tests.Main(sys.argv[1:], '.', top_level_dir, runner)
/external/lldb/test/unittest2/test/
Dtest_discovery.py153 '/foo/bar', top_level_dir='/foo')
174 top_level_dir = os.path.abspath(os.path.normpath('/foo/bar'))
177 self.assertEqual(loader._top_level_dir, top_level_dir)
179 self.assertIn(top_level_dir, sys.path)
236 def discover(self, start_dir, pattern, top_level_dir): argument
237 self.args.append((start_dir, pattern, top_level_dir))