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 15 matching lines...) Expand all Loading... |
26 # | 26 # |
27 # TODO(sebmarchand): Remove this once all the files are deterministic. | 27 # TODO(sebmarchand): Remove this once all the files are deterministic. |
28 WHITELIST = { | 28 WHITELIST = { |
29 # https://crbug.com/383340 | 29 # https://crbug.com/383340 |
30 'android': { | 30 'android': { |
31 'flatc', | 31 'flatc', |
32 }, | 32 }, |
33 | 33 |
34 # https://crbug.com/330263 | 34 # https://crbug.com/330263 |
35 'linux': { | 35 'linux': { |
36 # Completed. | 36 'flatc', |
37 }, | 37 }, |
38 | 38 |
39 # https://crbug.com/330262 | 39 # https://crbug.com/330262 |
40 'mac': { | 40 'mac': { |
41 'accelerated_widget_mac_unittests', | 41 'accelerated_widget_mac_unittests', |
42 'accessibility_unittests', | 42 'accessibility_unittests', |
43 'angle_end2end_tests', | 43 'angle_end2end_tests', |
44 'angle_unittests', | 44 'angle_unittests', |
45 'App Shell', | 45 'App Shell', |
46 'app_shell_unittests', | 46 'app_shell_unittests', |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 parser.error('--target-platform is required') | 688 parser.error('--target-platform is required') |
689 | 689 |
690 return compare_build_artifacts(os.path.abspath(options.first_build_dir), | 690 return compare_build_artifacts(os.path.abspath(options.first_build_dir), |
691 os.path.abspath(options.second_build_dir), | 691 os.path.abspath(options.second_build_dir), |
692 options.target_platform, | 692 options.target_platform, |
693 options.recursive) | 693 options.recursive) |
694 | 694 |
695 | 695 |
696 if __name__ == '__main__': | 696 if __name__ == '__main__': |
697 sys.exit(main()) | 697 sys.exit(main()) |
OLD | NEW |