Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: scripts/slave/recipe_modules/isolate/resources/compare_build_artifacts.py

Issue 1038713002: Make 'Linux deterministic build' green. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: . Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 import os 11 import os
12 import struct 12 import struct
13 import sys 13 import sys
14 import time 14 import time
15 15
16 from infra.libs.infra_types import freeze 16 from infra.libs.infra_types import freeze
17 17
18 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) 18 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
19 19
20 20
21 # List of files that are known to be non deterministic. This is a temporary 21 # List of files that are known to be non deterministic. This is a "temporary"
22 # workaround to find regression on the deterministic builders. 22 # workaround to find regression on the deterministic builders.
23 #
24 # PNaCl general bug: http://crbug.com/429358
25 #
23 # TODO(sebmarchand): Remove this once all the files are deterministic. 26 # TODO(sebmarchand): Remove this once all the files are deterministic.
24 WHITELIST = freeze({ 27 WHITELIST = freeze({
25 # http://crbug.com/383340 28 # http://crbug.com/383340
26 'android': { 29 'android': {
27 # Completed. 30 # Completed.
28 }, 31 },
29 32
30 # http://crbug.com/383364 33 # http://crbug.com/383364
31 'ios': { 34 'ios': {
32 # TODO(maruel): Add files. 35 # TODO(maruel): Add files.
33 }, 36 },
34 37
35 # http://crbug.com/330263 38 # http://crbug.com/330263
36 'linux': { 39 'linux': {
37 # Completed. 40 'browser_tests.isolated',
41 'irt_exception_test_pnacl_newlib_x64.nexe',
42 'irt_manifest_file_pnacl_newlib_x64.nexe',
43 'ppapi_tests_extensions_packaged_app_pnacl_newlib_x64.nexe',
38 }, 44 },
39 45
40 # http://crbug.com/330262 46 # http://crbug.com/330262
41 'mac': { 47 'mac': {
42 # TODO(maruel): Add files. 48 # TODO(maruel): Add files.
43 }, 49 },
44 50
45 # http://crbug.com/330260 51 # http://crbug.com/330260
46 'win': { 52 'win': {
47 'base_unittests.exe', 53 'base_unittests.exe',
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 parser.error('--target-platform is required') 265 parser.error('--target-platform is required')
260 266
261 return compare_build_artifacts(os.path.abspath(options.first_build_dir), 267 return compare_build_artifacts(os.path.abspath(options.first_build_dir),
262 os.path.abspath(options.second_build_dir), 268 os.path.abspath(options.second_build_dir),
263 options.target_platform, 269 options.target_platform,
264 options.recursive) 270 options.recursive)
265 271
266 272
267 if __name__ == '__main__': 273 if __name__ == '__main__':
268 sys.exit(main()) 274 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698