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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java

Issue 9346021: Turn off code generation in dartc by default, soon to be static analysis only (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Feedback from scheglov Created 8 years, 10 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
Index: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java
index 680108d410d6095e20ac96276d827dc9aa7897e8..d490f4bae0da0450cbb02ae3bf78ab4b3ad3986b 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java
@@ -8,6 +8,7 @@ import static com.google.dart.compiler.DartCompiler.EXTENSION_DEPS;
import static com.google.dart.compiler.backend.js.AbstractJsBackend.EXTENSION_APP_JS;
import static com.google.dart.compiler.backend.js.AbstractJsBackend.EXTENSION_JS;
+import com.google.dart.compiler.CommandLineOptions.CompilerOptions;
import com.google.dart.compiler.CompilerTestCase;
import com.google.dart.compiler.DartCompiler;
import com.google.dart.compiler.DartCompilerListener;
@@ -64,7 +65,15 @@ public class IncrementalCompilationWithPrefixTest extends CompilerTestCase {
@Override
protected void setUp() throws Exception {
- config = new DefaultCompilerConfiguration(new JavascriptBackend()) {
+ CompilerOptions compilerOptions = new CompilerOptions() {
+ // TODO(zundel): update this test not to rely on code generation
+ @Override
+ public boolean checkOnly() {
+ return false;
+ }
+ };
+ config = new DefaultCompilerConfiguration(new JavascriptBackend(),
+ compilerOptions) {
@Override
public boolean incremental() {
return true;

Powered by Google App Engine
This is Rietveld 408576698