Policy: check MustRemainInstalled in addition to UserMayModifySettings before offerin...
[chromium-blink-merge.git] / tools / perf / run_benchmark
blobe077bb62a4d789b3908b4c4f52bef14c0dc08a07
1 #!/usr/bin/env python
2 # Copyright (c) 2013 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 benchmark_runner
12 from telemetry.core import environment
15 if __name__ == '__main__':
16 base_dir = os.path.dirname(os.path.realpath(__file__))
17 benchmark_runner.config = environment.Environment([base_dir])
18 sys.exit(benchmark_runner.main())