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

Unified Diff: dart/frog/presubmit.py

Issue 8956012: Make --leg-only option work when there are arguments passed to test.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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/client/tests/client/client.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/presubmit.py
diff --git a/dart/frog/presubmit.py b/dart/frog/presubmit.py
index 2b65682e3ed8ee178c04c9a3e584eccaa82bc252..61fb4f4f91cd2d9019389af425ab461ce48d00c6 100755
--- a/dart/frog/presubmit.py
+++ b/dart/frog/presubmit.py
@@ -119,7 +119,10 @@ def main():
if options.notest: return
if args:
- test_cmd.append('--component=frogsh,leg')
+ if options.leg_only:
+ test_cmd.append('--component=leg')
+ else:
+ test_cmd.append('--component=frogsh,leg')
test_cmd.extend(args)
RunCommand(*test_cmd, verbose=True)
else:
« no previous file with comments | « dart/client/tests/client/client.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698