Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1130)

Unified Diff: chrome/test/android/telemetry_tests/run_chrome_browser_tests.py

Issue 2140803003: Add PopularUrls test for Chrome using telemetry correctness test framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jbudorick's comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/android/telemetry_tests/pylintrc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/android/telemetry_tests/run_chrome_browser_tests.py
diff --git a/chrome/test/android/telemetry_tests/run_chrome_browser_tests.py b/chrome/test/android/telemetry_tests/run_chrome_browser_tests.py
new file mode 100755
index 0000000000000000000000000000000000000000..6e310b1392968337d5de8b93575b37b6dceb00b9
--- /dev/null
+++ b/chrome/test/android/telemetry_tests/run_chrome_browser_tests.py
@@ -0,0 +1,30 @@
+#!/usr/bin/env python
+# Copyright 2016 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
+
+CHROMIUM_SRC_DIR = os.path.abspath(
+ os.path.join(os.path.dirname(__file__), '..', '..', '..', '..'))
+PERF_DIR = os.path.join(CHROMIUM_SRC_DIR, 'tools', 'perf')
+sys.path.append(PERF_DIR)
+
+from chrome_telemetry_build import chromium_config
+sys.path.append(chromium_config.GetTelemetryDir())
+
+from telemetry import project_config
+from telemetry.testing import browser_test_runner
+
+
+def main():
+ options = browser_test_runner.TestRunOptions()
+ config = project_config.ProjectConfig(
+ top_level_dir=os.path.dirname(__file__),
+ benchmark_dirs=[os.path.join(os.path.dirname(__file__), 'browser_tests')])
+ return browser_test_runner.Run(config, options, sys.argv[1:])
+
+
+if __name__ == '__main__':
+ sys.exit(main())
« no previous file with comments | « chrome/test/android/telemetry_tests/pylintrc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698