1#!/usr/bin/env python
2# Copyright (c) 2015 The Chromium Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5import os
6import sys
7
8sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
9from telemetry import benchmark_runner
10
11def main():
12  top_level_dir = os.path.dirname(__file__)
13  config = benchmark_runner.ProjectConfig(
14      top_level_dir=top_level_dir,
15      benchmark_dirs=[os.path.join(top_level_dir, 'benchmarks')])
16  return benchmark_runner.main(config)
17
18if __name__ == '__main__':
19  sys.exit(main())
20