tools/code_coverage/coverage.py
def _VerifyTargetExecutablesAreInBuildDirectory(commands):
  """Verifies that the target executables specified in the commands are inside
  the given build directory."""
  for command in commands:
    binary_path = _GetBinaryPath(command)
    binary_absolute_path = coverage_utils.GetFullPath(binary_path)
    assert binary_absolute_path.startswith(BUILD_DIR + os.sep), (
        'Target executable "%s" in command: "%s" is outside of '
        'the given build directory: "%s".' % (binary_path, command, BUILD_DIR))
Verifies that the target executables specified in the commands are inside
  the given build directory.
Verifies that the target executables specified in the commands are inside
the given build directory.
Verifies that the target executables specified in the commands are inside the given build directory .
def _VerifyTargetExecutablesAreInBuildDirectory(commands):
  for command in commands:
    binary_path = _GetBinaryPath(command)
    binary_absolute_path = coverage_utils.GetFullPath(binary_path)
    assert binary_absolute_path.startswith(BUILD_DIR + os.sep), (
        'Target executable "%s" in command: "%s" is outside of '
        'the given build directory: "%s".' % (binary_path, command, BUILD_DIR))
def _VerifyTargetExecutablesAreInBuildDirectory ( commands ) : for command in commands : binary_path = _GetBinaryPath ( command ) binary_absolute_path = coverage_utils . GetFullPath ( binary_path ) assert binary_absolute_path . startswith ( BUILD_DIR + os . sep ) , ( 'Target executable "%s" in command: "%s" is outside of ' 'the given build directory: "%s".' % ( binary_path , command , BUILD_DIR ) )
Verifies that the target executables specified in the commands are inside
the given build directory.
Verifies that the target executables specified in the commands are inside the given build directory .
"""Verifies that the target executables specified in the commands are inside
  the given build directory."""
commands