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

Side by Side Diff: native_client_sdk/src/tools/zip_test.py

Issue 10139026: Set svn:executable bit on scripts that are executable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Created 8 years, 8 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 | « native_client_sdk/src/tools/oshelpers.py ('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 import doctest 6 import doctest
7 import os 7 import os
8 import oshelpers 8 import oshelpers
9 import shutil 9 import shutil
10 import subprocess 10 import subprocess
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 self.OpenZipFile() 181 self.OpenZipFile()
182 self.assertEqual(len(self.zipfile.namelist()), 3) 182 self.assertEqual(len(self.zipfile.namelist()), 3)
183 183
184 184
185 def main(): 185 def main():
186 suite = unittest.TestLoader().loadTestsFromTestCase(TestZip) 186 suite = unittest.TestLoader().loadTestsFromTestCase(TestZip)
187 suite.addTests(doctest.DocTestSuite(oshelpers)) 187 suite.addTests(doctest.DocTestSuite(oshelpers))
188 result = unittest.TextTestRunner(verbosity=2).run(suite) 188 result = unittest.TextTestRunner(verbosity=2).run(suite)
189 return int(not result.wasSuccessful()) 189 return int(not result.wasSuccessful())
190 190
191
191 if __name__=='__main__': 192 if __name__=='__main__':
192 sys.exit(main()) 193 sys.exit(main())
OLDNEW
« no previous file with comments | « native_client_sdk/src/tools/oshelpers.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698