| Index: dart/tools/testing/dart/test_runner.dart
|
| diff --git a/dart/tools/testing/dart/test_runner.dart b/dart/tools/testing/dart/test_runner.dart
|
| index 30f52598461eb611daf9e3f169de496a73753d49..4c7498d849336a91554987b3db40bf4456f8bd1a 100644
|
| --- a/dart/tools/testing/dart/test_runner.dart
|
| +++ b/dart/tools/testing/dart/test_runner.dart
|
| @@ -785,8 +785,13 @@ class RunningProcess {
|
| void processExitHandler(int returnCode) {
|
| commandCompleteHandler(command, returnCode);
|
| }
|
| -
|
| - Future processFuture = Process.start(command.executable, command.arguments);
|
| + ProcessOptions options = new ProcessOptions();
|
| + options.environment = new Map<String, String>.from(Platform.environment);
|
| + options.environment['DART_CONFIGURATION'] =
|
| + TestUtils.configurationDir(testCase.configuration);
|
| + Future processFuture = Process.start(command.executable,
|
| + command.arguments,
|
| + options);
|
| processFuture.then((Process p) {
|
| process = p;
|
| process.onExit = processExitHandler;
|
|
|