tools/variations/bisect_variations.py
def _AskCanReproduce(exit_status, stdout, stderr):
  """Asks whether running Chrome with given variations reproduces the issue.

  Args:
      exit_status: Chrome subprocess return code.
      stdout: Chrome subprocess stdout.
      stderr: Chrome subprocess stderr.

  Returns:
      One of ['y', 'n', 'r']:
        'y': yes
        'n': no
        'r': retry
  """
  # Loop until we get a response that we can parse.
  while True:
    response = raw_input('Can we reproduce with given variations file '
                         '[(y)es/(n)o/(r)etry/(s)tdout/(q)uit]: ').lower()
    if response in ('y', 'n', 'r'):
      return response
    if response == 'q':
      sys.exit()
    if response == 's':
      logging.info(stdout)
      logging.info(stderr)
Asks whether running Chrome with given variations reproduces the issue.

  Args:
      exit_status: Chrome subprocess return code.
      stdout: Chrome subprocess stdout.
      stderr: Chrome subprocess stderr.

  Returns:
      One of ['y', 'n', 'r']:
        'y': yes
        'n': no
        'r': retry
  
Asks whether running Chrome with given variations reproduces the issue.
Asks whether running Chrome with given variations reproduces the issue .
def _AskCanReproduce(exit_status, stdout, stderr):
  while True:
    response = raw_input('Can we reproduce with given variations file '
                         '[(y)es/(n)o/(r)etry/(s)tdout/(q)uit]: ').lower()
    if response in ('y', 'n', 'r'):
      return response
    if response == 'q':
      sys.exit()
    if response == 's':
      logging.info(stdout)
      logging.info(stderr)
def _AskCanReproduce ( exit_status , stdout , stderr ) : while True : response = raw_input ( 'Can we reproduce with given variations file ' '[(y)es/(n)o/(r)etry/(s)tdout/(q)uit]: ' ) . lower ( ) if response in ( 'y' , 'n' , 'r' ) : return response if response == 'q' : sys . exit ( ) if response == 's' : logging . info ( stdout ) logging . info ( stderr )
Asks whether running Chrome with given variations reproduces the issue.
Asks whether running Chrome with given variations reproduces the issue .
"""Asks whether running Chrome with given variations reproduces the issue.

  Args:
      exit_status: Chrome subprocess return code.
      stdout: Chrome subprocess stdout.
      stderr: Chrome subprocess stderr.

  Returns:
      One of ['y', 'n', 'r']:
        'y': yes
        'n': no
        'r': retry
  """ # Loop until we get a response that we can parse.
None
One of ['y', 'n', 'r']
exit_status
Chrome subprocess return code.
Chrome subprocess return code .
stdout
Chrome subprocess stdout.
Chrome subprocess stdout .
stderr
Chrome subprocess stderr.
Chrome subprocess stderr .