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

Unified Diff: tools/testing/dart/test_options.dart

Issue 521773003: Add language tests for Issue 18628. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address @karlklose's comments. Created 6 years, 3 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 | « tools/test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_options.dart
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
index f5259d7e9639e8916f411fab7a37e6174be7a6ab..ad4cccf1a477af979bd37cba8c2b150bff619905 100644
--- a/tools/testing/dart/test_options.dart
+++ b/tools/testing/dart/test_options.dart
@@ -823,7 +823,13 @@ Note: currently only implemented for dart2js.''',
* Print out usage information.
*/
void _printHelp() {
- print('usage: dart test.dart [options]\n');
+ print('usage: dart test.dart [options] [selector]');
+ print('');
+ print('The optional selector limits the tests that will be run.');
+ print('For example, the selector "language/issue", or equivalently');
+ print('"language/*issue*", limits to test files matching the regexp');
+ print('".*issue.*\\.dart" in the "tests/language" directory.');
+ print('');
print('Options:\n');
for (var option in _options) {
print('${option.name}: ${option.description}.');
« no previous file with comments | « tools/test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698