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

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

Issue 1374943002: isolate: add run_isolated, deprecate runtest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: fixes Created 5 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: scripts/slave/recipe_modules/isolate/example.py
diff --git a/scripts/slave/recipe_modules/isolate/example.py b/scripts/slave/recipe_modules/isolate/example.py
index 1bfd14406dd0fe356817e07d0c85173ae54f5f55..b72901601319d84b25a7019dcfc1f60943b873ac 100644
--- a/scripts/slave/recipe_modules/isolate/example.py
+++ b/scripts/slave/recipe_modules/isolate/example.py
@@ -40,6 +40,13 @@ def RunSteps(api):
if expected_targets is not None:
api.isolate.isolate_tests(api.path['build'], expected_targets)
+ # Code coverage for 'run_isolated'.
+ # TODO(phajdan.jr): Remove once used by other recipes.
+ api.isolate.run_isolated(
+ 'base_unittests',
+ '7b28d637ab6bb2516584c21e1098736682457f11',
+ args=['--foo'])
+
def GenTests(api):
def make_test(name, expected_targets, discovered_targets):
« no previous file with comments | « scripts/slave/recipe_modules/isolate/api.py ('k') | scripts/slave/recipe_modules/isolate/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698