Index: scripts/slave/recipes/gpu.py |
diff --git a/scripts/slave/recipes/gpu.py b/scripts/slave/recipes/gpu.py |
index 09099afdd67123704bcb42f4afa18f1304353582..9f9c3f652a3f1de0d9dd56413400257d712ed7e0 100644 |
--- a/scripts/slave/recipes/gpu.py |
+++ b/scripts/slave/recipes/gpu.py |
@@ -12,6 +12,7 @@ DEPS = [ |
'chromium', |
'gclient', |
'path', |
+ 'platform', |
'properties', |
'rietveld', |
] |
@@ -124,23 +125,15 @@ def GenTests(api): |
for plat in ['win', 'mac', 'linux']: |
# Normal builder configuration |
base_name = '%s_%s' % (plat, build_config.lower()) |
- yield base_name, { |
- 'properties': api.properties_scheduled( |
- build_config=build_config), |
- 'mock': { |
- 'platform': { |
- 'name': plat |
- } |
- } |
- } |
+ yield ( |
+ api.test(base_name) + |
+ api.properties.scheduled(build_config=build_config) + |
+ api.platform.name(plat) |
+ ) |
# Try server configuration |
- yield '%s_tryserver' % base_name, { |
- 'properties': api.properties_tryserver( |
- build_config=build_config), |
- 'mock': { |
- 'platform': { |
- 'name': plat |
- } |
- } |
- } |
+ yield ( |
+ api.test('%s_tryserver' % base_name) + |
+ api.properties.tryserver(build_config=build_config) + |
+ api.platform.name(plat) |
+ ) |