Chromium Code Reviews| Index: tools/testing/dart/test_suite.dart |
| =================================================================== |
| --- tools/testing/dart/test_suite.dart (revision 5906) |
| +++ tools/testing/dart/test_suite.dart (working copy) |
| @@ -519,7 +519,7 @@ |
| // Construct the command(s) that compile all the inputs needed by the |
| // browser test. For running Dart in DRT, this will be noop commands. |
| List<Command> commands = []; |
| - if (compiler != 'none' || runtime == 'drt') { |
| + if (compiler != 'none' && runtime != 'drt') { |
|
Siggi Cherem (dart-lang)
2012/03/27 21:23:43
it seems to me that here we simply want compiler !
|
| commands.add(_compileCommand( |
| dartWrapperFilename, compiledDartWrapperFilename, |
| compiler, tempDir.path, vmOptions)); |