| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 """Utility class to build the chromium master BuildFactory's. | 5 """Utility class to build the chromium master BuildFactory's. |
| 6 | 6 |
| 7 Based on gclient_factory.py and adds chromium-specific steps.""" | 7 Based on gclient_factory.py and adds chromium-specific steps.""" |
| 8 | 8 |
| 9 import os | 9 import os |
| 10 import re | 10 import re |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 if R('page_cycler_intl2'): | 341 if R('page_cycler_intl2'): |
| 342 f.AddPageCyclerTest('page_cycler_intl2', fp) | 342 f.AddPageCyclerTest('page_cycler_intl2', fp) |
| 343 if R('page_cycler_bloat'): | 343 if R('page_cycler_bloat'): |
| 344 f.AddPageCyclerTest('page_cycler_bloat', fp) | 344 f.AddPageCyclerTest('page_cycler_bloat', fp) |
| 345 if R('page_cycler_dhtml'): | 345 if R('page_cycler_dhtml'): |
| 346 f.AddPageCyclerTest('page_cycler_dhtml', fp) | 346 f.AddPageCyclerTest('page_cycler_dhtml', fp) |
| 347 if R('page_cycler_database'): | 347 if R('page_cycler_database'): |
| 348 f.AddPageCyclerTest('page_cycler_database', fp, suite='Database*') | 348 f.AddPageCyclerTest('page_cycler_database', fp, suite='Database*') |
| 349 if R('page_cycler_indexeddb'): | 349 if R('page_cycler_indexeddb'): |
| 350 f.AddPageCyclerTest('page_cycler_indexeddb', fp, suite='IndexedDB*') | 350 f.AddPageCyclerTest('page_cycler_indexeddb', fp, suite='IndexedDB*') |
| 351 if R('web_page_replay_2012Q2'): |
| 352 f.AddWebPageReplayTest('web_page_replay_2012Q2', 'test2012Q2', fp) |
| 351 | 353 |
| 352 if R('memory'): f.AddMemoryTests(fp) | 354 if R('memory'): f.AddMemoryTests(fp) |
| 353 if R('tab_switching'): f.AddTabSwitchingTests(fp) | 355 if R('tab_switching'): f.AddTabSwitchingTests(fp) |
| 354 if R('sunspider'): f.AddSunSpiderTests(fp) | 356 if R('sunspider'): f.AddSunSpiderTests(fp) |
| 355 if R('v8_benchmark'): f.AddV8BenchmarkTests(fp) | 357 if R('v8_benchmark'): f.AddV8BenchmarkTests(fp) |
| 356 if R('dromaeo'): f.AddDromaeoTests(fp) | 358 if R('dromaeo'): f.AddDromaeoTests(fp) |
| 357 if R('frame_rate'): f.AddFrameRateTests(fp) | 359 if R('frame_rate'): f.AddFrameRateTests(fp) |
| 358 if R('gpu_frame_rate'): f.AddGpuFrameRateTests(fp) | 360 if R('gpu_frame_rate'): f.AddGpuFrameRateTests(fp) |
| 359 if R('gpu_latency'): f.AddGpuLatencyTests(fp) | 361 if R('gpu_latency'): f.AddGpuLatencyTests(fp) |
| 360 if R('gpu_throughput'): f.AddGpuThroughputTests(fp) | 362 if R('gpu_throughput'): f.AddGpuThroughputTests(fp) |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 client_os = factory_properties.get('client_os') | 987 client_os = factory_properties.get('client_os') |
| 986 if slave_type == 'ChromebotServer': | 988 if slave_type == 'ChromebotServer': |
| 987 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=False) | 989 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=False) |
| 988 chromium_cmd_obj.AddChromebotServer(factory_properties) | 990 chromium_cmd_obj.AddChromebotServer(factory_properties) |
| 989 elif slave_type == 'ChromebotClient': | 991 elif slave_type == 'ChromebotClient': |
| 990 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=True, | 992 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=True, |
| 991 build_url=build_url) | 993 build_url=build_url) |
| 992 chromium_cmd_obj.AddChromebotClient(factory_properties) | 994 chromium_cmd_obj.AddChromebotClient(factory_properties) |
| 993 | 995 |
| 994 return factory | 996 return factory |
| OLD | NEW |