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

Unified Diff: tools/test.dart

Issue 8547012: Various test script changes: (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 | « samples/tests/samples/test_config.dart ('k') | tools/testing/dart/test_options.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 81183ff4875cc277bd22f488efc70dfe84049ecd..7034055602ef2a822627ee75a25b56854f24d11e 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -15,6 +15,7 @@
#import("../tests/standalone/test_config.dart");
#import("../tests/stub-generator/test_config.dart");
#import("../runtime/tests/vm/test_config.dart");
+#import("../samples/tests/samples/test_config.dart");
// TODO(ager): This activity tracking is temporary until stdout is
// closed implicitly when nothing more can happen.
@@ -36,7 +37,7 @@ void exitIfLastActivity() {
}
main() {
- var start_time = new Date.now();
+ var startTime = new Date.now();
var optionsParser = new TestOptionsParser();
var configurations = optionsParser.parse(new Options().arguments);
if (configurations == null) return;
@@ -45,10 +46,12 @@ main() {
var firstConf = configurations[0];
var queue = new ProcessQueue(firstConf['tasks'],
firstConf['progress'],
- start_time,
+ startTime,
exitIfLastActivity);
for (var conf in configurations) {
activityStarted();
+ new SamplesTestSuite(conf).forEachTest(queue.runTest, activityCompleted);
+ activityStarted();
new StandaloneTestSuite(conf).forEachTest(queue.runTest, activityCompleted);
activityStarted();
new CorelibTestSuite(conf).forEachTest(queue.runTest, activityCompleted);
« no previous file with comments | « samples/tests/samples/test_config.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698