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

Unified Diff: tools/test.dart

Issue 12475004: Add dart analyzer test suite 'analyze_library' that fails if we (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
Index: tools/test.dart
diff --git a/tools/test.dart b/tools/test.dart
index 00eb7f1cae6f29c18b3a349b2642f25e967e9961..61b81f23c6be6a64b9447816839bd7c49b8b4f22 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -36,6 +36,7 @@ import "../compiler/tests/dartc/test_config.dart";
import "../runtime/tests/vm/test_config.dart";
import "../samples/tests/dartc/test_config.dart";
import "../tests/co19/test_config.dart";
+import "../tests/lib/analyzer/test_config.dart";
/**
* The directories that contain test suites which follow the conventions
@@ -143,9 +144,14 @@ main() {
// vm tests contain both cc tests (added here) and dart tests (added in
// [TEST_SUITE_DIRECTORIES]).
testSuites.add(new VMTestSuite(conf));
- } else if (conf['compiler'] == 'dartc' && key == 'dartc') {
- testSuites.add(new SamplesDartcTestSuite(conf));
- testSuites.add(new JUnitDartcTestSuite(conf));
+ } else if (conf['compiler'] == 'dartc') {
+ if (key == 'dartc') {
+ testSuites.add(new SamplesDartcTestSuite(conf));
+ testSuites.add(new JUnitDartcTestSuite(conf));
+ }
+ if (key == 'analyze_library') {
+ testSuites.add(new AnalyzeLibraryTestSuite(conf));
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698