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

Unified Diff: scripts/slave/recipes/chromium.py

Issue 745463003: Display telemetry chartjson output and result data on waterfall. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Added coverage. Created 6 years, 1 month 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
Index: scripts/slave/recipes/chromium.py
diff --git a/scripts/slave/recipes/chromium.py b/scripts/slave/recipes/chromium.py
index c544ca1fc3ead37ff3b7335f8cb1743f00c58189..a86d68edc7e79a707cc1aaf147b9abd9ebee9b00 100644
--- a/scripts/slave/recipes/chromium.py
+++ b/scripts/slave/recipes/chromium.py
@@ -346,3 +346,25 @@ def GenTests(api):
api.override_step_data(
'blink_perf.all.release', retcode=1)
)
+
+ yield (
+ api.test('test_chartjson_enabled') +
+ api.properties.generic(mastername='chromium.perf',
+ buildername='Linux Perf (1)',
+ parent_buildername='Linux Builder',
+ buildnumber=0) +
+ api.platform('linux', 64) +
+ api.override_step_data(
+ 'List Perf Tests',
+ api.json.output({
+ "steps": {
+ "blink_perf.all.exact": {
+ "cmd": "/usr/bin/python /path/to/run_benmark --a=1 -v --b=2",
+ "perf_dashboard_id": "blink_perf.all",
+ "device_affinity": 0,
+ "chartjson_file": True
+ }
+ },
+ "version": 2,
+ }))
+ )

Powered by Google App Engine
This is Rietveld 408576698