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

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: 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..b0558e51e705af3332a615cb89ef636c407df23d 100644
--- a/scripts/slave/recipe_modules/isolate/example.py
+++ b/scripts/slave/recipe_modules/isolate/example.py
@@ -40,6 +40,11 @@ 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')
+
def GenTests(api):
def make_test(name, expected_targets, discovered_targets):

Powered by Google App Engine
This is Rietveld 408576698