Index: scripts/slave/recipes/v8.py |
diff --git a/scripts/slave/recipes/v8.py b/scripts/slave/recipes/v8.py |
index d2b35e90735ffb7c4a1316ed35c489bf4f19941e..f8de4e39a2bd70f8c0f58e0f6466309746e979b7 100644 |
--- a/scripts/slave/recipes/v8.py |
+++ b/scripts/slave/recipes/v8.py |
@@ -4,6 +4,8 @@ |
DEPS = [ |
'v8', |
+ 'platform', |
+ 'properties', |
] |
def GenSteps(api): |
@@ -16,36 +18,25 @@ def GenSteps(api): |
# Tests. |
# TODO(machenbach): Implement the tests. |
-def GenTests(_api): |
+def GenTests(api): |
for bits in [32, 64]: |
for build_config in ['Release', 'Debug']: |
- yield '%s%s' % (build_config, bits), { |
- 'properties': { |
- 'build_config': build_config, |
- 'bits': bits, |
- }, |
- } |
+ yield ( |
+ api.test('%s%s' % (build_config, bits)) + |
+ api.properties(build_config=build_config, bits=bits) |
+ ) |
for build_config in ['Release', 'Debug']: |
- yield 'arm_%s' % (build_config), { |
- 'properties': { |
- 'build_config': build_config, |
- 'target_arch': 'arm', |
- }, |
- } |
- |
- yield 'default_platform', { |
- 'mock': { |
- 'platform': { |
- 'name': 'linux', |
- 'bits': 64, |
- } |
- }, |
- } |
- |
- yield 'clobber', { |
- 'properties': { |
- 'clobber': '', |
- }, |
- } |
+ yield ( |
+ api.test('arm_%s' % build_config) + |
+ api.properties(build_config=build_config, target_arch='arm') |
+ ) |
+ yield ( |
+ api.test('mips_target') + |
+ api.properties(build_config='Release', target_arch='mips') |
+ ) |
+ |
+ yield api.test('default_platform') + api.platform('linux', 64) |
+ |
+ yield api.test('clobber') + api.properties(clobber='') |