| Index: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
|
| index 3ea5e90495bfc30b687a1f1c4c50617cd4225628..532f69f7a0d922f7bdb71643b6840981cd907c4f 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
|
| @@ -10,6 +10,7 @@ import static com.google.dart.compiler.common.ErrorExpectation.assertErrors;
|
| import static com.google.dart.compiler.common.ErrorExpectation.errEx;
|
|
|
| import com.google.common.collect.Lists;
|
| +import com.google.dart.compiler.CommandLineOptions.CompilerOptions;
|
| import com.google.dart.compiler.CompilerTestCase;
|
| import com.google.dart.compiler.DartCompilationError;
|
| import com.google.dart.compiler.DartCompiler;
|
| @@ -72,7 +73,15 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
|
|
|
| @Override
|
| protected void setUp() throws Exception {
|
| - config = new DefaultCompilerConfiguration(new JavascriptBackend()) {
|
| + CompilerOptions compilerOptions = new CompilerOptions() {
|
| + // TODO(zundel): Update these tests to run without requiring code generation
|
| + @Override
|
| + public boolean checkOnly() {
|
| + return false;
|
| + }
|
| + };
|
| + config = new DefaultCompilerConfiguration(new JavascriptBackend(),
|
| + compilerOptions) {
|
| @Override
|
| public boolean incremental() {
|
| return true;
|
|
|