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

Unified Diff: lib/src/runner/configuration/args.dart

Issue 2099553002: Add an option to run skipped tests. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 years, 5 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 | « lib/src/runner/configuration.dart ('k') | lib/src/runner/configuration/load.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/configuration/args.dart
diff --git a/lib/src/runner/configuration/args.dart b/lib/src/runner/configuration/args.dart
index e5c2cd271f87c346783df8278a8114149a6cdb43..84f59b6c82ee5d4293ae2d16e7d04397ab0e8d7a 100644
--- a/lib/src/runner/configuration/args.dart
+++ b/lib/src/runner/configuration/args.dart
@@ -56,6 +56,8 @@ final ArgParser _parser = (() {
"Supports boolean selector syntax.",
allowMultiple: true);
parser.addOption("exclude-tag", hide: true, allowMultiple: true);
+ parser.addFlag("run-skipped",
+ help: 'Run skipped tests instead of skipping them.');
parser.addSeparator("======== Running Tests");
parser.addOption("platform",
@@ -203,6 +205,7 @@ class _Parser {
patterns: patterns,
platforms: (_ifParsed('platform') as List<String>)
?.map(TestPlatform.find),
+ runSkipped: _ifParsed('run-skipped'),
chosenPresets: _ifParsed('preset') as List<String>,
paths: _options.rest.isEmpty ? null : _options.rest,
includeTags: includeTags,
« no previous file with comments | « lib/src/runner/configuration.dart ('k') | lib/src/runner/configuration/load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698