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

Unified Diff: scripts/slave/recipe_modules/isolate/api.py

Issue 1512093002: Revert "Switch remaining bots to new Telemetry GPU isolate." (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years 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 | « scripts/slave/recipe_modules/gpu/test_api.py ('k') | scripts/slave/recipe_modules/swarming/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/isolate/api.py
diff --git a/scripts/slave/recipe_modules/isolate/api.py b/scripts/slave/recipe_modules/isolate/api.py
index f24b476d9d3fa8646d544db5f1ad8cd7d810ee83..68c65cae6b0d4b4111b4a6e33224b8dcaf317d79 100644
--- a/scripts/slave/recipe_modules/isolate/api.py
+++ b/scripts/slave/recipe_modules/isolate/api.py
@@ -243,6 +243,24 @@ class IsolateApi(recipe_api.RecipeApi):
webkit_revision=webkit_revision,
**runtest_kwargs)
+ def run_telemetry_test(self, isolate_name, test, revision, webkit_revision,
+ **runtest_kwargs):
+ """Runs a Telemetry test which has previously isolated to the server.
+
+ Uses runtest_args_list, above, and delegates to
+ api.chromium.run_telemetry_test.
+ """
+ self.m.chromium.run_telemetry_test(
+ self._run_isolated_path,
+ test,
+ # When running the Telemetry test via an isolate we need to tell
+ # run_isolated.py the hash and isolate server first, and then give
+ # the isolate the test name and other arguments separately.
+ prefix_args=self.runtest_args_list(isolate_name),
+ revision=revision,
+ webkit_revision=webkit_revision,
+ **runtest_kwargs)
+
def remove_build_metadata(self):
"""Removes the build metadata embedded in the build artifacts."""
args = [
« no previous file with comments | « scripts/slave/recipe_modules/gpu/test_api.py ('k') | scripts/slave/recipe_modules/swarming/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698