Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index 751cbcf27344ab6824234bb76ae69fcc98a6ef69..887f82dd33adf26efeafc0426b12f55a52aad1c3 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -1125,7 +1125,7 @@ class StandardTestSuite extends TestSuite { |
} |
scriptPath = _createUrlPathFromFile(new Path(scriptPath)); |
- if (configuration.compiler == Compiler.dart2js) { |
+ if (configuration.compiler != Compiler.dartdevc) { |
content = getHtmlContents(fileName, scriptType, scriptPath); |
} else { |
var jsDir = new Path(compilationTempDir) |
@@ -1149,6 +1149,9 @@ class StandardTestSuite extends TestSuite { |
'$compilationTempDir/$nameNoExt.js', optionsFromFile)); |
break; |
+ case Compiler.none: |
+ break; |
+ |
default: |
assert(false); |
} |