| Index: tools/testing/dart/multitest.dart
|
| diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart
|
| index c98aae642aa7d15af589122c4198e6168cc72fd4..ba59972a5f825b58f7ed825cf4c602258d1e05eb 100644
|
| --- a/tools/testing/dart/multitest.dart
|
| +++ b/tools/testing/dart/multitest.dart
|
| @@ -215,7 +215,9 @@ void DoMultitest(Path filePath,
|
| for (Path importPath in importsToCopy) {
|
| // Make sure the target directory exists.
|
| Path importDir = importPath.directoryPath;
|
| - TestUtils.mkdirRecursive(targetDir, importDir);
|
| + if (!importDir.isEmpty) {
|
| + TestUtils.mkdirRecursive(targetDir, importDir);
|
| + }
|
| // Copy file.
|
| futureCopies.add(TestUtils.copyFile(sourceDir.join(importPath),
|
| targetDir.join(importPath)));
|
|
|