summaryrefslogtreecommitdiffstats
path: root/tools/chrome_proxy/run_livetests
diff options
context:
space:
mode:
Diffstat (limited to 'tools/chrome_proxy/run_livetests')
-rwxr-xr-xtools/chrome_proxy/run_livetests20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/chrome_proxy/run_livetests b/tools/chrome_proxy/run_livetests
new file mode 100755
index 0000000..3246db6
--- /dev/null
+++ b/tools/chrome_proxy/run_livetests
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# Copyright 2014 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.
+
+import os
+import sys
+
+sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'telemetry'))
+sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'perf'))
+
+from telemetry import benchmark_runner
+
+
+if __name__ == '__main__':
+ top_level_dir = os.path.dirname(os.path.realpath(__file__))
+ environment = benchmark_runner.Environment(
+ top_level_dir=top_level_dir,
+ benchmark_dirs=[os.path.join(top_level_dir, 'live_tests')])
+ sys.exit(benchmark_runner.main(environment))