
""" Run GM on an Android device. """

from android_build_step import AndroidBuildStep
from build_step import BuildStep
from run_gm import RunGM
import sys


class AndroidRunGM(AndroidBuildStep, RunGM):
  def _Run(self):
    self._gm_args.append('--nopdf')
    RunGM._Run(self)


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


""" Run GM on an Android device. """

from android_build_step import AndroidBuildStep
from build_step import BuildStep
from run_gm import RunGM
import sys


class AndroidRunGM(AndroidBuildStep, RunGM):
  def __init__(self, timeout=9600, **kwargs):
    super(AndroidRunGM, self).__init__(timeout=timeout, **kwargs)

  def _Run(self):
    self._gm_args.append('--nopdf')
    RunGM._Run(self)


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

Increase timeout for GM on Android
Increase timeout for GM on Android

Unreviewed.
(SkipBuildbotRuns)

Review URL: https://codereview.chromium.org/18845002

git-svn-id: 32fc27f4dcfb6c0385cd9719852b95fe6680452d@9906 2bbb7eff-a529-9590-31e7-b0007b416f81

  
  """ Run GM on an Android device. """
  
  from android_build_step import AndroidBuildStep
  from build_step import BuildStep
  from run_gm import RunGM
  import sys
  
  
  class AndroidRunGM(AndroidBuildStep, RunGM):
+   def __init__(self, timeout=9600, **kwargs):
+     super(AndroidRunGM, self).__init__(timeout=timeout, **kwargs)
+ 
    def _Run(self):
      self._gm_args.append('--nopdf')
      RunGM._Run(self)
  
  
  if '__main__' == __name__:
    sys.exit(BuildStep.RunBuildStep(AndroidRunGM))
  
Increase timeout for GM on Android
## Code Before:

""" Run GM on an Android device. """

from android_build_step import AndroidBuildStep
from build_step import BuildStep
from run_gm import RunGM
import sys


class AndroidRunGM(AndroidBuildStep, RunGM):
  def _Run(self):
    self._gm_args.append('--nopdf')
    RunGM._Run(self)


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

## Instruction:
Increase timeout for GM on Android
## Code After:

""" Run GM on an Android device. """

from android_build_step import AndroidBuildStep
from build_step import BuildStep
from run_gm import RunGM
import sys


class AndroidRunGM(AndroidBuildStep, RunGM):
  def __init__(self, timeout=9600, **kwargs):
    super(AndroidRunGM, self).__init__(timeout=timeout, **kwargs)

  def _Run(self):
    self._gm_args.append('--nopdf')
    RunGM._Run(self)


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