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

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

Issue 17619013: Bugfix: make the new compilation artifact layout also work with dart2dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
« tools/testing/dart/test_runner.dart ('K') | « tools/testing/dart/test_runner.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 c995b06563c4e17cd4a69eb2a84b994ba3cb19bf..709c168d8ab3666fbe55c6c3cbbf295756d4be34 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -779,7 +779,7 @@ class StandardTestSuite extends TestSuite {
String tempDir = createOutputDirectory(info.filePath, '');
var compiledFile = '$tempDir/out-${configuration['runtime']}.dart';
var compiledShadowFile = '$tempDir/out_shadow.dart';
- args.add('--out=$tempDir/out.dart');
+ args.add('--out=$compiledFile');
List<Command> commands =
<Command>[new CompilationCommand(compiledFile,
@@ -795,7 +795,7 @@ class StandardTestSuite extends TestSuite {
// TODO(antonm): support checked.
var vmArguments = new List.from(vmOptions);
vmArguments.addAll([
- '--ignore-unrecognized-flags', '$tempDir/out.dart']);
+ '--ignore-unrecognized-flags', compiledFile]);
commands.add(new Command(vmFileName, vmArguments));
} else {
throw 'Unsupported runtime ${configuration["runtime"]} for dart2dart';
« tools/testing/dart/test_runner.dart ('K') | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698