Chromium Code Reviews| Index: tools/testing/dart/test_suite.dart |
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
| index 906731d5436dde8aa9c4e0f22395892ec9995e01..e74314f247d3df0ecec5a1ff6c8a63cdc0b78916 100644 |
| --- a/tools/testing/dart/test_suite.dart |
| +++ b/tools/testing/dart/test_suite.dart |
| @@ -351,7 +351,8 @@ class StandardTestSuite implements TestSuite { |
| final String component = configuration['component']; |
| final String testPath = new File(filename).fullPathSync(); |
| String dartDir = new File('.').fullPathSync(); |
| - if (!testPath.startsWith(dartDir)) { |
| + if (!testPath.startsWith(dartDir) || |
| + dartDir.endsWith('/frog')) { |
|
ahe
2012/01/06 15:23:06
This looks like a hack, but I guess you know what
|
| dartDir = new File('..').fullPathSync(); |
| if (!testPath.startsWith(dartDir)) { |
| print('Run test.dart from the dart directory or' + |