Index: tools/testing/dart/test_options.dart |
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart |
index f84a5601688e88f58738040ff7428a7754d07570..89241626cc6765f51a8a6cc9cc9ec9dc9a8b262e 100644 |
--- a/tools/testing/dart/test_options.dart |
+++ b/tools/testing/dart/test_options.dart |
@@ -121,6 +121,11 @@ class TestOptionsParser { |
[ff | chrome | safari | ie9 | ie10 | ie11 | opera | chromeOnAndroid]: |
Run JavaScript in the specified browser. |
+ self_check: Pass each test or its compiled output to every file under |
+ `pkg` whose name ends with `_self_check.dart`. |
+ Each test is given to the self_check tester as a filename on stdin using |
+ the batch-mode protocol. |
+ |
none: No runtime, compile only (for example, used for dart2analyzer static |
analysis tests).''', |
['-r', '--runtime'], |
@@ -144,6 +149,7 @@ class TestOptionsParser { |
'safarimobilesim', |
'ContentShellOnAndroid', |
'DartiumOnAndroid', |
+ 'self_check', |
'none' |
], |
'vm'), |
@@ -479,6 +485,13 @@ Note: currently only implemented for dart2js.''', |
['--exclude-suite'], |
defaultTestSelectors, |
null), |
+ new _TestOptionSpecification( |
+ 'skip-compilation', |
+ 'Skip the compilation step, using the output from the previous run.', |
Bill Hesse
2016/12/06 14:46:03
I don't understand what "using the output from the
asgerf
2016/12/06 15:41:49
I've added some more text.
If this flag is a seri
|
+ ['--skip-compilation'], |
+ [], |
+ false, |
+ type: 'bool') |
]; |
} |
@@ -697,7 +710,7 @@ Note: currently only implemented for dart2js.''', |
break; |
case 'app_jit': |
case 'dartk': |
- validRuntimes = const ['vm']; |
+ validRuntimes = const ['vm', 'self_check', 'none']; |
break; |
case 'precompiler': |
case 'dartkp': |