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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
890 P('pyauto_chromoting_tests', suite='CHROMOTING', factory_properties=fp) | 890 P('pyauto_chromoting_tests', suite='CHROMOTING', factory_properties=fp) |
891 if R('pyauto_official_tests'): | 891 if R('pyauto_official_tests'): |
892 P('pyauto_functional_tests', src_base='..', factory_properties=fp) | 892 P('pyauto_functional_tests', src_base='..', factory_properties=fp) |
893 if R('pyauto_perf_tests'): | 893 if R('pyauto_perf_tests'): |
894 P('pyauto_perf_tests', suite='PERFORMANCE', src_base='..', | 894 P('pyauto_perf_tests', suite='PERFORMANCE', src_base='..', |
895 factory_properties=fp, perf=True) | 895 factory_properties=fp, perf=True) |
896 | 896 |
897 # Endurance tests. | 897 # Endurance tests. |
898 if R('endure_calendar_tests'): | 898 if R('endure_calendar_tests'): |
899 f.AddTelemetryTest('endure', 'calendar_forward_backward.json', | 899 f.AddTelemetryTest('endure', 'calendar_forward_backward.json', |
900 step_name='calendar', factory_properties=fp, | 900 step_name='endure_cal_for_back', factory_properties=fp, |
agable
2013/09/09 10:36:40
"fw" is a more universal abbreviation of "forward"
| |
901 timeout=6000) | 901 timeout=6000) |
902 if R('endure_gmail_expand_collapse_tests'): | 902 if R('endure_gmail_expand_collapse_tests'): |
903 f.AddTelemetryTest('endure', 'gmail_expand_collapse_conversation.json', | 903 f.AddTelemetryTest('endure', 'gmail_expand_collapse_conversation.json', |
904 step_name='gmail_exp_col', | 904 step_name='endure_gmail_exp_col', |
905 factory_properties=fp, timeout=6000) | 905 factory_properties=fp, timeout=6000) |
906 if R('endure_gmail_alt_label_tests'): | 906 if R('endure_gmail_alt_label_tests'): |
907 f.AddTelemetryTest('endure', 'gmail_alt_two_labels.json', | 907 f.AddTelemetryTest('endure', 'gmail_alt_two_labels.json', |
908 step_name='gmail_labels', | 908 step_name='endure_gmail_labels', |
909 factory_properties=fp, timeout=6000) | 909 factory_properties=fp, timeout=6000) |
910 if R('endure_gmail_alt_threadlist_tests'): | 910 if R('endure_gmail_alt_threadlist_tests'): |
911 f.AddTelemetryTest('endure', 'gmail_alt_threadlist_conversation.json', | 911 f.AddTelemetryTest('endure', 'gmail_alt_threadlist_conversation.json', |
912 step_name='gmail_threadlist', | 912 step_name='endure_gmail_thread', |
913 factory_properties=fp, timeout=6000) | 913 factory_properties=fp, timeout=6000) |
914 if R('endure_plus_tests'): | 914 if R('endure_plus_tests'): |
915 f.AddTelemetryTest('endure', 'plus_alt_posts_photos.json', | 915 f.AddTelemetryTest('endure', 'plus_alt_posts_photos.json', |
916 step_name='plus', factory_properties=fp, | 916 step_name='endure_plus_photos', factory_properties=fp, |
917 timeout=6000) | 917 timeout=6000) |
918 | 918 |
919 # HTML5 media tag performance/functional test using PyAuto. | 919 # HTML5 media tag performance/functional test using PyAuto. |
920 if R('avperf'): | 920 if R('avperf'): |
921 # Performance test should be run on virtual X buffer. | 921 # Performance test should be run on virtual X buffer. |
922 fp['use_xvfb_on_linux'] = True | 922 fp['use_xvfb_on_linux'] = True |
923 f.AddMediaTests(factory_properties=fp, test_groups=self.MEDIA_TEST_GROUPS) | 923 f.AddMediaTests(factory_properties=fp, test_groups=self.MEDIA_TEST_GROUPS) |
924 if R('chromedriver_tests'): | 924 if R('chromedriver_tests'): |
925 f.AddChromeDriverTest() | 925 f.AddChromeDriverTest() |
926 if R('webdriver_tests'): | 926 if R('webdriver_tests'): |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1481 build_dir=web_build_dir) | 1481 build_dir=web_build_dir) |
1482 chromium_cmd_obj.AddChromebotServer(factory_properties) | 1482 chromium_cmd_obj.AddChromebotServer(factory_properties) |
1483 chromium_cmd_obj.AddReliabilityTests(client_os) | 1483 chromium_cmd_obj.AddReliabilityTests(client_os) |
1484 elif slave_type == 'ChromebotClient': | 1484 elif slave_type == 'ChromebotClient': |
1485 chromium_cmd_obj.AddGetBuildForChromebot(client_os, | 1485 chromium_cmd_obj.AddGetBuildForChromebot(client_os, |
1486 extract=True, | 1486 extract=True, |
1487 build_url=build_url) | 1487 build_url=build_url) |
1488 chromium_cmd_obj.AddChromebotClient(factory_properties) | 1488 chromium_cmd_obj.AddChromebotClient(factory_properties) |
1489 | 1489 |
1490 return factory | 1490 return factory |
OLD | NEW |