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

Unified Diff: dart/frog/presubmit.py

Issue 8462004: Integrate leg as a component in test.py. Also update presubmit script to run tests with leg. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/frog/leg/typechecker.dart ('k') | dart/tests/corelib/corelib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/presubmit.py
===================================================================
--- dart/frog/presubmit.py (revision 1186)
+++ dart/frog/presubmit.py (working copy)
@@ -62,7 +62,7 @@
print 'Generated frogsh is \033[1m%d\033[0m kB' % size
RunCommand('../tools/build.py', '--mode=release')
- test_cmd = ['../tools/test.py', '--component=frog,frogsh',
+ test_cmd = ['../tools/test.py', '--component=frog,frogsh,leg',
'--report', '--timeout=5', '--progress=color',
'--mode=release']
if args[1:]:
@@ -70,6 +70,7 @@
else:
test_cmd.extend(['language', 'corelib', 'leg', 'peg'])
RunCommand(*test_cmd, verbose=True)
+
leg_test_dir = os.path.join('leg', 'tests')
for current_dir, directories, filenames in os.walk(leg_test_dir):
for filename in filenames:
« no previous file with comments | « dart/frog/leg/typechecker.dart ('k') | dart/tests/corelib/corelib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698