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

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: Rebase and Address comments. 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 solution_name = api.properties.get('solution_name')
17 api.findit.get_files_affected_by_revision(revision, solution_name)
18
19
20 def GenTests(api):
21 yield api.test('affected_files_in_src') + api.properties(
22 revision='r1',
23 solution_name='src',
24 )
25 yield api.test('affected_files_third_party') + api.properties(
26 revision='r1',
27 solution_name='src/third_party/pdfium',
28 )
29 yield (
30 api.test('affected_files_on_win') +
31 api.platform.name('win') +
32 api.properties(
33 revision='r1',
34 solution_name='src\\third_party\\pdfium',
35 )
36 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698