• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2# Copyright (c) 2012 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
9TELEMETRY_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')
10sys.path.append(TELEMETRY_DIR)
11from telemetry import project_config
12from telemetry.testing import unittest_runner
13
14
15def main():
16  config = project_config.ProjectConfig(
17      top_level_dir=TELEMETRY_DIR,
18      client_configs=[
19          os.path.join(TELEMETRY_DIR,
20                       'telemetry', 'telemetry_unittest_deps.json')])
21  return unittest_runner.Run(config, disable_cloud_storage_io_during_test=True)
22
23if __name__ == '__main__':
24  sys.exit(main())
25