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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 9967022: make configurations like frog-none do the right thing: call frog, but don't (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « frog/frog.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index fa06f77db9a157e6b77b55d65faaa6d671bbfd41..c259a89714eb5f7d373465b834ed10145248b890 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -808,6 +808,12 @@ class StandardTestSuite implements TestSuite {
args.add('--error_format');
args.add('machine');
}
+ if ((configuration['compiler'] == 'frog'
+ || configuration['compiler'] == 'frogsh'
+ || configuration['compiler'] == 'dart2js')
+ && (configuration['runtime'] == 'none')) {
+ args.add('--compile-only');
+ }
bool isMultitest = optionsFromFile["isMultitest"];
List<String> dartOptions = optionsFromFile["dartOptions"];
« no previous file with comments | « frog/frog.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698