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, |
+ })) |
+ ) |