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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 ], | 778 ], |
779 'indexeddb': [ | 779 'indexeddb': [ |
780 'perf_endure.IndexedDBOfflineTest.testOfflineOnline', | 780 'perf_endure.IndexedDBOfflineTest.testOfflineOnline', |
781 ], | 781 ], |
782 'plus': [ | 782 'plus': [ |
783 'perf_endure.ChromeEndurePlusTest.testPlusAlternatelyClickStreams', | 783 'perf_endure.ChromeEndurePlusTest.testPlusAlternatelyClickStreams', |
784 ], | 784 ], |
785 } | 785 } |
786 # Live sites. | 786 # Live sites. |
787 if R('endure_control_tests'): | 787 if R('endure_control_tests'): |
788 f.AddChromeEndureTest('endure_control', endure_tests['control'], fp) | 788 f.AddChromeEndureTest('control', endure_tests['control'], fp) |
789 if R('endure_docs_tests'): | 789 if R('endure_docs_tests'): |
790 f.AddChromeEndureTest('endure_docs', endure_tests['docs'], fp) | 790 f.AddChromeEndureTest('docs', endure_tests['docs'], fp) |
791 if R('endure_gmail_tests'): | 791 if R('endure_gmail_tests'): |
792 f.AddChromeEndureTest('endure_gmail', endure_tests['gmail'], fp) | 792 f.AddChromeEndureTest('gmail', endure_tests['gmail'], fp) |
793 if R('endure_indexeddb_tests'): | 793 if R('endure_indexeddb_tests'): |
794 f.AddChromeEndureTest('endure_indexeddb', endure_tests['indexeddb'], | 794 f.AddChromeEndureTest('indexeddb', endure_tests['indexeddb'], |
795 fp) | 795 fp) |
796 if R('endure_plus_tests'): | 796 if R('endure_plus_tests'): |
797 f.AddChromeEndureTest('endure_plus', endure_tests['plus'], fp) | 797 f.AddChromeEndureTest('plus', endure_tests['plus'], fp) |
798 # Web Page Replay. | 798 # Web Page Replay. |
799 if R('endure_docs_wpr_tests'): | 799 if R('endure_docs_wpr_tests'): |
800 f.AddChromeEndureTest('endure_docs_wpr', endure_tests['docs'], fp, | 800 f.AddChromeEndureTest('docs_wpr', endure_tests['docs'], fp, |
801 wpr=True) | 801 wpr=True) |
802 if R('endure_gmail_wpr_tests'): | 802 if R('endure_gmail_wpr_tests'): |
803 f.AddChromeEndureTest('endure_gmail_wpr', endure_tests['gmail'], fp, | 803 f.AddChromeEndureTest('gmail_wpr', endure_tests['gmail'], fp, |
804 wpr=True) | 804 wpr=True) |
805 if R('endure_plus_wpr_tests'): | 805 if R('endure_plus_wpr_tests'): |
806 f.AddChromeEndureTest('endure_plus_wpr', endure_tests['plus'], fp, | 806 f.AddChromeEndureTest('plus_wpr', endure_tests['plus'], fp, |
807 wpr=True) | 807 wpr=True) |
808 | 808 |
809 # HTML5 media tag performance/functional test using PyAuto. | 809 # HTML5 media tag performance/functional test using PyAuto. |
810 if R('avperf'): | 810 if R('avperf'): |
811 # Performance test should be run on virtual X buffer. | 811 # Performance test should be run on virtual X buffer. |
812 fp['use_xvfb_on_linux'] = True | 812 fp['use_xvfb_on_linux'] = True |
813 f.AddWebkitTests(factory_properties=fp) | 813 f.AddWebkitTests(factory_properties=fp) |
814 f.AddMediaTests(factory_properties=fp, test_groups=self.MEDIA_TEST_GROUPS) | 814 f.AddMediaTests(factory_properties=fp, test_groups=self.MEDIA_TEST_GROUPS) |
815 if R('chromedriver_tests'): | 815 if R('chromedriver_tests'): |
816 f.AddChromeDriverTest() | 816 f.AddChromeDriverTest() |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1326 build_dir=web_build_dir) | 1326 build_dir=web_build_dir) |
1327 chromium_cmd_obj.AddChromebotServer(factory_properties) | 1327 chromium_cmd_obj.AddChromebotServer(factory_properties) |
1328 chromium_cmd_obj.AddReliabilityTests(client_os) | 1328 chromium_cmd_obj.AddReliabilityTests(client_os) |
1329 elif slave_type == 'ChromebotClient': | 1329 elif slave_type == 'ChromebotClient': |
1330 chromium_cmd_obj.AddGetBuildForChromebot(client_os, | 1330 chromium_cmd_obj.AddGetBuildForChromebot(client_os, |
1331 extract=True, | 1331 extract=True, |
1332 build_url=build_url) | 1332 build_url=build_url) |
1333 chromium_cmd_obj.AddChromebotClient(factory_properties) | 1333 chromium_cmd_obj.AddChromebotClient(factory_properties) |
1334 | 1334 |
1335 return factory | 1335 return factory |
OLD | NEW |