Chromium Code Reviews| Index: tools/testing/dart/test_options.dart |
| =================================================================== |
| --- tools/testing/dart/test_options.dart (revision 13209) |
| +++ tools/testing/dart/test_options.dart (working copy) |
| @@ -88,6 +88,8 @@ |
| d8: Run JavaScript from the command line using v8. |
| + jsshell: Run JavaScript from the command line using firefox js-shell. |
| + |
| drt: Run Dart or JavaScript in the headless version of Chrome, |
| DumpRenderTree. |
| @@ -99,8 +101,8 @@ |
| none: No runtime, compile only (for example, used for dartc static analysis |
| tests).''', |
| ['-r', '--runtime'], |
| - ['vm', 'd8', 'drt', 'dartium', 'ff', 'firefox', 'chrome', |
| - 'safari', 'ie', 'opera', 'none'], |
| + ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox', |
| + 'chrome', 'safari', 'ie', 'opera', 'none'], |
| 'vm'), |
| new _TestOptionSpecification( |
| 'arch', |
| @@ -395,7 +397,7 @@ |
| // runs test.py -c dart2js -r drt,none the dart2js_none and |
| // dart2js_drt will be duplicating work. If later we don't need 'none' |
| // with dart2js, we should remove it from here. |
| - validRuntimes = const ['d8', 'drt', 'none', 'dartium', |
| + validRuntimes = const ['d8', 'jsshell', 'drt', 'none', 'dartium', |
| 'ff', 'chrome', 'safari', 'ie', 'opera']; |
| break; |
| case 'dartc': |
| @@ -477,6 +479,11 @@ |
| configuration['browser'] = true; |
|
Mads Ager (google)
2012/10/04 11:33:35
Can we rewrite these so that these keys are always
ricow1
2012/10/04 12:02:05
Done.
|
| } |
| + if (TestUtils.isCommandLineRuntime(runtime)) { |
|
ahe
2012/10/04 13:12:26
isJsCommandLineRuntime?
ricow1
2012/10/04 13:19:42
Yes, that is better, thx
|
| + // Set the javascript command line flag for less verbose status files. |
| + configuration['jscl'] = true; |
| + } |
| + |
| // Expand the test selectors into a suite name and a simple |
| // regular expressions to be used on the full path of a test file |
| // in that test suite. If no selectors are explicitly given use |