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

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

Issue 11098075: Automagically start up selenium server for Safari. (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 configuration['runtime'] == 'ff'; 475 configuration['runtime'] == 'ff';
gram 2012/10/11 18:22:05 Can you put a comment here to explain why the name
Emily Fortuna 2012/10/11 18:24:33 Done.
476 } 476 }
477 477
478 configuration['browser'] = TestUtils.isBrowserRuntime(runtime);
479
480 // Set the javascript command line flag for less verbose status files. 478 // Set the javascript command line flag for less verbose status files.
481 configuration['jscl'] = TestUtils.isJsCommandLineRuntime(runtime); 479 configuration['jscl'] = TestUtils.isJsCommandLineRuntime(runtime);
482 480
483 // Expand the test selectors into a suite name and a simple 481 // 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 482 // 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 483 // in that test suite. If no selectors are explicitly given use
486 // the default suite patterns. 484 // the default suite patterns.
487 var selectors = configuration['selectors']; 485 var selectors = configuration['selectors'];
488 if (selectors is !Map) { 486 if (selectors is !Map) {
489 if (selectors == null) { 487 if (selectors == null) {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 return option; 645 return option;
648 } 646 }
649 } 647 }
650 print('Unknown test option $name'); 648 print('Unknown test option $name');
651 exit(1); 649 exit(1);
652 } 650 }
653 651
654 652
655 List<_TestOptionSpecification> _options; 653 List<_TestOptionSpecification> _options;
656 } 654 }
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