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

Side by Side Diff: scripts/slave/recipe_modules/syzygy/api.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 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 # 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 import ast 5 import ast
6 import os 6 import os
7 import re 7 import re
8 8
9 from slave import recipe_api 9 from recipe_engine import recipe_api
10 10
11 11
12 class SyzygyApi(recipe_api.RecipeApi): 12 class SyzygyApi(recipe_api.RecipeApi):
13 # Used for constructing URLs to the Syzygy archives. 13 # Used for constructing URLs to the Syzygy archives.
14 _SYZYGY_ARCHIVE_URL = ( 14 _SYZYGY_ARCHIVE_URL = (
15 'https://syzygy-archive.commondatastorage.googleapis.com') 15 'https://syzygy-archive.commondatastorage.googleapis.com')
16 _SYZYGY_GS = 'gs://syzygy-archive' 16 _SYZYGY_GS = 'gs://syzygy-archive'
17 _SYZYGY_GITHUB = 'https://github.com/google/syzygy/commit/' 17 _SYZYGY_GITHUB = 'https://github.com/google/syzygy/commit/'
18 18
19 # Fake unittests.gypi contents. 19 # Fake unittests.gypi contents.
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 '--overwrite', 321 '--overwrite',
322 '--verbose'] 322 '--verbose']
323 return self.m.python('download_binaries', get_syzygy_binaries_py, args) 323 return self.m.python('download_binaries', get_syzygy_binaries_py, args)
324 324
325 def smoke_test(self): 325 def smoke_test(self):
326 """Returns a step that launches the smoke test script.""" 326 """Returns a step that launches the smoke test script."""
327 smoke_test_py = self.internal_scripts_dir.join('smoke_test.py') 327 smoke_test_py = self.internal_scripts_dir.join('smoke_test.py')
328 build_dir = self.m.path['checkout'].join('build') 328 build_dir = self.m.path['checkout'].join('build')
329 args = ['--verbose', '--build-dir', build_dir] 329 args = ['--verbose', '--build-dir', build_dir]
330 return self.m.python('smoke_test', smoke_test_py, args) 330 return self.m.python('smoke_test', smoke_test_py, args)
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/swarming_heartbeat/api.py ('k') | scripts/slave/recipe_modules/syzygy/chromium_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698