Chromium Code Reviews| Index: tools/testing/dart/test_suite.dart |
| =================================================================== |
| --- tools/testing/dart/test_suite.dart (revision 5355) |
| +++ tools/testing/dart/test_suite.dart (working copy) |
| @@ -528,6 +528,9 @@ |
| List<String> otherScripts = optionsFromFile['otherScripts']; |
| for (String name in otherScripts) { |
| int end = filename.lastIndexOf('/'); |
| + if (new Platform().operatingSystem() == 'windows' && end == -1) { |
|
Siggi Cherem (dart-lang)
2012/03/12 20:44:08
seems odd though - the filenames come from a strin
|
| + end = filename.lastIndexOf('\\'); |
| + } |
| if (end == -1) { |
| print('Warning: error processing "OtherScripts" of $filename.'); |
| print('Skipping test ($testName).'); |