| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 'mksnapshot', | 238 'mksnapshot', |
| 239 'mojo_common_unittests', | 239 'mojo_common_unittests', |
| 240 'mojo_common_unittests.isolated', | 240 'mojo_common_unittests.isolated', |
| 241 'mojo_js_integration_tests', | 241 'mojo_js_integration_tests', |
| 242 'mojo_js_unittests', | 242 'mojo_js_unittests', |
| 243 'mojo_message_pipe_perftests', | 243 'mojo_message_pipe_perftests', |
| 244 'mojo_public_application_unittests', | 244 'mojo_public_application_unittests', |
| 245 'mojo_public_bindings_perftests', | 245 'mojo_public_bindings_perftests', |
| 246 'mojo_public_bindings_unittests', | 246 'mojo_public_bindings_unittests', |
| 247 'mojo_public_bindings_unittests.isolated', | 247 'mojo_public_bindings_unittests.isolated', |
| 248 'mojo_public_environment_unittests', | |
| 249 'mojo_public_environment_unittests.isolated', | |
| 250 'mojo_public_system_perftests', | 248 'mojo_public_system_perftests', |
| 251 'mojo_public_system_unittests', | 249 'mojo_public_system_unittests', |
| 252 'mojo_public_system_unittests.isolated', | 250 'mojo_public_system_unittests.isolated', |
| 253 'mojo_public_utility_unittests', | 251 'mojo_public_utility_unittests', |
| 254 'mojo_public_utility_unittests.isolated', | 252 'mojo_public_utility_unittests.isolated', |
| 255 'mojo_system_unittests', | 253 'mojo_system_unittests', |
| 256 'nacl_loader_unittests', | 254 'nacl_loader_unittests', |
| 257 'nacl_loader_unittests.isolated', | 255 'nacl_loader_unittests.isolated', |
| 258 'net_perftests', | 256 'net_perftests', |
| 259 'net_unittests', | 257 'net_unittests', |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 'midi_unittests.isolated', | 436 'midi_unittests.isolated', |
| 439 'mini_installer.exe', | 437 'mini_installer.exe', |
| 440 'mksnapshot.exe', | 438 'mksnapshot.exe', |
| 441 'mock_nacl_gdb.exe', | 439 'mock_nacl_gdb.exe', |
| 442 'mojo_js_integration_tests.exe', | 440 'mojo_js_integration_tests.exe', |
| 443 'mojo_js_unittests.exe', | 441 'mojo_js_unittests.exe', |
| 444 'mojo_message_pipe_perftests.exe', | 442 'mojo_message_pipe_perftests.exe', |
| 445 'mojo_public_bindings_perftests.exe', | 443 'mojo_public_bindings_perftests.exe', |
| 446 'mojo_public_bindings_unittests.exe', | 444 'mojo_public_bindings_unittests.exe', |
| 447 'mojo_public_bindings_unittests.isolated', | 445 'mojo_public_bindings_unittests.isolated', |
| 448 'mojo_public_environment_unittests.exe', | |
| 449 'mojo_public_environment_unittests.isolated', | |
| 450 'mojo_public_system_perftests.exe', | 446 'mojo_public_system_perftests.exe', |
| 451 'mojo_public_system_unittests.exe', | 447 'mojo_public_system_unittests.exe', |
| 452 'mojo_public_system_unittests.isolated', | 448 'mojo_public_system_unittests.isolated', |
| 453 'mojo_public_utility_unittests.exe', | 449 'mojo_public_utility_unittests.exe', |
| 454 'mojo_public_utility_unittests.isolated', | 450 'mojo_public_utility_unittests.isolated', |
| 455 'mojo_system_unittests.exe', | 451 'mojo_system_unittests.exe', |
| 456 'nacl_loader_unittests.exe', | 452 'nacl_loader_unittests.exe', |
| 457 'nacl_loader_unittests.isolated', | 453 'nacl_loader_unittests.isolated', |
| 458 'net_perftests.exe', | 454 'net_perftests.exe', |
| 459 'net_unittests.exe', | 455 'net_unittests.exe', |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 parser.error('--target-platform is required') | 692 parser.error('--target-platform is required') |
| 697 | 693 |
| 698 return compare_build_artifacts(os.path.abspath(options.first_build_dir), | 694 return compare_build_artifacts(os.path.abspath(options.first_build_dir), |
| 699 os.path.abspath(options.second_build_dir), | 695 os.path.abspath(options.second_build_dir), |
| 700 options.target_platform, | 696 options.target_platform, |
| 701 options.recursive) | 697 options.recursive) |
| 702 | 698 |
| 703 | 699 |
| 704 if __name__ == '__main__': | 700 if __name__ == '__main__': |
| 705 sys.exit(main()) | 701 sys.exit(main()) |
| OLD | NEW |