tools/perf/run_gtest_benchmark.py
def RunGTest(options, gtest_args):
  """Runs gtest with --trace-dir switch pointing at intermediate dir.

  Args:
    options: Parsed command line options.
    gtest_args: List of args to run gtest.

  Returns gtest run return code.
  """
  trace_dir = _GetTraceDir(options)
  os.makedirs(trace_dir)
  gtest_args.append('--trace-dir=%s' % trace_dir)

  gtest_command = [options.executable]
  gtest_command.extend(gtest_args)

  return_code = test_env.run_command(gtest_command)
  return return_code
Runs gtest with --trace-dir switch pointing at intermediate dir.

  Args:
    options: Parsed command line options.
    gtest_args: List of args to run gtest.

  Returns gtest run return code.
  
Runs gtest with --trace-dir switch pointing at intermediate dir.
Runs gtest with -- trace - dir switch pointing at intermediate dir .
def RunGTest(options, gtest_args):
  trace_dir = _GetTraceDir(options)
  os.makedirs(trace_dir)
  gtest_args.append('--trace-dir=%s' % trace_dir)
  gtest_command = [options.executable]
  gtest_command.extend(gtest_args)
  return_code = test_env.run_command(gtest_command)
  return return_code
def RunGTest ( options , gtest_args ) : trace_dir = _GetTraceDir ( options ) os . makedirs ( trace_dir ) gtest_args . append ( '--trace-dir=%s' % trace_dir ) gtest_command = [ options . executable ] gtest_command . extend ( gtest_args ) return_code = test_env . run_command ( gtest_command ) return return_code
Runs gtest with --trace-dir switch pointing at intermediate dir.
Runs gtest with -- trace - dir switch pointing at intermediate dir .
"""Runs gtest with --trace-dir switch pointing at intermediate dir.

  Args:
    options: Parsed command line options.
    gtest_args: List of args to run gtest.

  Returns gtest run return code.
  """
options
Parsed command line options.
Parsed command line options .
gtest_args
List of args to run gtest.
List of args to run gtest .