1#!/usr/bin/env python
2# Copyright 2014 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.
5
6import os
7import sys
8
9sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'telemetry'))
10sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'perf'))
11
12from telemetry import test_runner
13from telemetry.core import environment
14
15
16if __name__ == '__main__':
17  base_dir = os.path.dirname(os.path.realpath(__file__))
18  test_runner.config = environment.Environment([base_dir])
19  sys.exit(test_runner.main())
20