Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2950173004: Fix compiler==none case in browser testing (Dartium case) (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698