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

Unified Diff: lib/src/runner/loader.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/engine.dart ('k') | lib/src/runner/reporter/json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/loader.dart
diff --git a/lib/src/runner/loader.dart b/lib/src/runner/loader.dart
index 9f74b952355158f78cb0c17b717e3c4498fae7d3..608a7b929d9a68456a69032ae4712f2d4f89b495 100644
--- a/lib/src/runner/loader.dart
+++ b/lib/src/runner/loader.dart
@@ -10,6 +10,7 @@ import 'package:async/async.dart';
import 'package:path/path.dart' as p;
import '../backend/group.dart';
+import '../backend/invoker.dart';
import '../backend/metadata.dart';
import '../backend/test_platform.dart';
import '../util/io.dart';
@@ -136,10 +137,12 @@ class Loader {
var metadata = suiteMetadata.forPlatform(platform, os: currentOS);
// Don't load a skipped suite.
- if (metadata.skip) {
+ if (metadata.skip && !_config.runSkipped) {
yield new LoadSuite.forSuite(new RunnerSuite(
const PluginEnvironment(),
- new Group.root([], metadata: metadata),
+ new Group.root(
+ [new LocalTest("(suite)", metadata, () {})],
+ metadata: metadata),
path: path, platform: platform));
continue;
}
« no previous file with comments | « lib/src/runner/engine.dart ('k') | lib/src/runner/reporter/json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698