Lines Matching refs:page_set
186 ps = [os.path.join(page_sets_dir, page_set)
187 for page_set in os.listdir(page_sets_dir)
188 if not os.path.isdir(os.path.join(page_sets_dir, page_set)) and
189 page_set.endswith('.py')]
202 def _IsChromiumPageSet(self, page_set): argument
204 return page_set.startswith(self._chrome_page_sets_path)
236 for page_set in self._page_sets:
237 if os.path.basename(page_set) == '__init__.py':
239 page_set_basename = os.path.basename(page_set).split('.')[0]
242 page_set.split(os.path.sep)[-1].split('.')[0] + '_*.wprgo')
243 page_set_dir = os.path.dirname(page_set)
245 if self._IsChromiumPageSet(page_set):
284 raise Exception('record_wpr failed for page_set: %s' % page_set)
305 exclusions = PAGE_SETS_TO_EXCLUSIONS.get(os.path.basename(page_set))
311 print('\n\n=======Capturing SKP of %s=======\n\n' % page_set)
316 print('\n\n=======Retrying %s=======\n\n' % page_set)
322 self._RenameSkpFiles(page_set)
326 print('\n\n=======Retrying %s=======\n\n' % page_set)
335 raise Exception('run_benchmark failed for page_set: %s' % page_set)
396 def _GetSkiaSkpFileName(self, page_set): argument
399 ps_filename = os.path.basename(page_set)
407 def _GetChromiumSkpFileName(self, page_set, site): argument
416 ps_filename = os.path.basename(page_set)
421 def _RenameSkpFiles(self, page_set): argument
433 if self._IsChromiumPageSet(page_set):
434 filename = self._GetChromiumSkpFileName(page_set, site)
436 filename = self._GetSkiaSkpFileName(page_set)