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

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

Issue 23889036: Refactor the way that TestApi works so that it is actually useful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: License headers Created 7 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/gclient/example.py
diff --git a/scripts/slave/recipe_modules/gclient/example.py b/scripts/slave/recipe_modules/gclient/example.py
index 162c0341ff93634cf152efbcd4889faf5021de9e..403c9f794d38fccd5d2777a968ab059a8207fb4e 100644
--- a/scripts/slave/recipe_modules/gclient/example.py
+++ b/scripts/slave/recipe_modules/gclient/example.py
@@ -28,5 +28,5 @@ def GenSteps(api):
cwd=api.path.slave_build('src', 'third_party'))
-def GenTests(_api):
- yield 'basic', {}
+def GenTests(api):
+ yield api.test('basic')
« no previous file with comments | « scripts/slave/recipe_modules/gclient/config.py ('k') | scripts/slave/recipe_modules/generator_script/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698