| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 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 """Compare the artifacts from two builds.""" | 6 """Compare the artifacts from two builds.""" |
| 7 | 7 |
| 8 import difflib | 8 import difflib |
| 9 import json | 9 import json |
| 10 import optparse | 10 import optparse |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 # https://crbug.com/330263 | 32 # https://crbug.com/330263 |
| 33 'linux': { | 33 'linux': { |
| 34 # Completed. | 34 # Completed. |
| 35 }, | 35 }, |
| 36 | 36 |
| 37 # https://crbug.com/330262 | 37 # https://crbug.com/330262 |
| 38 'mac': { | 38 'mac': { |
| 39 'accessibility_unittests', | 39 'accessibility_unittests', |
| 40 'accessibility_unittests.isolated', | 40 'accessibility_unittests.isolated', |
| 41 'angle_end2end_tests', |
| 41 'angle_unittests', | 42 'angle_unittests', |
| 42 'app_list_demo', | 43 'app_list_demo', |
| 43 'app_list_unittests', | 44 'app_list_unittests', |
| 44 'app_list_unittests.isolated', | 45 'app_list_unittests.isolated', |
| 45 'app_shell_unittests', | 46 'app_shell_unittests', |
| 46 'app_shell_unittests.isolated', | 47 'app_shell_unittests.isolated', |
| 47 'ar_sample_test_driver', | 48 'ar_sample_test_driver', |
| 48 'audio_unittests', | 49 'audio_unittests', |
| 49 'audio_unittests.isolated', | 50 'audio_unittests.isolated', |
| 50 'base_i18n_perftests', | 51 'base_i18n_perftests', |
| 51 'base_perftests', | 52 'base_perftests', |
| 52 'base_unittests', | 53 'base_unittests', |
| 53 'base_unittests.isolated', | 54 'base_unittests.isolated', |
| 55 'battor_agent', |
| 54 'bitmaptools', | 56 'bitmaptools', |
| 55 'blink_heap_unittests', | 57 'blink_heap_unittests', |
| 58 'blink_heap_unittests.isolated', |
| 56 'blink_platform_unittests', | 59 'blink_platform_unittests', |
| 60 'blink_platform_unittests.isolated', |
| 57 'boringssl_aead_test', | 61 'boringssl_aead_test', |
| 58 'boringssl_aes_test', | 62 'boringssl_aes_test', |
| 59 'boringssl_base64_test', | 63 'boringssl_base64_test', |
| 60 'boringssl_bio_test', | 64 'boringssl_bio_test', |
| 61 'boringssl_bn_test', | 65 'boringssl_bn_test', |
| 62 'boringssl_bytestring_test', | 66 'boringssl_bytestring_test', |
| 63 'boringssl_cipher_test', | 67 'boringssl_cipher_test', |
| 64 'boringssl_cmac_test', | 68 'boringssl_cmac_test', |
| 65 'boringssl_constant_time_test', | 69 'boringssl_constant_time_test', |
| 66 'boringssl_dh_test', | 70 'boringssl_dh_test', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 'cast_receiver_app', | 103 'cast_receiver_app', |
| 100 'cast_sender_app', | 104 'cast_sender_app', |
| 101 'cast_simulator', | 105 'cast_simulator', |
| 102 'cast_unittests', | 106 'cast_unittests', |
| 103 'cast_unittests.isolated', | 107 'cast_unittests.isolated', |
| 104 'cc_blink_unittests', | 108 'cc_blink_unittests', |
| 105 'cc_perftests', | 109 'cc_perftests', |
| 106 'cc_unittests', | 110 'cc_unittests', |
| 107 'cc_unittests.isolated', | 111 'cc_unittests.isolated', |
| 108 'check_example', | 112 'check_example', |
| 113 'chrome.isolated', |
| 109 'chrome_app_unittests', | 114 'chrome_app_unittests', |
| 110 'chrome.isolated', | |
| 111 'chromedriver', | 115 'chromedriver', |
| 112 'chromedriver_tests', | 116 'chromedriver_tests', |
| 113 'chromedriver_unittests', | 117 'chromedriver_unittests', |
| 114 'chromedriver_unittests.isolated', | 118 'chromedriver_unittests.isolated', |
| 115 'chromoting_test_driver', | 119 'chromoting_test_driver', |
| 116 'clear_system_cache', | 120 'clear_system_cache', |
| 117 'cloud_print_unittests', | 121 'cloud_print_unittests', |
| 118 'codesighs', | 122 'codesighs', |
| 119 'components_browsertests', | 123 'components_browsertests', |
| 120 'components_browsertests.isolated', | 124 'components_browsertests.isolated', |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 'ipc_mojo_perftests', | 206 'ipc_mojo_perftests', |
| 203 'ipc_mojo_unittests', | 207 'ipc_mojo_unittests', |
| 204 'ipc_perftests', | 208 'ipc_perftests', |
| 205 'ipc_tests', | 209 'ipc_tests', |
| 206 'ipc_tests.isolated', | 210 'ipc_tests.isolated', |
| 207 'jingle_unittests', | 211 'jingle_unittests', |
| 208 'jingle_unittests.isolated', | 212 'jingle_unittests.isolated', |
| 209 'jtl_compiler', | 213 'jtl_compiler', |
| 210 'khronos_glcts_test', | 214 'khronos_glcts_test', |
| 211 'layout_test_helper', | 215 'layout_test_helper', |
| 216 'libEGL.dylib', |
| 217 'libGLESv2.dylib', |
| 212 'libaddressinput_unittests', | 218 'libaddressinput_unittests', |
| 213 'libclearkeycdm.dylib', | 219 'libclearkeycdm.dylib', |
| 214 'libcommand_buffer_gles2.dylib', | 220 'libcommand_buffer_gles2.dylib', |
| 215 'liblzma_decompress.dylib', | 221 'liblzma_decompress.dylib', |
| 216 'libmojo_public_test_support.dylib', | 222 'libmojo_public_test_support.dylib', |
| 217 'libphonenumber_unittests', | 223 'libphonenumber_unittests', |
| 218 'load_library_perf_tests', | 224 'load_library_perf_tests', |
| 219 'macviews_interactive_ui_tests', | 225 'macviews_interactive_ui_tests', |
| 220 'maptsvdifftool', | 226 'maptsvdifftool', |
| 221 'mcs_probe', | 227 'mcs_probe', |
| 228 'media_blink_unittests', |
| 229 'media_blink_unittests.isolated', |
| 222 'media_perftests', | 230 'media_perftests', |
| 223 'media_unittests', | 231 'media_unittests', |
| 224 'media_unittests.isolated', | 232 'media_unittests.isolated', |
| 225 'message_center_unittests', | 233 'message_center_unittests', |
| 226 'message_center_unittests.isolated', | 234 'message_center_unittests.isolated', |
| 227 'midi_unittests', | 235 'midi_unittests', |
| 228 'midi_unittests.isolated', | 236 'midi_unittests.isolated', |
| 229 'minidump_stackwalk', | 237 'minidump_stackwalk', |
| 230 'mksnapshot', | 238 'mksnapshot', |
| 231 'mojo_common_unittests', | 239 'mojo_common_unittests', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 245 'mojo_public_utility_unittests', | 253 'mojo_public_utility_unittests', |
| 246 'mojo_public_utility_unittests.isolated', | 254 'mojo_public_utility_unittests.isolated', |
| 247 'mojo_system_unittests', | 255 'mojo_system_unittests', |
| 248 'nacl_loader_unittests', | 256 'nacl_loader_unittests', |
| 249 'nacl_loader_unittests.isolated', | 257 'nacl_loader_unittests.isolated', |
| 250 'net_perftests', | 258 'net_perftests', |
| 251 'net_unittests', | 259 'net_unittests', |
| 252 'net_unittests.isolated', | 260 'net_unittests.isolated', |
| 253 'net_watcher', | 261 'net_watcher', |
| 254 'nm2tsv', | 262 'nm2tsv', |
| 263 'openh264_unittests', |
| 255 'osmesa.so', | 264 'osmesa.so', |
| 256 'pdfium_diff', | 265 'pdfium_diff', |
| 257 'pdfium_test', | 266 'pdfium_test', |
| 258 'pdfsqueeze', | 267 'pdfsqueeze', |
| 259 'peerconnection_server', | 268 'peerconnection_server', |
| 260 'pepper_hash_for_uma', | 269 'pepper_hash_for_uma', |
| 261 'performance_browser_tests', | 270 'performance_browser_tests', |
| 262 'ppapi_perftests', | 271 'ppapi_perftests', |
| 263 'ppapi_unittests', | 272 'ppapi_unittests', |
| 264 'printing_unittests', | 273 'printing_unittests', |
| 265 'printing_unittests.isolated', | 274 'printing_unittests.isolated', |
| 266 'protoc', | 275 'protoc', |
| 267 'qcms_test', | 276 'qcms_test', |
| 277 'qcms_tests', |
| 268 'quic_client', | 278 'quic_client', |
| 269 'quic_server', | 279 'quic_server', |
| 270 're2c', | 280 're2c', |
| 271 'remoting_perftests', | 281 'remoting_perftests', |
| 272 'remoting_start_host', | 282 'remoting_start_host', |
| 273 'remoting_unittests', | 283 'remoting_unittests', |
| 274 'remoting_unittests.isolated', | 284 'remoting_unittests.isolated', |
| 275 'rgba_to_i420_converter', | 285 'rgba_to_i420_converter', |
| 276 'rlz_id', | 286 'rlz_id', |
| 277 'rlz_unittests', | 287 'rlz_unittests', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 301 'ui_base_unittests', | 311 'ui_base_unittests', |
| 302 'ui_touch_selection_unittests', | 312 'ui_touch_selection_unittests', |
| 303 'ui_touch_selection_unittests.isolated', | 313 'ui_touch_selection_unittests.isolated', |
| 304 'unit_tests', | 314 'unit_tests', |
| 305 'unit_tests.isolated', | 315 'unit_tests.isolated', |
| 306 'url_unittests', | 316 'url_unittests', |
| 307 'url_unittests.isolated', | 317 'url_unittests.isolated', |
| 308 'views_examples_with_content_exe', | 318 'views_examples_with_content_exe', |
| 309 'views_unittests', | 319 'views_unittests', |
| 310 'webkit_unit_tests', | 320 'webkit_unit_tests', |
| 321 'webkit_unit_tests.isolated', |
| 311 'wifi_test', | 322 'wifi_test', |
| 312 'wtf_unittests', | 323 'wtf_unittests', |
| 324 'wtf_unittests.isolated', |
| 313 'xz', | 325 'xz', |
| 314 'xzdec', | 326 'xzdec', |
| 315 'yasm', | 327 'yasm', |
| 316 }, | 328 }, |
| 317 | 329 |
| 318 # https://crbug.com/330260 | 330 # https://crbug.com/330260 |
| 319 'win': { | 331 'win': { |
| 320 'accessibility_unittests.exe', | 332 'accessibility_unittests.exe', |
| 321 'accessibility_unittests.isolated', | 333 'accessibility_unittests.isolated', |
| 322 'angle_end2end_tests.exe', | 334 'angle_end2end_tests.exe', |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 parser.error('--target-platform is required') | 696 parser.error('--target-platform is required') |
| 685 | 697 |
| 686 return compare_build_artifacts(os.path.abspath(options.first_build_dir), | 698 return compare_build_artifacts(os.path.abspath(options.first_build_dir), |
| 687 os.path.abspath(options.second_build_dir), | 699 os.path.abspath(options.second_build_dir), |
| 688 options.target_platform, | 700 options.target_platform, |
| 689 options.recursive) | 701 options.recursive) |
| 690 | 702 |
| 691 | 703 |
| 692 if __name__ == '__main__': | 704 if __name__ == '__main__': |
| 693 sys.exit(main()) | 705 sys.exit(main()) |
| OLD | NEW |