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

Side by Side Diff: scripts/slave/recipes/syzygy/smoke_test.py

Issue 2275603003: Make syzygy recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase Created 4 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 """Buildbot recipe definition for the various Syzygy Smoke Test builder. 5 """Buildbot recipe definition for the various Syzygy Smoke Test builder.
6 6
7 To be tested using a command-line like: 7 To be tested using a command-line like:
8 8
9 /build/scripts/tools/run_recipe.py syzygy/continuous 9 /build/scripts/tools/run_recipe.py syzygy/continuous
10 revision=0e9f25b1098271be2b096fd1c095d6d907cf86f7 10 revision=0e9f25b1098271be2b096fd1c095d6d907cf86f7
(...skipping 28 matching lines...) Expand all
39 39
40 def RunSteps(api, buildername): 40 def RunSteps(api, buildername):
41 """Generates the sequence of steps that will be run on the coverage bot.""" 41 """Generates the sequence of steps that will be run on the coverage bot."""
42 assert buildername == 'Syzygy Smoke Test' 42 assert buildername == 'Syzygy Smoke Test'
43 43
44 # Configure the build environment. 44 # Configure the build environment.
45 s = api.syzygy 45 s = api.syzygy
46 kwargs = {'BUILD_CONFIG': 'Release'} 46 kwargs = {'BUILD_CONFIG': 'Release'}
47 s.set_config('syzygy', **kwargs) 47 s.set_config('syzygy', **kwargs)
48 api.chromium.set_config('syzygy', **kwargs) 48 api.chromium.set_config('syzygy', **kwargs)
49 api.gclient.set_config('syzygy', **kwargs) 49 api.gclient.set_config('syzygy', GIT_MODE=True, **kwargs)
50 50
51 # Clean up any running processes on the slave. 51 # Clean up any running processes on the slave.
52 s.taskkill() 52 s.taskkill()
53 53
54 # Checkout and compile the project. 54 # Checkout and compile the project.
55 s.checkout() 55 s.checkout()
56 s.runhooks() 56 s.runhooks()
57 57
58 s.download_binaries() 58 s.download_binaries()
59 s.smoke_test() 59 s.smoke_test()
60 60
61 61
62 def GenTests(api): 62 def GenTests(api):
63 """Generates an end-to-end successful test for this builder.""" 63 """Generates an end-to-end successful test for this builder."""
64 yield api.syzygy.generate_test(api, 'Syzygy Smoke Test') 64 yield api.syzygy.generate_test(api, 'Syzygy Smoke Test')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698