Add a link to the perf dashboard in the test output.
BUG=None
TEST=None
R=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/863263004
diff --git a/mojo/tools/mopy/perf_data_uploader.py b/mojo/tools/mopy/perf_data_uploader.py
index 3f00def..84e5280 100755
--- a/mojo/tools/mopy/perf_data_uploader.py
+++ b/mojo/tools/mopy/perf_data_uploader.py
@@ -129,7 +129,16 @@
except _UploadException as e:
print e
return False
- print "Done successfully."
+
+ print "Done."
+
+ dashboard_params = urllib.urlencode({
+ "masters": master_name,
+ "bots": perf_id,
+ "tests": test_name,
+ "rev": point_id
+ })
+ print "Results Dashboard: %s/report?%s" % (server_url, dashboard_params)
return True