Searched refs:t_info (Results 1 – 14 of 14) sorted by relevance
/tools/asuite/atest/test_finders/ |
D | cache_finder.py | 79 for t_info in test_infos: 80 if t_info.test_runner == 'BazelTestRunner': 82 if not self._is_test_path_valid(t_info): 84 if not self._is_test_build_target_valid(t_info): 86 if not self._is_test_filter_valid(t_info): 90 def _is_test_path_valid(self, t_info): argument 101 cached_test_paths = t_info.get_test_paths() 104 current_test_paths = self.module_info.get_paths(t_info.test_name) 113 def _is_test_build_target_valid(self, t_info): argument 124 for build_target in t_info.build_targets: [all …]
|
D | suite_plan_finder_unittest.py | 117 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name) 124 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info) 128 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name) 130 unittest_utils.assert_equal_testinfos(self, t_info, want_info) 137 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name) 144 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info) 180 t_info = self.suite_plan_finder.find_test_by_suite_path(path) 187 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info) 193 t_info = self.suite_plan_finder.find_test_by_suite_path(path) 200 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info) [all …]
|
D | test_info_unittest.py | 35 t_info = test_info.TestInfo('mock_name', 'mock_runner', build_targets) 36 self.assertEqual(sorted(t_info.get_test_paths()), sorted(exp_rel_paths))
|
D | cache_finder_unittest.py | 155 t_info = test_info.TestInfo( 159 self.assertTrue(self.cache_finder._is_test_build_target_valid(t_info)) 163 t_info = test_info.TestInfo('mock_name', 'mock_runner', {'my-test-target'}) 165 self.assertFalse(self.cache_finder._is_test_build_target_valid(t_info))
|
D | tf_integration_finder.py | 199 t_info = self._get_test_info(name, test_file, class_name) 200 if t_info: 201 t_infos.append(t_info)
|
D | test_finder_utils_unittest.py | 822 t_info = test_info.TestInfo( 828 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info) 836 t_info = test_info.TestInfo( 842 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info) 850 t_info = test_info.TestInfo( 856 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info) 870 t_info = test_info.TestInfo( 877 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info)
|
D | module_finder_unittest.py | 280 self, t_info: test_info.TestInfo, test_name: str 282 self.assertEqual(t_info.test_name, test_name) 285 self, t_info: test_info.TestInfo, test_name: str 287 self.assertEqual(t_info.raw_test_name, test_name) 290 self, t_info: test_info.TestInfo, class_name: str 294 t_info.data[constants.TI_FILTER], 298 self, t_info: test_info.TestInfo, config: str 300 self.assertEqual(config, t_info.data[constants.TI_REL_CONFIG]) 303 self, t_info: test_info.TestInfo, expected_build_target: str 306 any(expected_build_target in target for target in t_info.build_targets) [all …]
|
/tools/asuite/atest/ |
D | cli_translator.py | 162 for t_info in found_test_infos: 166 t_info.test_name 169 '(%s) Test dependencies: %s', t_info.test_name, test_deps 172 t_info.data[constants.TI_MODULE_ARG] = tm_test_detail.options 173 t_info.from_test_mapping = True 174 t_info.host = tm_test_detail.host 176 t_info.test_finder = finder_info 179 t_info.test_name = test 184 t_info.raw_test_name = test_name 189 t_info.add_mainline_module(mod) [all …]
|
D | cli_translator_unittest.py | 859 for t_info in test_infos: 860 targets |= t_info.build_targets
|
D | bazel_mode.py | 1818 for t_info in test_infos: 1820 self.retrieve_test_output_info(t_info)
|
/tools/asuite/atest/test_runners/ |
D | suite_plan_test_runner_unittest.py | 54 t_info = test_info.TestInfo( 60 test_infos.add(t_info) 93 t_info = test_info.TestInfo( 99 test_infos.add(t_info)
|
D | atest_tf_test_runner.py | 648 for t_info in test_infos: 649 if t_info.test_finder in [ 654 unsupported.add(t_info.test_name) 656 elif t_info.test_name in ( 660 unsupported.add(t_info.test_name) 728 def _create_test(self, t_info: test_info.TestInfo) -> Test: 730 info = self.module_info.get_module_info(t_info.raw_test_name) 738 'Could not find module information for %s', t_info.raw_test_name 740 return self._guess_test_type_for_missing_module(t_info) 749 return DeviceTest(info, _select_variant(info), t_info.mainline_modules) [all …]
|
D | test_runner_base.py | 276 for t_info in test_infos: 277 build_targets |= t_info.build_targets
|
D | atest_tf_test_runner_unittest.py | 1607 t_info = test_info_of('hello_world_test') 1608 t_info.add_mainline_module('mainline_module_1') 1609 t_info.add_mainline_module('mainline_module_2') 1614 deps = runner.get_test_runner_build_reqs([t_info]) 1667 t_info = test_info_of('HelloWorldTest') 1672 deps = runner.get_test_runner_build_reqs([t_info])
|