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

Unified Diff: tools/test.dart

Issue 8747018: Add the frog test suites to the dart test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « frog/tests/leg_only/test_config.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.dart
diff --git a/tools/test.dart b/tools/test.dart
index 8dd7354f95b80bd2b160d62c8132b947f4fcd30c..29bf6db6df4109eedc07df0fe7ff5d6c37dfbfaa 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -16,6 +16,9 @@
#import("../tests/stub-generator/test_config.dart");
#import("../runtime/tests/vm/test_config.dart");
#import("../samples/tests/samples/test_config.dart");
+#import("../frog/tests/frog/test_config.dart");
+#import("../frog/tests/leg/test_config.dart");
+#import("../frog/tests/leg_only/test_config.dart");
main() {
var startTime = new Date.now();
@@ -38,5 +41,14 @@ main() {
if (conf["component"] == "vm") {
queue.addTestSuite(new VMTestSuite(conf));
}
+ if (conf["patterns"].some((regexp) => regexp.pattern == 'frog')) {
+ queue.addTestSuite(new FrogTestSuite(conf));
+ }
+ if (conf["patterns"].some((regexp) => regexp.pattern == 'leg')) {
+ queue.addTestSuite(new LegTestSuite(conf));
+ }
+ if (conf["patterns"].some((regexp) => regexp.pattern == 'leg_only')) {
+ queue.addTestSuite(new LegOnlyTestSuite(conf));
+ }
}
}
« no previous file with comments | « frog/tests/leg_only/test_config.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698