Lines Matching refs:test_path
80 options.test_path = os.path.abspath(options.test_path)
81 options.test_path = os.path.normcase(options.test_path)
82 if not os.path.isfile(options.test_path) and not os.path.isdir(options.test_path):
85 options.test_path))
108 if os.path.isdir(options.test_path):
110 r for r, _, f in os.walk(options.test_path)
132 if not options.test_path.endswith('.dex'):
133 options.source_files = [options.test_path]
134 options.test_files = [options.test_path]
135 self._run_test(self._get_test_name(options.test_path))
143 def _get_test_name(self, test_path): argument
149 test_name = os.path.relpath(test_path,
150 self.context.options.test_path)
152 test_name = os.path.basename(test_path)