| Index: tests/compiler/dart2js/quarantined/http_test.dart
|
| diff --git a/tests/compiler/dart2js/quarantined/http_test.dart b/tests/compiler/dart2js/quarantined/http_test.dart
|
| index cdb1348ff9e45a69f94ae1dcde22268840dc1ac8..328cea36a7476eef0287783188333a811dde8e11 100644
|
| --- a/tests/compiler/dart2js/quarantined/http_test.dart
|
| +++ b/tests/compiler/dart2js/quarantined/http_test.dart
|
| @@ -15,7 +15,9 @@ import 'package:async_helper/async_helper.dart';
|
| import 'package:expect/expect.dart';
|
| import 'package:path/path.dart' as path;
|
|
|
| -Uri pathOfData = Platform.script.resolve('../http_launch_data/');
|
| +import '../launch_helper.dart' show launchDart2Js;
|
| +
|
| +Uri pathOfData = Platform.script.resolve('http_launch_data/');
|
| Directory tempDir;
|
| String outFilePath;
|
|
|
| @@ -39,14 +41,6 @@ Future handleRequest(HttpRequest request) {
|
| });
|
| }
|
|
|
| -Future launchDart2Js(args) {
|
| - String ext = Platform.isWindows ? '.bat' : '';
|
| - String command =
|
| - path.normalize(path.join(path.fromUri(Platform.script),
|
| - '../../../../../sdk/bin/dart2js${ext}'));
|
| - return Process.run(command, args);
|
| -}
|
| -
|
| void check(ProcessResult result) {
|
| Expect.equals(0, result.exitCode);
|
| File outFile = new File(outFilePath);
|
|
|