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

Side by Side Diff: tools/checkperms/checkperms.py

Issue 497803002: Componentize component_updater: Copy test data over to components/test/data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sigh: need to dcommit the jebgal... dir in separate CL due to CQ not respecting executable bit... Created 6 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
« no previous file with comments | « components/test/data/component_updater/updatecheck_reply_noupdate.xml ('k') | 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 (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """Makes sure files have the right permissions. 6 """Makes sure files have the right permissions.
7 7
8 Some developers have broken SCM configurations that flip the svn:executable 8 Some developers have broken SCM configurations that flip the svn:executable
9 permission on for no good reason. Unix developers who run ls --color will then 9 permission on for no good reason. Unix developers who run ls --color will then
10 see .cc files in green and get confused. 10 see .cc files in green and get confused.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 'chrome/installer/mac/sign_app.sh.in', 144 'chrome/installer/mac/sign_app.sh.in',
145 'chrome/installer/mac/sign_versioned_dir.sh.in', 145 'chrome/installer/mac/sign_versioned_dir.sh.in',
146 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/' 146 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/'
147 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file', 147 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file',
148 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/' 148 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/'
149 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file', 149 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file',
150 'chrome/test/data/extensions/uitest/plugins/plugin32.so', 150 'chrome/test/data/extensions/uitest/plugins/plugin32.so',
151 'chrome/test/data/extensions/uitest/plugins/plugin64.so', 151 'chrome/test/data/extensions/uitest/plugins/plugin64.so',
152 'chrome/test/data/extensions/uitest/plugins_private/plugin32.so', 152 'chrome/test/data/extensions/uitest/plugins_private/plugin32.so',
153 'chrome/test/data/extensions/uitest/plugins_private/plugin64.so', 153 'chrome/test/data/extensions/uitest/plugins_private/plugin64.so',
154 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/'
155 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file',
156 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/'
157 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file',
154 'courgette/testdata/elf-32-1', 158 'courgette/testdata/elf-32-1',
155 'courgette/testdata/elf-32-2', 159 'courgette/testdata/elf-32-2',
156 'courgette/testdata/elf-64', 160 'courgette/testdata/elf-64',
157 ) 161 )
158 162
159 # File names that are always whitelisted. (These are mostly autoconf spew.) 163 # File names that are always whitelisted. (These are mostly autoconf spew.)
160 # 164 #
161 # Case-sensitive. 165 # Case-sensitive.
162 IGNORED_FILENAMES = ( 166 IGNORED_FILENAMES = (
163 'config.guess', 167 'config.guess',
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 print '\nFAILED\n' 538 print '\nFAILED\n'
535 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors) 539 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors)
536 return 1 540 return 1
537 if not options.bare: 541 if not options.bare:
538 print '\nSUCCESS\n' 542 print '\nSUCCESS\n'
539 return 0 543 return 0
540 544
541 545
542 if '__main__' == __name__: 546 if '__main__' == __name__:
543 sys.exit(main()) 547 sys.exit(main())
OLDNEW
« no previous file with comments | « components/test/data/component_updater/updatecheck_reply_noupdate.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698