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

Unified Diff: tools/test-compiler.dart

Issue 9139017: Make test_wrapper.py and test_compiler.dart that will work for a deps.compiler checkout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change name to test-compiler.dart, add comments. Created 8 years, 11 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 | « no previous file | tools/test-runtime.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test-compiler.dart
diff --git a/tools/test-runtime.dart b/tools/test-compiler.dart
old mode 100755
new mode 100644
similarity index 76%
copy from tools/test-runtime.dart
copy to tools/test-compiler.dart
index 4b697c26d45911f058900886c972dcf7b74b3a2d..f5672a9333fc87c6422820368697627ec5669265
--- a/tools/test-runtime.dart
+++ b/tools/test-compiler.dart
@@ -3,14 +3,12 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// TODO(ager): Get rid of this version of test.dart when we don't have
-// to worry about the special runtime checkout anymore.
-
#library("test");
#import("testing/dart/test_runner.dart");
#import("testing/dart/test_options.dart");
+// This file is identical to test.dart with suites in frog and utils removed.
#import("../tests/co19/test_config.dart");
#import("../tests/corelib/test_config.dart");
#import("../tests/isolate/test_config.dart");
@@ -18,6 +16,10 @@
#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");
+#import("../client/tests/dartc/test_config.dart");
+#import("../compiler/tests/dartc/test_config.dart");
+#import("../client/tests/client/test_config.dart");
main() {
var startTime = new Date.now();
@@ -41,6 +43,9 @@ main() {
}
var conf = configurationIterator.next();
+ if (selectors.containsKey('samples')) {
+ queue.addTestSuite(new SamplesTestSuite(conf));
+ }
if (selectors.containsKey('standalone')) {
queue.addTestSuite(new StandaloneTestSuite(conf));
}
@@ -59,8 +64,14 @@ main() {
if (selectors.containsKey('stub-generator')) {
queue.addTestSuite(new StubGeneratorTestSuite(conf));
}
- if (conf['component'] == 'vm' && selectors.containsKey('vm')) {
- queue.addTestSuite(new VMTestSuite(conf));
+ if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) {
+ queue.addTestSuite(new ClientDartcTestSuite(conf));
+ }
+ if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) {
+ queue.addTestSuite(new JUnitDartcTestSuite(conf));
+ }
+ if (selectors.containsKey('client')) {
+ queue.addTestSuite(new ClientTestSuite(conf));
}
return true;
« no previous file with comments | « no previous file | tools/test-runtime.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698