| Index: dart/tools/testing/dart/test_suite.dart
|
| diff --git a/dart/tools/testing/dart/test_suite.dart b/dart/tools/testing/dart/test_suite.dart
|
| index e02cffb3c19e6ff7b43d74226576a330723f0bcb..5d87e470b3cde9fe756ce342659076219216465e 100644
|
| --- a/dart/tools/testing/dart/test_suite.dart
|
| +++ b/dart/tools/testing/dart/test_suite.dart
|
| @@ -1262,6 +1262,10 @@ class StandardTestSuite extends TestSuite {
|
| 'More than one "// PackageRoot=" line in test $filePath');
|
| }
|
| packageRoot = match[1];
|
| + if (packageRoot != 'none') {
|
| + // PackageRoot=none means that no package-root option should be given.
|
| + packageRoot = '${filePath.directoryPath.join(new Path(packageRoot))}';
|
| + }
|
| }
|
|
|
| matches = staticCleanRegExp.allMatches(contents);
|
|
|