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

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
Index: dart/frog/presubmit.py
===================================================================
--- dart/frog/presubmit.py (revision 1186)
+++ dart/frog/presubmit.py (working copy)
@@ -70,6 +70,11 @@
else:
test_cmd.extend(['language', 'corelib', 'leg', 'peg'])
RunCommand(*test_cmd, verbose=True)
+
+ print 'Running tests on leg'
+ test_cmd[1] = '--component=leg'
kasperl 2011/11/04 10:13:00 This seems easy to break. Maybe long-term this cou
ngeoffray 2011/11/04 10:16:44 I can actually just add leg as a component line 65
kasperl 2011/11/04 10:21:01 Much better.
+ 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:

Powered by Google App Engine
This is Rietveld 408576698