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

Unified Diff: tools/telemetry/telemetry/benchmark.py

Issue 1103163008: Move user_story.user_story_runner to story.story_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to internal, not story. Created 5 years, 8 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 | « tools/perf/profile_creators/profile_generator.py ('k') | tools/telemetry/telemetry/benchmark_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/benchmark.py
diff --git a/tools/telemetry/telemetry/benchmark.py b/tools/telemetry/telemetry/benchmark.py
index 684fb3810615060ea4c35c41616ea84ee3c7a90d..bc7a57398772417ac73982bb62f88e7b75025a51 100644
--- a/tools/telemetry/telemetry/benchmark.py
+++ b/tools/telemetry/telemetry/benchmark.py
@@ -13,12 +13,12 @@ from telemetry.core import browser_finder
from telemetry.core import command_line
from telemetry.core import util
from telemetry import decorators
+from telemetry.internal import story_runner
from telemetry import page
from telemetry.page import page_set
from telemetry.page import page_test
from telemetry.page import test_expectations
from telemetry.results import results_options
-from telemetry.user_story import user_story_runner
from telemetry.util import cloud_storage
from telemetry.util import exception_formatter
from telemetry.web_perf import timeline_based_measurement
@@ -198,7 +198,7 @@ class Benchmark(command_line.Command):
benchmark_metadata, finder_options,
self.ValueCanBeAddedPredicate) as results:
try:
- user_story_runner.Run(pt, us, expectations, finder_options, results,
+ story_runner.Run(pt, us, expectations, finder_options, results,
max_failures=self._max_failures)
return_code = min(254, len(results.failures))
except Exception:
@@ -341,8 +341,8 @@ class Benchmark(command_line.Command):
def AddCommandLineArgs(parser):
- user_story_runner.AddCommandLineArgs(parser)
+ story_runner.AddCommandLineArgs(parser)
def ProcessCommandLineArgs(parser, args):
- user_story_runner.ProcessCommandLineArgs(parser, args)
+ story_runner.ProcessCommandLineArgs(parser, args)
« no previous file with comments | « tools/perf/profile_creators/profile_generator.py ('k') | tools/telemetry/telemetry/benchmark_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698