| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index fc10fb4681bd01c2fa39522df3bfc69449bc40da..0965801832982f6ec6eff969e2f8d615728acdb3 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -662,12 +662,14 @@ class StandardTestSuite implements TestSuite {
|
| expectedOutput = txtPath;
|
| content = getHtmlLayoutContents(scriptType, '$filePrefix$scriptPath');
|
| } else {
|
| + final htmlLocation = new Path.fromNative(htmlPath);
|
| content = getHtmlContents(
|
| filename,
|
| - '$filePrefix${dartDir.append("pkg/unittest/test_controller.js")}',
|
| - '$filePrefix${dartDir.append("client/dart.js")}',
|
| + dartDir.append('pkg/unittest/test_controller.js')
|
| + .relativeTo(htmlLocation),
|
| + dartDir.append('client/dart.js').relativeTo(htmlLocation),
|
| scriptType,
|
| - '$filePrefix$scriptPath');
|
| + new Path.fromNative(scriptPath).relativeTo(htmlLocation));
|
| }
|
| htmlTest.writeStringSync(content);
|
| htmlTest.closeSync();
|
|
|