Lines Matching refs:tr
2508 tr = TwisterRunner(instances, suites, env=env_mock)
2509 tr.options.retry_failed = 2
2510 tr.options.retry_interval = 10
2511 tr.options.retry_build_errors = True
2512 tr.options.jobs = None
2513 tr.options.build_only = None
2515 setattr(tr.options, k, v)
2516 tr.update_counting_before_pipeline = mock.Mock()
2517 tr.execute = mock.Mock()
2518 tr.show_brief = mock.Mock()
2559 tr.run()
2563 assert tr.jobserver.name == expected_jobserver
2565 assert tr.instances['dummy instance'].metrics == {
2616 tr = TwisterRunner(instances, suites, env=env_mock)
2617 tr.results = mock.Mock(
2637 tr.results.filtered_configs += value * (-1 if decrement else 1)
2638 tr.results.filtered_configs_increment = filtered_configs_increment
2640 tr.results.filtered_static += value * (-1 if decrement else 1)
2641 tr.results.filtered_static_increment = filtered_static_increment
2643 tr.results.error += value * (-1 if decrement else 1)
2644 tr.results.error_increment = error_increment
2646 tr.results.cases += value * (-1 if decrement else 1)
2647 tr.results.cases_increment = cases_increment
2649 tr.results.filtered_cases += value * (-1 if decrement else 1)
2650 tr.results.filtered_cases_increment = filtered_cases_increment
2652 tr.update_counting_before_pipeline()
2654 assert tr.results.filtered_static == 1
2655 assert tr.results.filtered_configs == 1
2656 assert tr.results.filtered_cases == 4
2657 assert tr.results.cases == 4
2658 assert tr.results.error == 1
2672 tr = TwisterRunner(instances, suites, env=env_mock)
2673 tr.results = mock.Mock(
2681 tr.show_brief()
2731 tr = TwisterRunner(instances, suites, env=env_mock)
2732 tr.get_cmake_filter_stages = mock.Mock(
2735 tr.results = mock.Mock(iteration=0)
2739 tr.add_tasks_to_queue(
2750 tr.get_cmake_filter_stages.assert_any_call('full', mock.ANY)
2752 tr.get_cmake_filter_stages.assert_any_call('some', mock.ANY)
2783 tr = TwisterRunner(instances, suites, env=env_mock)
2784 tr.jobserver = mock.Mock(
2799 tr.pipeline_mgr(pipeline_mock, done_queue_mock, lock_mock, results_mock)
2804 tr.jobserver.get_job.assert_called_once()
2819 tr = TwisterRunner(instances, suites, env=env_mock)
2820 tr.add_tasks_to_queue = mock.Mock()
2821 tr.jobs = 5
2830 tr.execute(pipeline_mock, done_mock)