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)

Original commit: 97d3d38374
This commit is contained in:
Alexey Tsvetkov
2019-03-05 15:36:06 +03:00
parent cc74d63a98
commit d7b2901448
5 changed files with 23 additions and 0 deletions
@@ -752,6 +752,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
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/");
@@ -0,0 +1,3 @@
package test
class A
@@ -0,0 +1,10 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/test/A.class
End of files
Compiling files:
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,4 @@
package test
fun other() {
}