tools/perf/core/testing.py
def GetRunOptions(*args, **kwargs):
  """Augment telemetry options for tests with results_processor defaults."""
  options = options_for_unittests.GetRunOptions(*args, **kwargs)
  parser = command_line.ArgumentParser()
  processor_options = parser.parse_args([])
  for arg in vars(processor_options):
    if not hasattr(options, arg):
      setattr(options, arg, getattr(processor_options, arg))
  return options
Augment telemetry options for tests with results_processor defaults.
Augment telemetry options for tests with results_processor defaults.
Augment telemetry options for tests with results_processor defaults .
def GetRunOptions(*args, **kwargs):
  options = options_for_unittests.GetRunOptions(*args, **kwargs)
  parser = command_line.ArgumentParser()
  processor_options = parser.parse_args([])
  for arg in vars(processor_options):
    if not hasattr(options, arg):
      setattr(options, arg, getattr(processor_options, arg))
  return options
def GetRunOptions ( * args , ** kwargs ) : options = options_for_unittests . GetRunOptions ( * args , ** kwargs ) parser = command_line . ArgumentParser ( ) processor_options = parser . parse_args ( [ ] ) for arg in vars ( processor_options ) : if not hasattr ( options , arg ) : setattr ( options , arg , getattr ( processor_options , arg ) ) return options
Augment telemetry options for tests with results_processor defaults.
Augment telemetry options for tests with results_processor defaults .
"""Augment telemetry options for tests with results_processor defaults."""