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: visual_studio/NativeClientVSAddIn/buildbot_run.py

Issue 14122017: [VS Addin] Add visual studio 2012 support (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 6 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Entry point for the AddIn build bot. 6 """Entry point for the AddIn build bot.
7 7
8 Perform build steps and output results using the buildbot 8 Perform build steps and output results using the buildbot
9 annootator syntax 9 annootator syntax
10 """ 10 """
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 if not os.path.exists(chrome): 122 if not os.path.exists(chrome):
123 Log('CHROME_PATH not found') 123 Log('CHROME_PATH not found')
124 Log('chrome not found in the default location: %s' % chrome) 124 Log('chrome not found in the default location: %s' % chrome)
125 Log('@@@STEP_FAILURE@@@') 125 Log('@@@STEP_FAILURE@@@')
126 sys.exit(1) 126 sys.exit(1)
127 env['CHROME_PATH'] = chrome 127 env['CHROME_PATH'] = chrome
128 for version in SDK_VERSIONS: 128 for version in SDK_VERSIONS:
129 Log('@@@BUILD_STEP test against %s@@@' % version) 129 Log('@@@BUILD_STEP test against %s@@@' % version)
130 env['NACL_SDK_ROOT'] = os.path.join(sdkroot, version) 130 env['NACL_SDK_ROOT'] = os.path.join(sdkroot, version)
131 RunCommand('test.bat', env) 131 RunCommand('test.bat', env)
132 RunCommand('test_2012.bat', env)
132 133
133 134
134 def _FindInPath(filename): 135 def _FindInPath(filename):
135 for path in os.environ['PATH'].split(os.pathsep): 136 for path in os.environ['PATH'].split(os.pathsep):
136 result = os.path.join(path, filename) 137 result = os.path.join(path, filename)
137 if os.path.exists(result): 138 if os.path.exists(result):
138 return result 139 return result
139 140
140 Log('%s not found in PATH' % filename) 141 Log('%s not found in PATH' % filename)
141 Log('@@@STEP_FAILURE@@@') 142 Log('@@@STEP_FAILURE@@@')
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 def main(): 184 def main():
184 StepBuild() 185 StepBuild()
185 StepInstall() 186 StepInstall()
186 StepInstallSDK() 187 StepInstallSDK()
187 StepTest() 188 StepTest()
188 StepArchive() 189 StepArchive()
189 190
190 191
191 if __name__ == '__main__': 192 if __name__ == '__main__':
192 main() 193 main()
OLDNEW
« no previous file with comments | « visual_studio/NativeClientVSAddIn/build.bat ('k') | visual_studio/NativeClientVSAddIn/create_package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698