Always run codegen when IC is enabled

We may need to run code generation when no source files are specified
for incremental compilation (to update caches & metadata)
This commit is contained in:
Alexey Tsvetkov
2019-03-05 15:36:06 +03:00
parent 5b7cee6221
commit 97d3d38374
8 changed files with 45 additions and 8 deletions
@@ -101,6 +101,11 @@ public class IncrementalJsCompilerRunnerTestGenerated extends AbstractIncrementa
runTest("jps-plugin/testData/incremental/pureKotlin/classRecreated/");
}
@TestMetadata("classRemoved")
public void testClassRemoved() throws Exception {
runTest("jps-plugin/testData/incremental/pureKotlin/classRemoved/");
}
@TestMetadata("classSignatureChanged")
public void testClassSignatureChanged() throws Exception {
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureChanged/");
@@ -101,6 +101,11 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
runTest("jps-plugin/testData/incremental/pureKotlin/classRecreated/");
}
@TestMetadata("classRemoved")
public void testClassRemoved() throws Exception {
runTest("jps-plugin/testData/incremental/pureKotlin/classRemoved/");
}
@TestMetadata("classSignatureChanged")
public void testClassSignatureChanged() throws Exception {
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureChanged/");