| 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 if R('page_cycler_intl2'): | 392 if R('page_cycler_intl2'): |
| 393 f.AddPageCyclerTest('page_cycler_intl2', fp) | 393 f.AddPageCyclerTest('page_cycler_intl2', fp) |
| 394 if R('page_cycler_bloat'): | 394 if R('page_cycler_bloat'): |
| 395 f.AddPageCyclerTest('page_cycler_bloat', fp) | 395 f.AddPageCyclerTest('page_cycler_bloat', fp) |
| 396 if R('page_cycler_dhtml'): | 396 if R('page_cycler_dhtml'): |
| 397 f.AddPageCyclerTest('page_cycler_dhtml', fp) | 397 f.AddPageCyclerTest('page_cycler_dhtml', fp) |
| 398 if R('page_cycler_database'): | 398 if R('page_cycler_database'): |
| 399 f.AddPageCyclerTest('page_cycler_database', fp, suite='Database*') | 399 f.AddPageCyclerTest('page_cycler_database', fp, suite='Database*') |
| 400 if R('page_cycler_indexeddb'): | 400 if R('page_cycler_indexeddb'): |
| 401 f.AddPageCyclerTest('page_cycler_indexeddb', fp, suite='IndexedDB*') | 401 f.AddPageCyclerTest('page_cycler_indexeddb', fp, suite='IndexedDB*') |
| 402 if R('page_cycler_2012Q2-netsim'): |
| 403 f.AddPyAutoFunctionalTest( |
| 404 'page_cycler_2012Q2-netsim', |
| 405 test_args=['perf.PageCyclerNetSimTest.test2012Q2'], |
| 406 factory_properties=fp, perf=True) |
| 402 | 407 |
| 403 if R('memory'): | 408 if R('memory'): |
| 404 f.AddMemoryTests(fp) | 409 f.AddMemoryTests(fp) |
| 405 if R('tab_switching'): | 410 if R('tab_switching'): |
| 406 f.AddTabSwitchingTests(fp) | 411 f.AddTabSwitchingTests(fp) |
| 407 if R('sunspider'): | 412 if R('sunspider'): |
| 408 f.AddSunSpiderTests(fp) | 413 f.AddSunSpiderTests(fp) |
| 409 if R('v8_benchmark'): | 414 if R('v8_benchmark'): |
| 410 f.AddV8BenchmarkTests(fp) | 415 f.AddV8BenchmarkTests(fp) |
| 411 if R('dromaeo'): | 416 if R('dromaeo'): |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 client_os = factory_properties.get('client_os') | 1000 client_os = factory_properties.get('client_os') |
| 996 if slave_type == 'ChromebotServer': | 1001 if slave_type == 'ChromebotServer': |
| 997 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=False) | 1002 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=False) |
| 998 chromium_cmd_obj.AddChromebotServer(factory_properties) | 1003 chromium_cmd_obj.AddChromebotServer(factory_properties) |
| 999 elif slave_type == 'ChromebotClient': | 1004 elif slave_type == 'ChromebotClient': |
| 1000 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=True, | 1005 chromium_cmd_obj.AddGetBuildForChromebot(client_os, extract=True, |
| 1001 build_url=build_url) | 1006 build_url=build_url) |
| 1002 chromium_cmd_obj.AddChromebotClient(factory_properties) | 1007 chromium_cmd_obj.AddChromebotClient(factory_properties) |
| 1003 | 1008 |
| 1004 return factory | 1009 return factory |
| OLD | NEW |