Disable BrowserPluginHostTest.HiddenBeforeNavigation under TSan v2
[chromium-blink-merge.git] / tools / perf / run_measurement
blob362a94343eb1d7df2926bea3aa4aa3d67ca546a5
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.
6 import os
7 import sys
9 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'telemetry'))
11 from telemetry import test_runner
12 from telemetry.core import environment
13 from telemetry.core import util
14 from telemetry.util import bootstrap
17 CROS_BOOSTRAP_DEPS_PATH = os.path.join(
18 util.GetChromiumSrcDir(), 'tools', 'cros', 'bootstrap_deps')
21 def main():
22 if '--print-bootstrap-deps-cros' in sys.argv:
23 print bootstrap.ListAllDepsPaths(CROS_BOOSTRAP_DEPS_PATH)
24 return 0
26 base_dir = os.path.dirname(os.path.realpath(__file__))
27 test_runner.config = environment.Environment([base_dir])
28 sys.exit(test_runner.main())
31 if __name__ == '__main__':
32 sys.exit(main())