Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Side by Side Diff: scripts/master/factory/chromium_factory.py

Issue 16145002: Add more tests to Chromium WebRTC testers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « masters/master.chromium.webrtc/master_win_cfg.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 if R('mach_ports'): 656 if R('mach_ports'):
657 f.AddMachPortsTests(fp) 657 f.AddMachPortsTests(fp)
658 if R('cc_perftests'): 658 if R('cc_perftests'):
659 f.AddCCPerfTests(fp) 659 f.AddCCPerfTests(fp)
660 660
661 if R('sync_integration'): 661 if R('sync_integration'):
662 f.AddSyncIntegrationTests(fp) 662 f.AddSyncIntegrationTests(fp)
663 if R('sync_integration_br'): 663 if R('sync_integration_br'):
664 f.AddBuildrunnerSyncIntegrationTests(fp) 664 f.AddBuildrunnerSyncIntegrationTests(fp)
665 665
666 # WebRTC tests:
666 if R('webrtc_perf_content_unittests'): 667 if R('webrtc_perf_content_unittests'):
667 f.AddWebRtcPerfContentUnittests(fp) 668 f.AddWebRtcPerfContentUnittests(fp)
669 if R('webrtc_manual_content_browsertests'):
670 arg_list = ['--gtest_filter=WebRTC*:Webrtc*:*Dtmf', '--run-manual']
671 f.AddGTestTestStep('content_browsertests', description=' (manual)',
672 factory_properties=fp, arg_list=arg_list)
673 if R('webrtc_content_unittests'):
674 arg_list = ['--gtest_filter=WebRTC*:RTC*:MediaStream*']
675 f.AddGTestTestStep('content_unittests', description=' (webrtc filtered)',
676 factory_properties=fp, arg_list=arg_list)
677 if R('webrtc_manual_browser_tests'):
678 arg_list = ['--gtest_filter=Webrtc*', '--run-manual']
679 f.AddGTestTestStep('browser_tests', description=' (manual)',
680 factory_properties=fp, arg_list=arg_list)
668 681
669 # GPU tests: 682 # GPU tests:
670 if R('gl_tests'): 683 if R('gl_tests'):
671 f.AddGLTests(fp) 684 f.AddGLTests(fp)
672 if R('gl_tests_br'): 685 if R('gl_tests_br'):
673 f.AddBuildrunnerGTest('gl_tests', fp, test_tool_arg_list=['--no-xvfb']) 686 f.AddBuildrunnerGTest('gl_tests', fp, test_tool_arg_list=['--no-xvfb'])
674 if R('gles2_conform_test'): 687 if R('gles2_conform_test'):
675 f.AddGLES2ConformTest(fp) 688 f.AddGLES2ConformTest(fp)
676 if R('gles2_conform_test_br'): 689 if R('gles2_conform_test_br'):
677 f.AddBuildrunnerGTest('gles2_conform_test', fp, 690 f.AddBuildrunnerGTest('gles2_conform_test', fp,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 continue 757 continue
745 if M(test, 'drmemory_pattern_', 'drmemory_pattern', fp): 758 if M(test, 'drmemory_pattern_', 'drmemory_pattern', fp):
746 continue 759 continue
747 if S(test, 'heapcheck_', 760 if S(test, 'heapcheck_',
748 lambda name: f.AddHeapcheckTest(name, 761 lambda name: f.AddHeapcheckTest(name,
749 timeout=1200, 762 timeout=1200,
750 factory_properties=fp)): 763 factory_properties=fp)):
751 continue 764 continue
752 765
753 # PyAuto functional tests. 766 # PyAuto functional tests.
754 if R('pyauto_chromoting_tests'): 767 def P(test_name, suite=None, src_base='.', factory_properties=None,
755 f.AddPyAutoFunctionalTest('pyauto_chromoting_tests', suite='CHROMOTING', 768 perf=False):
756 factory_properties=fp)
757 if R('pyauto_official_tests'):
758 # Mapping from self._target_platform to a chrome-*.zip 769 # Mapping from self._target_platform to a chrome-*.zip
759 platmap = {'win32': 'win32', 770 platmap = {'win32': 'win32',
760 'darwin': 'mac', 771 'darwin': 'mac',
761 'linux2': 'lucid64bit'} 772 'linux2': 'lucid64bit'}
762 zip_plat = platmap[self._target_platform] 773 zip_plat = platmap[self._target_platform]
763 workdir = os.path.join(f.working_dir, 'chrome-' + zip_plat) 774 workdir = os.path.join(f.working_dir, 'chrome-' + zip_plat)
764 f.AddPyAutoFunctionalTest('pyauto_functional_tests', 775 f.AddPyAutoFunctionalTest(test_name, suite=suite, src_base=src_base,
765 src_base='..', 776 workdir=workdir, factory_properties=fp,
766 workdir=workdir, 777 perf=perf)
767 factory_properties=fp) 778
779 if R('pyauto_chromoting_tests'):
780 P('pyauto_chromoting_tests', suite='CHROMOTING', factory_properties=fp)
781 if R('pyauto_official_tests'):
782 P('pyauto_functional_tests', src_base='..', factory_properties=fp)
768 if R('pyauto_perf_tests'): 783 if R('pyauto_perf_tests'):
769 # Mapping from self._target_platform to a chrome-*.zip 784 P('pyauto_perf_tests', suite='PERFORMANCE', src_base='..',
770 platmap = {'win32': 'win32', 785 factory_properties=fp, perf=True)
771 'darwin': 'mac',
772 'linux2': 'lucid64bit'}
773 zip_plat = platmap[self._target_platform]
774 workdir = os.path.join(f.working_dir, 'chrome-' + zip_plat)
775 f.AddPyAutoFunctionalTest('pyauto_perf_tests',
776 suite='PERFORMANCE',
777 src_base='..',
778 workdir=workdir,
779 factory_properties=fp,
780 perf=True)
781 if R('pyauto_webrtc_tests'): 786 if R('pyauto_webrtc_tests'):
782 # Mapping from self._target_platform to a chrome-*.zip 787 P('pyauto_webrtc_tests', suite='WEBRTC', src_base='..',
783 platmap = {'win32': 'win32', 788 factory_properties=fp, perf=True)
784 'darwin': 'mac', 789 if R('pyauto_webrtc_apprtc_test'):
785 'linux2': 'lucid64bit'} 790 P('pyauto_webrtc_apprtc_test', suite='WEBRTC_APPRTC', src_base='..',
786 zip_plat = platmap[self._target_platform] 791 factory_properties=fp)
787 workdir = os.path.join(f.working_dir, 'chrome-' + zip_plat) 792 if R('pyauto_webrtc_quality_tests'):
788 f.AddPyAutoFunctionalTest('pyauto_webrtc_tests', 793 P('pyauto_webrtc_quality_tests', suite='WEBRTC_QUALITY', src_base='..',
789 suite='WEBRTC', 794 factory_properties=fp, perf=True)
790 src_base='..',
791 workdir=workdir,
792 factory_properties=fp,
793 perf=True)
794 795
795 # Endurance tests. 796 # Endurance tests.
796 endure_tests = { 797 endure_tests = {
797 'control': [ 798 'control': [
798 'perf_endure.ChromeEndureControlTest.testControlAttachDetachDOMTree', 799 'perf_endure.ChromeEndureControlTest.testControlAttachDetachDOMTree',
799 'perf_endure.ChromeEndureControlTest.' 800 'perf_endure.ChromeEndureControlTest.'
800 'testControlAttachDetachDOMTreeWebDriver', 801 'testControlAttachDetachDOMTreeWebDriver',
801 ], 802 ],
802 'docs': [ 803 'docs': [
803 'perf_endure.ChromeEndureDocsTest.testDocsAlternatelyClickLists', 804 'perf_endure.ChromeEndureDocsTest.testDocsAlternatelyClickLists',
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 build_dir=web_build_dir) 1334 build_dir=web_build_dir)
1334 chromium_cmd_obj.AddChromebotServer(factory_properties) 1335 chromium_cmd_obj.AddChromebotServer(factory_properties)
1335 chromium_cmd_obj.AddReliabilityTests(client_os) 1336 chromium_cmd_obj.AddReliabilityTests(client_os)
1336 elif slave_type == 'ChromebotClient': 1337 elif slave_type == 'ChromebotClient':
1337 chromium_cmd_obj.AddGetBuildForChromebot(client_os, 1338 chromium_cmd_obj.AddGetBuildForChromebot(client_os,
1338 extract=True, 1339 extract=True,
1339 build_url=build_url) 1340 build_url=build_url)
1340 chromium_cmd_obj.AddChromebotClient(factory_properties) 1341 chromium_cmd_obj.AddChromebotClient(factory_properties)
1341 1342
1342 return factory 1343 return factory
OLDNEW
« no previous file with comments | « masters/master.chromium.webrtc/master_win_cfg.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698