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

Unified Diff: tools/coverage.dart

Issue 51043004: Remove uses of Options from tools directory. Fix platform_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/platform_test.dart ('k') | tools/ddbg.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/coverage.dart
diff --git a/tools/coverage.dart b/tools/coverage.dart
index 9958e4387830a034f30f180ffdbb0ab95e275af5..d024dfeacaefa65d8d229cfa0def0c59171dc63b 100644
--- a/tools/coverage.dart
+++ b/tools/coverage.dart
@@ -523,10 +523,9 @@ class JsonBuffer {
}
-void main() {
- var options = new Options();
+void main(List<String> arguments) {
var targetOpts = [ "--debug:0" ];
- for (String str in options.arguments) {
+ for (String str in arguments) {
switch (str) {
case "--verbose":
showDebuggeeOutput = true;
@@ -540,7 +539,7 @@ void main() {
}
}
- Process.start(options.executable, targetOpts).then((Process process) {
+ Process.start(Platform.executable, targetOpts).then((Process process) {
process.stdin.close();
debugger = new Debugger(process);
});
« no previous file with comments | « tests/standalone/io/platform_test.dart ('k') | tools/ddbg.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698