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

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

Issue 2895153005: Revert "Revert "With this change 'tools/test.py -cdartk vm' will run vm tests with Dart Frontend pa… (Closed)
Patch Set: Update test status 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 cc741897fe91378f46760f33885c3947e0848713..08362f36542656717f986f372c4cf43de31e5247 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -473,6 +473,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