| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index 5c0852761a1d16c824a2e9f5383f9c7ad8cd6570..5016e41c4e817ecb3b8067602dc7bf6f47470ac7 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -281,16 +281,18 @@ class StandardTestSuite implements TestSuite {
|
|
|
| class TestUtils {
|
| static String executableName(Map configuration) {
|
| + String postfix =
|
| + (new Platform().operatingSystem() == 'windows') ? '.exe' : '';
|
| switch (configuration['component']) {
|
| case 'vm':
|
| - return 'dart';
|
| + return 'dart$postfix';
|
| case 'dartc':
|
| - return 'compiler/bin/dartc_test';
|
| + return 'compiler/bin/dartc_test$postfix';
|
| case 'frog':
|
| case 'leg':
|
| - return 'frog/bin/frog';
|
| + return 'frog/bin/frog$postfix';
|
| case 'frogsh':
|
| - return 'frog/bin/frogsh';
|
| + return 'frog/bin/frogsh$postfix';
|
| default:
|
| throw "Unknown executable for: ${configuration['component']}";
|
| }
|
|
|