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.
7 from telemetry.page import page_measurement
8 from telemetry.page import page_test_runner
10 def Main(base_dir, page_set_filenames):
11 """Turns a PageMeasurement into a command-line program.
14 base_dir: Path to directory containing tests and ProfileCreators.
16 runner = PageMeasurementRunner()
17 sys.exit(runner.Run(base_dir, page_set_filenames))
19 class PageMeasurementRunner(page_test_runner.PageTestRunner):
22 return page_measurement.PageMeasurement
25 def test_class_name(self):