• Home
  • Raw
  • Download

Lines Matching refs:name

57     def add_suite(self, name, path, test_class, *args):  argument
58 if name in self.tests:
59 raise KeyError('suite {} already exists'.format(name))
60 self.tests[name] = _scan_test_suite(path, test_class, *args)
71 if not test_filters.filter(test.name):
77 return [Skipped(test.name, message)]
201 def __init__(self, name, test_dir): argument
202 self.name = name
220 def check_subtest_broken(self, name): argument
222 self.toolchain, subtest=name)
224 def check_subtest_unsupported(self, name): argument
226 self.toolchain, subtest=name)
230 def __init__(self, name, test_dir, script): argument
231 super(AwkTest, self).__init__(name, test_dir)
271 name = _make_subtest_name(self.name, case_name)
273 if not test_filters.filter(name):
285 return Failure(name, 'awk failed')
288 return Success(name)
297 return Failure(name, message)
469 def __init__(self, name, test_dir, abi, platform, toolchain, build_flags): argument
470 super(PythonBuildTest, self).__init__(name, test_dir)
477 build_dir = os.path.join(out_dir, self.name)
478 print('Running build test: {}'.format(self.name))
486 return [Success(self.name)]
488 return [Failure(self.name, failure_message)]
492 def __init__(self, name, test_dir, abi, platform, toolchain, build_flags): argument
493 super(ShellBuildTest, self).__init__(name, test_dir)
500 build_dir = os.path.join(out_dir, self.name)
501 print('Running build test: {}'.format(self.name))
502 if os.name == 'nt':
504 return [Skipped(self.name, reason)]
505 return [_run_build_sh_test(self.name, build_dir, self.test_dir,
511 def __init__(self, name, test_dir, abi, platform, toolchain, build_flags): argument
512 super(NdkBuildTest, self).__init__(name, test_dir)
519 build_dir = os.path.join(out_dir, self.name)
520 print('Running build test: {}'.format(self.name))
521 return [_run_ndk_build_test(self.name, build_dir, self.test_dir,
584 def __init__(self, name, test_dir, abi, platform, device_platform, argument
586 super(DeviceTest, self).__init__(name, test_dir)
613 def check_subtest_broken(self, name): argument
616 self.toolchain, subtest=name)
618 def check_subtest_unsupported(self, name): argument
621 self.toolchain, subtest=name)
624 print('Running device test: {}'.format(self.name))
625 build_dir = os.path.join(out_dir, self.name)
626 build_result = _run_ndk_build_test(self.name, build_dir, self.test_dir,
632 device_dir = posixpath.join('/data/local/tmp/ndk-tests', self.name)
644 build_dir, device_dir, self.abi, test_filters, self.name)
646 case_name = _make_subtest_name(self.name, case)