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

Side by Side Diff: tools/testing/dart/test_options.dart

Issue 11088084: Revert r13569 "Automagically start up selenium server for Safari." Seems to be (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library("test_options_parser"); 5 #library("test_options_parser");
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 #import("dart:math"); 8 #import("dart:math");
9 #import("drt_updater.dart"); 9 #import("drt_updater.dart");
10 #import("test_suite.dart"); 10 #import("test_suite.dart");
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 configuration['progress'] = 'verbose'; 465 configuration['progress'] = 'verbose';
466 } 466 }
467 467
468 // Create the artificial 'unchecked' options that test status files 468 // Create the artificial 'unchecked' options that test status files
469 // expect. 469 // expect.
470 configuration['unchecked'] = !configuration['checked']; 470 configuration['unchecked'] = !configuration['checked'];
471 configuration['host_unchecked'] = !configuration['host_checked']; 471 configuration['host_unchecked'] = !configuration['host_checked'];
472 472
473 String runtime = configuration['runtime']; 473 String runtime = configuration['runtime'];
474 if (runtime == 'firefox') { 474 if (runtime == 'firefox') {
475 // We accept the user string "firefox" or "ff" to denote the Firefox
476 // browser.
477 configuration['runtime'] == 'ff'; 475 configuration['runtime'] == 'ff';
478 } 476 }
479 477
478 configuration['browser'] = TestUtils.isBrowserRuntime(runtime);
479
480 // Set the javascript command line flag for less verbose status files. 480 // Set the javascript command line flag for less verbose status files.
481 configuration['jscl'] = TestUtils.isJsCommandLineRuntime(runtime); 481 configuration['jscl'] = TestUtils.isJsCommandLineRuntime(runtime);
482 482
483 // Expand the test selectors into a suite name and a simple 483 // Expand the test selectors into a suite name and a simple
484 // regular expressions to be used on the full path of a test file 484 // regular expressions to be used on the full path of a test file
485 // in that test suite. If no selectors are explicitly given use 485 // in that test suite. If no selectors are explicitly given use
486 // the default suite patterns. 486 // the default suite patterns.
487 var selectors = configuration['selectors']; 487 var selectors = configuration['selectors'];
488 if (selectors is !Map) { 488 if (selectors is !Map) {
489 if (selectors == null) { 489 if (selectors == null) {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 return option; 647 return option;
648 } 648 }
649 } 649 }
650 print('Unknown test option $name'); 650 print('Unknown test option $name');
651 exit(1); 651 exit(1);
652 } 652 }
653 653
654 654
655 List<_TestOptionSpecification> _options; 655 List<_TestOptionSpecification> _options;
656 } 656 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698