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

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

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 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 | Annotate | Revision Log
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 recipe_engine.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 # 23 #
24 # PNaCl general bug: https://crbug.com/429358 24 # PNaCl general bug: https://crbug.com/429358
25 # 25 #
26 # TODO(sebmarchand): Remove this once all the files are deterministic. 26 # TODO(sebmarchand): Remove this once all the files are deterministic.
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 parser.error('--target-platform is required') 686 parser.error('--target-platform is required')
687 687
688 return compare_build_artifacts(os.path.abspath(options.first_build_dir), 688 return compare_build_artifacts(os.path.abspath(options.first_build_dir),
689 os.path.abspath(options.second_build_dir), 689 os.path.abspath(options.second_build_dir),
690 options.target_platform, 690 options.target_platform,
691 options.recursive) 691 options.recursive)
692 692
693 693
694 if __name__ == '__main__': 694 if __name__ == '__main__':
695 sys.exit(main()) 695 sys.exit(main())
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/gpu/api.py ('k') | scripts/slave/recipe_modules/itertools/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698