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

Side by Side 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: once more... 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 DEPS = [ 5 DEPS = [
6 'gclient', 6 'gclient',
7 'path', 7 'path',
8 ] 8 ]
9 9
10 def GenSteps(api): 10 def GenSteps(api):
(...skipping 10 matching lines...) Expand all
21 bl_cfg = api.gclient.make_config() 21 bl_cfg = api.gclient.make_config()
22 soln = bl_cfg.solutions.add() 22 soln = bl_cfg.solutions.add()
23 soln.name = 'WebKit' 23 soln.name = 'WebKit'
24 soln.url = 'svn://svn.chromium.org/blink/trunk' 24 soln.url = 'svn://svn.chromium.org/blink/trunk'
25 bl_cfg.checkouts = ['src', api.path.join('src', 'third_party', 'WebKit')] 25 bl_cfg.checkouts = ['src', api.path.join('src', 'third_party', 'WebKit')]
26 yield api.gclient.checkout( 26 yield api.gclient.checkout(
27 gclient_config=bl_cfg, 27 gclient_config=bl_cfg,
28 cwd=api.path.slave_build('src', 'third_party')) 28 cwd=api.path.slave_build('src', 'third_party'))
29 29
30 30
31 def GenTests(_api): 31 def GenTests(api):
32 yield 'basic', {} 32 yield api.test('basic')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698