#!/usr/bin/env vpython
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import sys

from core import path_util
from core import benchmark_finders

sys.path.insert(1, path_util.GetTelemetryDir())

from telemetry import decorators


def main():
  all_benchmarks = benchmark_finders.GetAllPerfBenchmarks()
  for b in all_benchmarks:
    disabled_platforms = ', '.join(decorators.GetDisabledAttributes(b))
    print '{:<60} {:<40}'.format(b.Name(), disabled_platforms)


if __name__ == '__main__':
  sys.exit(main())
