Lines Matching refs:runnable
204 def AddRunnableDuration(self, runnable, duration): argument
206 if runnable.name not in self.runnables:
207 self.runnables[runnable.name] = {
208 'graphs': runnable.graphs,
210 'timeout': runnable.timeout,
213 existing_entry = self.runnables[runnable.name]
214 assert runnable.timeout == existing_entry['timeout']
215 assert runnable.graphs == existing_entry['graphs']
626 def _Run(self, runnable, count, secondary=False): argument
629 def _LoggedRun(self, runnable, count, secondary=False): argument
633 output = self._Run(runnable, count, secondary)
642 logging.warning('>>> Test timed out after %ss.', runnable.timeout)
647 def Run(self, runnable, count, secondary): argument
659 output = self._LoggedRun(runnable, count, secondary=False)
661 return output, self._LoggedRun(runnable, count, secondary=True)
698 def _Run(self, runnable, count, secondary=False): argument
700 cmd = runnable.GetCommand(self.command_prefix, shell_dir, self.extra_flags)
714 if runnable.process_size:
753 def _Run(self, runnable, count, secondary=False): argument
758 if runnable.path:
759 bench_rel = os.path.normpath(os.path.join(*runnable.path))
765 runnable_name = '-'.join(runnable.graphs)
776 binary=runnable.binary,
777 args=runnable.GetCommandFlags(self.extra_flags),
779 timeout=runnable.timeout,
788 if runnable.process_size:
1073 for runnable in FlattenRunnables(root, NodeCB):
1074 runnable_name = '/'.join(runnable.graphs)
1080 def RunGenerator(runnable): argument
1084 runnable, args.confidence_level):
1088 for i in range(0, max(1, args.run_count or runnable.run_count)):
1091 for i in RunGenerator(runnable):
1092 attempts_left = runnable.retry_count + 1
1102 runnable, i, secondary=args.shell_dir_secondary)
1103 result_tracker.AddRunnableDuration(runnable, output.duration)
1105 runnable, output_secondary.duration)
1108 runnable.ProcessOutput(output, result_tracker, i)
1110 runnable.ProcessOutput(
1117 runnable_name, runnable.retry_count + 1)