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

Side by Side Diff: frog/presubmit.py

Issue 8498020: Beginning of CSS parser using frog parsering infrastructure. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated Jim's CR Created 9 years, 1 month 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 (c) 2011, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 import os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 import time 9 import time
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 print 'Generated %s frogsh is %s kB' % (b('checked'), b(size)) 86 print 'Generated %s frogsh is %s kB' % (b('checked'), b(size))
87 87
88 RunCommand('../tools/build.py', '--mode=release') 88 RunCommand('../tools/build.py', '--mode=release')
89 test_cmd = ['../tools/test.py', '--component=frog,frogsh,leg', 89 test_cmd = ['../tools/test.py', '--component=frog,frogsh,leg',
90 '--report', '--timeout=5', '--progress=color', 90 '--report', '--timeout=5', '--progress=color',
91 '--mode=release'] 91 '--mode=release']
92 if args[1:]: 92 if args[1:]:
93 test_cmd.extend(args[1:]) 93 test_cmd.extend(args[1:])
94 else: 94 else:
95 test_cmd.extend(['language', 'corelib', 'leg', 'isolate', 95 test_cmd.extend(['language', 'corelib', 'leg', 'isolate',
96 'peg', 'leg_only', 'frog']) 96 'peg', 'leg_only', 'frog', 'css'])
jimhug 2011/11/10 17:58:56 Nice tests!
97 RunCommand(*test_cmd, verbose=True) 97 RunCommand(*test_cmd, verbose=True)
98 98
99 if __name__ == '__main__': 99 if __name__ == '__main__':
100 try: 100 try:
101 sys.exit(main(sys.argv)) 101 sys.exit(main(sys.argv))
102 except Error as e: 102 except Error as e:
103 sys.stderr.write('%s\n' % e) 103 sys.stderr.write('%s\n' % e)
104 sys.exit(1) 104 sys.exit(1)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698