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

Unified Diff: telemetry/telemetry/internal/story_runner.py

Issue 2342023005: Outputting chart json for disabled tests. (Closed)
Patch Set: Responding to review comments Created 4 years, 3 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
Index: telemetry/telemetry/internal/story_runner.py
diff --git a/telemetry/telemetry/internal/story_runner.py b/telemetry/telemetry/internal/story_runner.py
index 42f2841264342016d18aead8e7286e9e98bd54d5..3382482eeebc41f9c2a91d44e977aa8fd1192630 100644
--- a/telemetry/telemetry/internal/story_runner.py
+++ b/telemetry/telemetry/internal/story_runner.py
@@ -289,6 +289,11 @@ def RunBenchmark(benchmark, finder_options):
else:
logging.warning(
'Try --also-run-disabled-tests to force the benchmark to run.')
+ # If chartjson is specified, this will print a dict indicating the
+ # benchmark name and disabled state. crrev.com/2265423005 will update
+ # this return value once this logic is plumbed through the recipe.
+ results_options.FormatDisabledResults(
nednguyen 2016/09/22 13:24:34 Instead of using results_options, I think it would
eyaich1 2016/09/26 14:23:09 Done.
+ benchmark.GetMetadata(), finder_options)
return 1
pt = benchmark.CreatePageTest(finder_options)

Powered by Google App Engine
This is Rietveld 408576698