Lines Matching refs:test_infos
227 def _validate_exec_mode(args, test_infos, host_tests=None): argument
240 all_device_modes = [x.get_supported_exec_mode() for x in test_infos]
263 def _validate_tm_tests_exec_mode(args, test_infos): argument
276 test_infos)
410 def _print_test_info(mod_info, test_infos): argument
420 for test_info in test_infos:
431 def is_from_test_mapping(test_infos): argument
440 return list(test_infos)[0].from_test_mapping
443 def _split_test_mapping_tests(test_infos): argument
455 assert is_from_test_mapping(test_infos)
456 host_test_infos = set([info for info in test_infos if info.host])
457 device_test_infos = set([info for info in test_infos if not info.host])
462 def _run_test_mapping_tests(results_dir, test_infos, extra_args): argument
473 device_test_infos, host_test_infos = _split_test_mapping_tests(test_infos)
519 def _dry_run(results_dir, extra_args, test_infos): argument
531 for test_runner, tests in test_runner_handler.group_tests_by_test_runners(test_infos):
616 test_infos = set()
621 build_targets, test_infos = translator.translate(args)
622 if not test_infos:
624 if not is_from_test_mapping(test_infos):
625 _validate_exec_mode(args, test_infos)
627 _validate_tm_tests_exec_mode(args, test_infos)
629 return _print_test_info(mod_info, test_infos)
631 test_infos)
637 dry_run_cmds = _dry_run(results_dir, extra_args, test_infos)
678 if not is_from_test_mapping(test_infos):
680 results_dir, test_infos, extra_args)
684 results_dir, test_infos, extra_args)