Searched refs:top_level_dir (Results 1 – 3 of 3) sorted by relevance
/external/lldb/test/unittest2/ |
D | loader.py | 163 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 …]
|
D | main.py | 211 top_level_dir = options.top 214 self.test = loader.discover(start_dir, pattern, top_level_dir)
|
/external/lldb/test/unittest2/test/ |
D | test_discovery.py | 153 '/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))
|