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

Side by Side Diff: scripts/slave/recipe_modules/findit/example.py

Issue 1416763007: Add a recipe to identify culprits for chromium compile failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 DEPS = [
6 'findit',
7 'path',
8 'platform',
9 'properties',
10 ]
11
12
13 def RunSteps(api):
14 api.path['checkout'] = api.path.mkdtemp('fake_checkout')
15 revision = api.properties['revision']
16 repo_dir = api.properties.get('repo_dir')
17 api.findit.get_files_affected_by_revision(revision, repo_dir)
18
19
20 def GenTests(api):
21 yield api.test('affected_files_without_repo_dir') + api.properties(
22 revision='r1',
23 )
24 yield api.test('affected_files_with_repo_dir') + api.properties(
25 revision='r1',
26 repo_dir='third_party/icu',
27 )
28 yield (
29 api.test('affected_files_on_win') +
30 api.platform.name('win') +
31 api.properties(
32 revision='r1',
33 repo_dir='third_party\\icu',
34 )
35 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698