Home
last modified time | relevance | path

Searched refs:build_targets (Results 1 – 25 of 33) sorted by relevance

12

/tools/asuite/atest/
Datest.py440 sorted_build_targets = sorted(list(test_info.build_targets))
654 def _exclude_modules_in_targets(build_targets): argument
663 shrank_build_targets = build_targets.copy()
666 for target in build_targets:
740 build_targets = set()
744 build_targets, test_infos = translator.translate(args)
746 build_targets = _exclude_modules_in_targets(build_targets)
756 build_targets |= test_runner_handler.get_test_runner_reqs(mod_info,
763 build_targets |= (regression_test_runner.RegressionTestRunner('')
767 if build_targets and constants.BUILD_STEP in steps:
[all …]
Dcli_translator.py149 test_info.build_targets = {
150 x for x in test_info.build_targets
152 test_info.build_targets.update(mm_build_targets)
158 test_info.build_targets.update(test_deps_in_mod_info)
518 targets |= test_info.build_targets
646 build_targets = self._gather_build_targets(test_infos)
647 return build_targets, test_infos
Datest_utils.py262 def build(build_targets, verbose=False, env_vars=None): argument
275 if not build_targets:
282 ', '.join(build_targets)))
283 logging.debug('Building Dependencies: %s', ' '.join(build_targets))
284 cmd = get_build_cmd() + list(build_targets)
296 logging.error('Error building: %s', build_targets)
Datest_unittest.py177 build_targets = set([mod_one_name, mod_two_name, mod_three_name])
178 t_info = test_info.TestInfo(test_name, 'mock_runner', build_targets)
/tools/asuite/atest-py2/test_finders/
Dsuite_plan_finder_unittest.py61 build_targets={suite_plan},
70 build_targets={'cts'},
104 build_targets={suite_name},
120 build_targets=set([suite]),
156 build_targets=set([suite]),
167 build_targets=set([suite]),
178 build_targets=set([suite]),
Dtest_info.py32 def __init__(self, test_name, test_runner, build_targets, data=None, argument
54 self.build_targets = build_targets
75 self.test_name, self.test_runner, self.build_targets,
Dmodule_finder.py120 test.build_targets |= test_finder_utils.get_targets_from_vts_xml(
122 test.build_targets.add('vts-test-core')
123 test.build_targets.add(test.test_name)
165 test.build_targets = self._get_build_targets(module_name, rel_config)
323 build_targets=set(),
351 build_targets=set(),
380 build_targets=set(),
Dsuite_plan_finder.py93 build_targets=set([suite]),
147 build_targets=set([suite_name]),
Dtf_integration_finder.py224 build_targets=self._get_build_targets(rel_config),
266 build_targets=self._get_build_targets(rel_config),
/tools/asuite/atest/test_finders/
Dsuite_plan_finder_unittest.py65 build_targets={suite_plan},
74 build_targets={'cts'},
108 build_targets={suite_name},
124 build_targets=set([suite]),
160 build_targets=set([suite]),
171 build_targets=set([suite]),
182 build_targets=set([suite]),
Dtest_info.py31 def __init__(self, test_name, test_runner, build_targets, data=None, argument
57 self.build_targets = build_targets
80 self.test_name, self.test_runner, self.build_targets,
127 for build_target in self.build_targets:
Dmodule_finder.py140 test.build_targets |= test_finder_utils.get_targets_from_vts_xml(
142 test.build_targets.add('vts-test-core')
143 test.build_targets.add(test.test_name)
185 test.build_targets = self._get_build_targets(module_name, rel_config)
191 test.build_targets.update(test_finder_utils.DALVIK_TEST_DEPS)
409 build_targets=set(),
440 build_targets=set(),
476 build_targets=set(),
878 build_targets=self._get_build_targets(module_name,
Dtest_info_unittest.py31 build_targets = set()
34 build_targets.add('MODULES-IN-%s' % exp_rel_path.replace('/', '-'))
35 t_info = test_info.TestInfo('mock_name', 'mock_runner', build_targets)
Dsuite_plan_finder.py94 build_targets=set([suite]),
148 build_targets=set([suite_name]),
Dtest_finder_utils_unittest.py777 'androidtest_config_module', 'mock_runner', build_targets=set())
790 'single_config_module', 'mock_runner', build_targets=set())
803 'multiple_config_module', 'mock_runner', build_targets=set())
816 'Multiple2', 'mock_runner', build_targets=set())
Dtf_integration_finder.py314 build_targets=self._get_build_targets(rel_config),
357 build_targets=self._get_build_targets(rel_config),
/tools/asuite/atest-py2/
Datest.py423 print("\t\t{}".format(", ".join(test_info.build_targets)))
424 for build_target in test_info.build_targets:
615 build_targets = set()
621 build_targets, test_infos = translator.translate(args)
630 build_targets |= test_runner_handler.get_test_runner_reqs(mod_info,
651 build_targets |= (regression_test_runner.RegressionTestRunner('')
655 if build_targets and constants.BUILD_STEP in steps:
662 build_targets.add(mod_info.module_info_target)
664 success = atest_utils.build(build_targets, verbose=args.verbose)
668 targets=build_targets)
Datest_utils.py156 def build(build_targets, verbose=False, env_vars=None): argument
169 if not build_targets:
176 ', '.join(build_targets)))
177 logging.debug('Building Dependencies: %s', ' '.join(build_targets))
178 cmd = get_build_cmd() + list(build_targets)
190 logging.error('Error building: %s', build_targets)
Dcli_translator.py439 targets |= test_info.build_targets
515 build_targets = self._gather_build_targets(test_infos)
516 return build_targets, test_infos
Datest_unittest.py172 build_targets = set([mod_one_name, mod_two_name, mod_three_name])
173 t_info = test_info.TestInfo(test_name, 'mock_runner', build_targets)
/tools/asuite/aidegen/lib/
Dproject_info.py368 rebuild_targets.update(module.build_targets)
610 def _separate_build_targets(build_targets, max_length): argument
623 for i, item in enumerate(build_targets):
629 if first_item_index < len(build_targets):
630 yield first_item_index, len(build_targets)
Dsource_locator.py120 self.build_targets = set()
158 self.build_targets.add(srcjar)
194 self.build_targets.add(srcjar)
569 self.build_targets |= self.missing_jars
Dsource_locator_unittest.py178 self.assertEqual(module_data.build_targets, expect_result)
441 self.assertEqual(module_data.build_targets, expacted_result)
454 self.assertEqual(mod_data.build_targets, set())
457 self.assertEqual(mod_data.build_targets, {'a'})
/tools/asuite/atest-py2/test_runners/
Datest_tf_test_runner.py523 build_targets = set()
532 build_targets |= test_info_i.build_targets
547 build_targets=build_targets,
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py751 build_targets = set()
762 build_targets |= test_info_i.build_targets
777 build_targets=build_targets,

12