Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import collections | 5 import collections |
| 6 from . import steps | 6 from . import steps |
| 7 | 7 |
| 8 | 8 |
| 9 _builders = collections.defaultdict(dict) | 9 _builders = collections.defaultdict(dict) |
| 10 | 10 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 # peerconnection server). | 118 # peerconnection server). |
| 119 args=['--gtest_filter=WebRtc*:Webrtc*:TabCapture*:*MediaStream*', | 119 args=['--gtest_filter=WebRtc*:Webrtc*:TabCapture*:*MediaStream*', |
| 120 '--run-manual', '--ui-test-action-max-timeout=350000', | 120 '--run-manual', '--ui-test-action-max-timeout=350000', |
| 121 '--test-launcher-jobs=1', | 121 '--test-launcher-jobs=1', |
| 122 '--test-launcher-bot-mode', | 122 '--test-launcher-bot-mode', |
| 123 '--test-launcher-print-test-stdio=always'], | 123 '--test-launcher-print-test-stdio=always'], |
| 124 perf_id=perf_id), | 124 perf_id=perf_id), |
| 125 # Run capture unittests as well since our bots have real webcams. | 125 # Run capture unittests as well since our bots have real webcams. |
| 126 WebRTCTest('capture_unittests'), | 126 WebRTCTest('capture_unittests'), |
| 127 WebRTCTest('content_unittests'), | 127 WebRTCTest('content_unittests'), |
| 128 WebRTCTest('media_unittests', | |
| 129 args=['--gtest_filter=VideoCaptureDeviceTest*', | |
| 130 '--enable-logging', | |
| 131 '--v=1', | |
| 132 '--test-launcher-jobs=1', | |
|
kjellander_chromium
2016/08/03 11:20:22
To be on the safe side, I think we should add all
ehmaldonado_chromium
2016/08/03 11:31:22
Done.
| |
| 133 '--test-launcher-print-test-stdio=always']), | |
| 134 WebRTCTest('remoting_unittests', args=['--gtest_filter=Webrtc*']), | 128 WebRTCTest('remoting_unittests', args=['--gtest_filter=Webrtc*']), |
| 135 ] | 129 ] |
| 136 return spec | 130 return spec |
| 137 | 131 |
| 138 | 132 |
| 139 def AddBuildSpec(name, platform, target_bits=64): | 133 def AddBuildSpec(name, platform, target_bits=64): |
| 140 SPEC['builders'][name] = BuildSpec(platform, target_bits) | 134 SPEC['builders'][name] = BuildSpec(platform, target_bits) |
| 141 assert target_bits not in _builders[platform] | 135 assert target_bits not in _builders[platform] |
| 142 _builders[platform][target_bits] = name | 136 _builders[platform][target_bits] = name |
| 143 | 137 |
| 144 | 138 |
| 145 def AddTestSpec(name, perf_id, platform, target_bits=64): | 139 def AddTestSpec(name, perf_id, platform, target_bits=64): |
| 146 parent_builder = _builders[platform][target_bits] | 140 parent_builder = _builders[platform][target_bits] |
| 147 SPEC['builders'][name] = TestSpec(parent_builder, perf_id, platform, | 141 SPEC['builders'][name] = TestSpec(parent_builder, perf_id, platform, |
| 148 target_bits) | 142 target_bits) |
| 149 | 143 |
| 150 | 144 |
| 151 AddBuildSpec('Win Builder', 'win', target_bits=32) | 145 AddBuildSpec('Win Builder', 'win', target_bits=32) |
| 152 AddBuildSpec('Mac Builder', 'mac') | 146 AddBuildSpec('Mac Builder', 'mac') |
| 153 AddBuildSpec('Linux Builder', 'linux') | 147 AddBuildSpec('Linux Builder', 'linux') |
| 154 | 148 |
| 155 AddTestSpec('Win7 Tester', 'chromium-webrtc-rel-7', 'win', target_bits=32) | 149 AddTestSpec('Win7 Tester', 'chromium-webrtc-rel-7', 'win', target_bits=32) |
| 156 AddTestSpec('Win8 Tester', 'chromium-webrtc-rel-win8', 'win', target_bits=32) | 150 AddTestSpec('Win8 Tester', 'chromium-webrtc-rel-win8', 'win', target_bits=32) |
| 157 AddTestSpec('Win10 Tester', 'chromium-webrtc-rel-win10', 'win', target_bits=32) | 151 AddTestSpec('Win10 Tester', 'chromium-webrtc-rel-win10', 'win', target_bits=32) |
| 158 AddTestSpec('Mac Tester', 'chromium-webrtc-rel-mac', 'mac') | 152 AddTestSpec('Mac Tester', 'chromium-webrtc-rel-mac', 'mac') |
| 159 AddTestSpec('Linux Tester', 'chromium-webrtc-rel-linux', 'linux') | 153 AddTestSpec('Linux Tester', 'chromium-webrtc-rel-linux', 'linux') |
| OLD | NEW |