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

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

Issue 2881833003: Reuse -cdartk for vm testing with Dart Frontend parser. (Closed)
Patch Set: Remove dependency on https://codereview.chromium.org/2881953002. Created 3 years, 7 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 | « tools/testing/dart/test_configurations.dart ('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 c95ad9474769c884a7247c645d7d18700adbd2d6..45073820d538baa26aa6628c9c62abde0bef653e 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -472,6 +472,12 @@ class CCTestSuite extends TestSuite {
var expectations = testExpectations.expectations('$testPrefix$testName');
var args = TestUtils.standardOptions(configuration);
+ var compilerConfiguration = new CompilerConfiguration(configuration);
+ if (compilerConfiguration.useDFE) {
+ args.add('--use-dart-frontend');
+ // '--dfe' has to be the first argument for run_vm_test to pick it up.
+ args.insert(0, '--dfe=$buildDir/gen/kernel-service.dart.snapshot');
+ }
args.add(testName);
var command = CommandBuilder.instance.getProcessCommand(
« no previous file with comments | « tools/testing/dart/test_configurations.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698