| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Generate and process code coverage. | 6 """Generate and process code coverage. |
| 7 | 7 |
| 8 TODO(jrg): rename this from coverage_posix.py to coverage_all.py! | 8 TODO(jrg): rename this from coverage_posix.py to coverage_all.py! |
| 9 | 9 |
| 10 Written for and tested on Mac, Linux, and Windows. To use this script | 10 Written for and tested on Mac, Linux, and Windows. To use this script |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 'BrowserActionApiTest.*', | 310 'BrowserActionApiTest.*', |
| 311 'DownloadExtensionTest.*', | 311 'DownloadExtensionTest.*', |
| 312 'DnsApiTest.*', | 312 'DnsApiTest.*', |
| 313 'DeclarativeApiTest.*', | 313 'DeclarativeApiTest.*', |
| 314 'BluetoothApiTest.*', | 314 'BluetoothApiTest.*', |
| 315 'AllUrlsApiTest.*', | 315 'AllUrlsApiTest.*', |
| 316 # 'src/chrome/browser/nacl_host' | 316 # 'src/chrome/browser/nacl_host' |
| 317 'nacl_host.*', | 317 'nacl_host.*', |
| 318 # 'src/chrome/browser/automation' | 318 # 'src/chrome/browser/automation' |
| 319 'AutomationMiscBrowserTest.*', | 319 'AutomationMiscBrowserTest.*', |
| 320 'AutomationTabHelperBrowserTest.*', | |
| 321 # 'src/chrome/browser/autofill' | 320 # 'src/chrome/browser/autofill' |
| 322 'FormStructureBrowserTest.*', | 321 'FormStructureBrowserTest.*', |
| 323 'AutofillPopupViewBrowserTest.*', | 322 'AutofillPopupViewBrowserTest.*', |
| 324 'AutofillTest.*', | 323 'AutofillTest.*', |
| 325 # 'src/chrome/browser/autocomplete' | 324 # 'src/chrome/browser/autocomplete' |
| 326 'AutocompleteBrowserTest.*', | 325 'AutocompleteBrowserTest.*', |
| 327 # 'src/chrome/browser/captive_portal' | 326 # 'src/chrome/browser/captive_portal' |
| 328 'CaptivePortalBrowserTest.*', | 327 'CaptivePortalBrowserTest.*', |
| 329 # 'src/chrome/browser/geolocation' | 328 # 'src/chrome/browser/geolocation' |
| 330 'GeolocationAccessTokenStoreTest.*', | 329 'GeolocationAccessTokenStoreTest.*', |
| (...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1259 if options.trim: | 1258 if options.trim: |
| 1260 coverage.TrimTests() | 1259 coverage.TrimTests() |
| 1261 coverage.RunTests() | 1260 coverage.RunTests() |
| 1262 if options.genhtml: | 1261 if options.genhtml: |
| 1263 coverage.GenerateHtml() | 1262 coverage.GenerateHtml() |
| 1264 return 0 | 1263 return 0 |
| 1265 | 1264 |
| 1266 | 1265 |
| 1267 if __name__ == '__main__': | 1266 if __name__ == '__main__': |
| 1268 sys.exit(main()) | 1267 sys.exit(main()) |
| OLD | NEW |