<commit_before>#!/usr/bin/env python
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.


""" Run the Skia render_pdfs executable. """


from build_step import BuildStep
import sys


class RenderPdfs(BuildStep):
  def _Run(self):
    self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])

if '__main__' == __name__:
  sys.exit(BuildStep.RunBuildStep(RenderPdfs))
<commit_msg>Skip RenderPdfs until the crash is fixed<commit_after>#!/usr/bin/env python
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.


""" Run the Skia render_pdfs executable. """


from build_step import BuildStep, BuildStepWarning
import sys


class RenderPdfs(BuildStep):
  def _Run(self):
    # Skip this step for now, since the new SKPs are causing it to crash.
    raise BuildStepWarning('Skipping this step since it is crashing.')
    #self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])

if '__main__' == __name__:
  sys.exit(BuildStep.RunBuildStep(RenderPdfs))

{'fraction_non_alphanumeric': 0.0972338642078793, 'fraction_numerical': 0.006705783738474434, 'mean_word_length': 4.658767772511848, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7473148', 'n_tokens_mistral': 399, 'n_tokens_neox': 381, 'n_words': 131}