summaryrefslogtreecommitdiffstats
path: root/tools/perf/run_tests
blob: 384a0caf0b5a08389920b329ff9cc4acd26a8ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
# Copyright (c) 2012 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.
"""
This script runs tests to verify that the perf tools are working.

The actual performance tools are not run by this script.
"""

import os
import sys

import perf_tools
import telemetry.run_tests

if __name__ == '__main__':
  top_level_dir = os.path.abspath(
    os.path.dirname(__file__))
  start_dir = 'perf_tools'
  ret = telemetry.run_tests.Main(
    sys.argv[1:], start_dir, top_level_dir)

  start_dir = 'page_sets'
  ret = telemetry.run_tests.Main(
    sys.argv[1:], start_dir, top_level_dir)

  sys.exit(ret)