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

Side by Side Diff: trunk/gyptest.py

Issue 306051: Add AUTHORS and LICENSE files, and copyright headers to relevant source files... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: '' Created 11 years, 2 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 # 2
3 # XXX Python script template 3 # Copyright (c) 2009 Google Inc. All rights reserved.
4 # 4 # Use of this source code is governed by a BSD-style license that can be
5 # XXX Describe what the script does here. 5 # found in the LICENSE file.
6 # 6
7 __doc__ = """
8 gyptest.py -- test runner for GYP tests.
9 """
7 10
8 import os 11 import os
9 import optparse 12 import optparse
10 import subprocess 13 import subprocess
11 import sys 14 import sys
12 15
13 class CommandRunner: 16 class CommandRunner:
14 """ 17 """
15 Executor class for commands, including "commands" implemented by 18 Executor class for commands, including "commands" implemented by
16 Python functions. 19 Python functions.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 report("No result from", no_result) 231 report("No result from", no_result)
229 232
230 if failed: 233 if failed:
231 return 1 234 return 1
232 else: 235 else:
233 return 0 236 return 0
234 237
235 238
236 if __name__ == "__main__": 239 if __name__ == "__main__":
237 sys.exit(main()) 240 sys.exit(main())
OLDNEW
« trunk/AUTHORS ('K') | « trunk/gyp.bat ('k') | trunk/pylib/gyp/MSVSNew.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698