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

Unified Diff: utils/testrunner/options.dart

Issue 46673003: Remove uses of Options from utils directory. (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 | « utils/testrunner/http_server_runner.dart ('k') | utils/testrunner/testrunner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/testrunner/options.dart
diff --git a/utils/testrunner/options.dart b/utils/testrunner/options.dart
index 3d5714f158cc6dd5364bf270083695eb65f19506..94b12de7960065d3bdb24cc01e82e0be484a62ba 100644
--- a/utils/testrunner/options.dart
+++ b/utils/testrunner/options.dart
@@ -195,7 +195,7 @@ printOptions(ArgParser parser, ArgResults arguments,
* current directory, a test config file specified with --configfile on
* the command line, and other arguments specified on the command line.
*/
-ArgResults loadConfiguration(optionsParser) {
+ArgResults loadConfiguration(optionsParser, List<String> commandLineArgs) {
var options = new List();
// We first load options from a test.config file in the working directory.
options.addAll(getFileContents('test.config', false).
@@ -203,7 +203,6 @@ ArgResults loadConfiguration(optionsParser) {
// Next we look to see if the command line included a -testconfig argument,
// and if so, load options from that file too; where these are not
// multi-valued they will take precedence over the ones in test.config.
- var commandLineArgs = new Options().arguments;
var cfgarg = '--configfile';
var cfgarge = '--configfile=';
for (var i = 0; i < commandLineArgs.length; i++) {
« no previous file with comments | « utils/testrunner/http_server_runner.dart ('k') | utils/testrunner/testrunner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698