Example #1
0
def create_latest_log_alias(actual_path):
    """Creates a symlink to the latest test run logs.

    Args:
        actual_path: The source directory where the latest test run's logs are.
    """
    alias_path = os.path.join(os.path.dirname(actual_path), 'latest')
    utils.create_alias(actual_path, alias_path)
Example #2
0
def create_latest_log_alias(actual_path, alias):
    """Creates a symlink to the latest test run logs.

  Args:
    actual_path: string, the source directory where the latest test run's
      logs are.
    alias: string, the name of the directory to contain the latest log
      files.
  """
    alias_path = os.path.join(os.path.dirname(actual_path), alias)
    utils.create_alias(actual_path, alias_path)