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

Unified Diff: mojo/tools/get_test_list.py

Issue 1421823002: Move performance dashboard upload logic to devtoolslib. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Move the argparse part too. Created 5 years, 2 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 | « mojo/devtools/common/devtoolslib/perf_dashboard.py ('k') | mojo/tools/mopy/perf_data_uploader.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/get_test_list.py
diff --git a/mojo/tools/get_test_list.py b/mojo/tools/get_test_list.py
index f597e33f337b770d3404068d5ee932c3240daf0e..7af7feb95310bf85c159ccf1825403dc704dd2b9 100755
--- a/mojo/tools/get_test_list.py
+++ b/mojo/tools/get_test_list.py
@@ -18,6 +18,9 @@ import sys
from mopy.config import Config
from mopy.paths import Paths
+# Url of the performance dashboard server to upload results of perftests to.
+_PERFORMANCE_DASHBOARD_URL = "https://chromeperf.appspot.com"
+
def GetTestList(config, verbose_count=0):
"""Gets the list of tests to run for the given config. The test list (which is
@@ -211,11 +214,11 @@ def GetTestList(config, verbose_count=0):
for test_name in test_names:
command = ["python",
os.path.join("mojo", "tools", "perf_test_runner.py"),
+ "--server-url", _PERFORMANCE_DASHBOARD_URL,
"--perf-id", perf_id,
"--test-name", test_name,
"--perf-data-path",
- os.path.join(build_dir, test_name + "_perf.log"),
- "--production-dashboard"]
+ os.path.join(build_dir, test_name + "_perf.log")]
if config.values.get("builder_name"):
command += ["--builder-name", config.values["builder_name"]]
if config.values.get("build_number"):
« no previous file with comments | « mojo/devtools/common/devtoolslib/perf_dashboard.py ('k') | mojo/tools/mopy/perf_data_uploader.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698