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

Unified Diff: telemetry/telemetry/testing/browser_test_runner.py

Issue 2660913002: [Telemetry] Makes serially_executed_browser_test_case.LoadAllTestsInModule return nothing if not ex… (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | telemetry/telemetry/testing/serially_executed_browser_test_case.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/testing/browser_test_runner.py
diff --git a/telemetry/telemetry/testing/browser_test_runner.py b/telemetry/telemetry/testing/browser_test_runner.py
index c605379828f3f8757a37c48d4de5424a5af97741..7c8ed1b51eda4857cebddd3e94439e4b2e22c39f 100644
--- a/telemetry/telemetry/testing/browser_test_runner.py
+++ b/telemetry/telemetry/testing/browser_test_runner.py
@@ -31,6 +31,10 @@ def ProcessCommandLineOptions(test_class, project_config, args):
finder_options, positional_args = parser.parse_args(args)
finder_options.positional_args = positional_args
options_for_unittests.Push(finder_options)
+ # Use this to signal serially_executed_browser_test_case.LoadAllTestsInModule
+ # not to load tests in cases it's not invoked by browser_test_runner
+ # framework.
+ finder_options.browser_test_runner_running = True
return finder_options
« no previous file with comments | « no previous file | telemetry/telemetry/testing/serially_executed_browser_test_case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698