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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 'boringssl_evp_extra_test', | 74 'boringssl_evp_extra_test', |
75 'boringssl_evp_test', | 75 'boringssl_evp_test', |
76 'boringssl_example_mul', | 76 'boringssl_example_mul', |
77 'boringssl_gcm_test', | 77 'boringssl_gcm_test', |
78 'boringssl_hkdf_test', | 78 'boringssl_hkdf_test', |
79 'boringssl_hmac_test', | 79 'boringssl_hmac_test', |
80 'boringssl_lhash_test', | 80 'boringssl_lhash_test', |
81 'boringssl_pbkdf_test', | 81 'boringssl_pbkdf_test', |
82 'boringssl_pkcs12_test', | 82 'boringssl_pkcs12_test', |
83 'boringssl_pkcs7_test', | 83 'boringssl_pkcs7_test', |
| 84 'boringssl_pkcs8_test', |
84 'boringssl_poly1305_test', | 85 'boringssl_poly1305_test', |
85 'boringssl_pqueue_test', | 86 'boringssl_pqueue_test', |
86 'boringssl_refcount_test', | 87 'boringssl_refcount_test', |
87 'boringssl_rsa_test', | 88 'boringssl_rsa_test', |
88 'boringssl_ssl_test', | 89 'boringssl_ssl_test', |
89 'boringssl_tab_test', | 90 'boringssl_tab_test', |
90 'boringssl_thread_test', | 91 'boringssl_thread_test', |
91 'boringssl_unittests', | 92 'boringssl_unittests', |
92 'boringssl_v3name_test', | 93 'boringssl_v3name_test', |
93 'browser_tests', | 94 'browser_tests', |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 'ipc_perftests', | 206 'ipc_perftests', |
206 'ipc_tests', | 207 'ipc_tests', |
207 'ipc_tests.isolated', | 208 'ipc_tests.isolated', |
208 'jingle_unittests', | 209 'jingle_unittests', |
209 'jingle_unittests.isolated', | 210 'jingle_unittests.isolated', |
210 'jtl_compiler', | 211 'jtl_compiler', |
211 'khronos_glcts_test', | 212 'khronos_glcts_test', |
212 'layout_test_helper', | 213 'layout_test_helper', |
213 'libaddressinput_unittests', | 214 'libaddressinput_unittests', |
214 'libclearkeycdm.dylib', | 215 'libclearkeycdm.dylib', |
| 216 'libcommand_buffer_gles2.dylib', |
215 'liblzma_decompress.dylib', | 217 'liblzma_decompress.dylib', |
216 'libmojo_public_test_support.dylib', | 218 'libmojo_public_test_support.dylib', |
217 'libphonenumber_unittests', | 219 'libphonenumber_unittests', |
218 'load_library_perf_tests', | 220 'load_library_perf_tests', |
219 'macviews_interactive_ui_tests', | 221 'macviews_interactive_ui_tests', |
220 'maptsvdifftool', | 222 'maptsvdifftool', |
221 'mcs_probe', | 223 'mcs_probe', |
222 'media_perftests', | 224 'media_perftests', |
223 'media_unittests', | 225 'media_unittests', |
224 'media_unittests.isolated', | 226 'media_unittests.isolated', |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 'xzdec', | 316 'xzdec', |
315 'yasm', | 317 'yasm', |
316 }, | 318 }, |
317 | 319 |
318 # https://crbug.com/330260 | 320 # https://crbug.com/330260 |
319 'win': { | 321 'win': { |
320 'accessibility_unittests.exe', | 322 'accessibility_unittests.exe', |
321 'accessibility_unittests.isolated', | 323 'accessibility_unittests.isolated', |
322 'angle_end2end_tests.exe', | 324 'angle_end2end_tests.exe', |
323 'angle_unittests.exe', | 325 'angle_unittests.exe', |
| 326 'angle_perftests.exe', |
324 'app_list_demo.exe', | 327 'app_list_demo.exe', |
325 'app_list_unittests.exe', | 328 'app_list_unittests.exe', |
326 'app_list_unittests.isolated', | 329 'app_list_unittests.isolated', |
327 'app_shell.exe', | 330 'app_shell.exe', |
328 'app_shell_unittests.exe', | 331 'app_shell_unittests.exe', |
329 'app_shell_unittests.isolated', | 332 'app_shell_unittests.isolated', |
330 'ar_sample_test_driver.exe', | 333 'ar_sample_test_driver.exe', |
331 'ash_shell.exe', | 334 'ash_shell.exe', |
332 'ash_unittests.exe', | 335 'ash_unittests.exe', |
333 'ash_unittests.isolated', | 336 'ash_unittests.isolated', |
334 'audio_unittests.exe', | 337 'audio_unittests.exe', |
335 'audio_unittests.isolated', | 338 'audio_unittests.isolated', |
336 'base_i18n_perftests.exe', | 339 'base_i18n_perftests.exe', |
337 'base_perftests.exe', | 340 'base_perftests.exe', |
338 'base_unittests.exe', | 341 'base_unittests.exe', |
339 'base_unittests.isolated', | 342 'base_unittests.isolated', |
340 'blink_heap_unittests.exe', | 343 'blink_heap_unittests.exe', |
341 'blink_platform_unittests.exe', | 344 'blink_platform_unittests.exe', |
342 'browser_tests.exe', | 345 'browser_tests.exe', |
343 'browser_tests.isolated', | 346 'browser_tests.isolated', |
344 'cast_unittests.exe', | 347 'cast_unittests.exe', |
345 'cast_unittests.isolated', | 348 'cast_unittests.isolated', |
346 'cc_blink_unittests.exe', | 349 'cc_blink_unittests.exe', |
347 'cc_perftests.exe', | 350 'cc_perftests.exe', |
348 'cc_unittests.exe', | 351 'cc_unittests.exe', |
349 'cc_unittests.isolated', | 352 'cc_unittests.isolated', |
350 'chrome.dll', | 353 'chrome.dll', |
351 'chrome.exe', | 354 'chrome.exe', |
352 'chrome.isolated', | 355 'chrome.isolated', |
| 356 'chrome_app_unittests.exe', |
353 'chrome_child.dll', | 357 'chrome_child.dll', |
354 'chrome_elf_unittests.exe', | 358 'chrome_elf_unittests.exe', |
355 'chrome_watcher.dll', | 359 'chrome_watcher.dll', |
356 'chromedriver.exe', | 360 'chromedriver.exe', |
357 'chromedriver_tests.exe', | 361 'chromedriver_tests.exe', |
358 'chromoting_test_driver.exe', | 362 'chromoting_test_driver.exe', |
359 'clearkeycdm.dll', | 363 'clearkeycdm.dll', |
360 'cloud_print_service.exe', | 364 'cloud_print_service.exe', |
361 'cloud_print_service_config.exe', | 365 'cloud_print_service_config.exe', |
362 'cloud_print_unittests.exe', | 366 'cloud_print_unittests.exe', |
(...skipping 19 matching lines...) Expand all Loading... |
382 'delegate_execute.exe', | 386 'delegate_execute.exe', |
383 'delegate_execute_unittests.exe', | 387 'delegate_execute_unittests.exe', |
384 'device_unittests.exe', | 388 'device_unittests.exe', |
385 'device_unittests.isolated', | 389 'device_unittests.isolated', |
386 'events_unittests.exe', | 390 'events_unittests.exe', |
387 'events_unittests.isolated', | 391 'events_unittests.isolated', |
388 'extensions_browsertests.exe', | 392 'extensions_browsertests.exe', |
389 'extensions_browsertests.isolated', | 393 'extensions_browsertests.isolated', |
390 'extensions_unittests.exe', | 394 'extensions_unittests.exe', |
391 'extensions_unittests.isolated', | 395 'extensions_unittests.isolated', |
| 396 'gcapi_test.exe', |
392 'gcm_unit_tests.exe', | 397 'gcm_unit_tests.exe', |
393 'gcm_unit_tests.isolated', | 398 'gcm_unit_tests.isolated', |
394 'gcp20_device.exe', | 399 'gcp20_device.exe', |
395 'gcp20_device_unittests.exe', | 400 'gcp20_device_unittests.exe', |
396 'gcp_portmon64.dll', | 401 'gcp_portmon64.dll', |
397 'get_server_time.exe', | 402 'get_server_time.exe', |
398 'gfx_unittests.exe', | 403 'gfx_unittests.exe', |
399 'gin_shell.exe', | 404 'gin_shell.exe', |
400 'gin_unittests.exe', | 405 'gin_unittests.exe', |
401 'gl_unittests.exe', | 406 'gl_unittests.exe', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 'performance_browser_tests.exe', | 455 'performance_browser_tests.exe', |
451 'ppapi_perftests.exe', | 456 'ppapi_perftests.exe', |
452 'ppapi_unittests.exe', | 457 'ppapi_unittests.exe', |
453 'printing_unittests.exe', | 458 'printing_unittests.exe', |
454 'printing_unittests.isolated', | 459 'printing_unittests.isolated', |
455 'remoting_core.dll', | 460 'remoting_core.dll', |
456 'remoting_start_host.exe', | 461 'remoting_start_host.exe', |
457 'remoting_unittests.exe', | 462 'remoting_unittests.exe', |
458 'remoting_unittests.isolated', | 463 'remoting_unittests.isolated', |
459 'sbox_integration_tests.isolated', | 464 'sbox_integration_tests.isolated', |
| 465 'sbox_unittests.exe', |
| 466 'sbox_unittests.isolated', |
| 467 'sbox_validation_tests.isolated', |
460 'setup_unittests.exe', | 468 'setup_unittests.exe', |
461 'setup_unittests.isolated', | 469 'setup_unittests.isolated', |
462 'skia_unittests.exe', | 470 'skia_unittests.exe', |
463 'skia_unittests.isolated', | 471 'skia_unittests.isolated', |
464 'sql_unittests.exe', | 472 'sql_unittests.exe', |
465 'sql_unittests.isolated', | 473 'sql_unittests.isolated', |
466 'sync_client.exe', | 474 'sync_client.exe', |
467 'sync_integration_tests.exe', | 475 'sync_integration_tests.exe', |
468 'sync_integration_tests.isolated', | 476 'sync_integration_tests.isolated', |
469 'sync_performance_tests.exe', | 477 'sync_performance_tests.exe', |
470 'sync_unit_tests.exe', | 478 'sync_unit_tests.exe', |
471 'sync_unit_tests.isolated', | 479 'sync_unit_tests.isolated', |
472 'test_registrar.exe', | 480 'test_registrar.exe', |
473 'ui_base_unittests.exe', | 481 'ui_base_unittests.exe', |
474 'unit_tests.exe', | 482 'unit_tests.exe', |
475 'unit_tests.isolated', | 483 'unit_tests.isolated', |
476 'url_unittests.exe', | 484 'url_unittests.exe', |
477 'url_unittests.isolated', | 485 'url_unittests.isolated', |
| 486 'video_decode_accelerator_unittest.exe', |
478 'views_examples_with_content_exe.exe', | 487 'views_examples_with_content_exe.exe', |
479 'views_unittests.exe', | 488 'views_unittests.exe', |
480 'webkit_unit_tests.exe', | 489 'webkit_unit_tests.exe', |
481 'wtf_unittests.exe', | 490 'wtf_unittests.exe', |
482 }, | 491 }, |
483 }) | 492 }) |
484 | 493 |
485 def get_files_to_compare(build_dir, recursive=False): | 494 def get_files_to_compare(build_dir, recursive=False): |
486 """Get the list of files to compare.""" | 495 """Get the list of files to compare.""" |
487 allowed = frozenset( | 496 allowed = frozenset( |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 parser.error('--target-platform is required') | 686 parser.error('--target-platform is required') |
678 | 687 |
679 return compare_build_artifacts(os.path.abspath(options.first_build_dir), | 688 return compare_build_artifacts(os.path.abspath(options.first_build_dir), |
680 os.path.abspath(options.second_build_dir), | 689 os.path.abspath(options.second_build_dir), |
681 options.target_platform, | 690 options.target_platform, |
682 options.recursive) | 691 options.recursive) |
683 | 692 |
684 | 693 |
685 if __name__ == '__main__': | 694 if __name__ == '__main__': |
686 sys.exit(main()) | 695 sys.exit(main()) |
OLD | NEW |