Move multi-module IC tests to separate dir

At the moment they are used only with JPS
This commit is contained in:
Alexey Tsvetkov
2017-07-13 07:40:44 +03:00
parent 166883d847
commit 23bc907d3f
42 changed files with 30 additions and 30 deletions
@@ -0,0 +1,42 @@
================ Step #1 =================
Building module1
Cleaning output files:
out/production/module1/foo/A.class
End of files
Compiling files:
module1/src/A.kt
End of files
Marked as dirty by Kotlin:
module2/src/createADefault.kt
module2/src/createANonDefault.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Exit code: NOTHING_DONE
------------------------------------------
Building module2
Cleaning output files:
out/production/module2/META-INF/module2.kotlin_module
out/production/module2/foo/CreateADefaultKt.class
out/production/module2/foo/CreateANonDefaultKt.class
End of files
Compiling files:
module2/src/createADefault.kt
module2/src/createANonDefault.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
No value passed for parameter 'x'
================ Step #2 =================
Building module1
Exit code: NOTHING_DONE
------------------------------------------
Building module2
Compiling files:
module2/src/createANonDefault.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,2 @@
module1->
module2->module1
@@ -0,0 +1,3 @@
package foo
class A(x: Int = 10)
@@ -0,0 +1,3 @@
package foo
class A(x: Int)
@@ -0,0 +1,5 @@
package foo
fun createADefault() {
A()
}
@@ -0,0 +1,5 @@
package foo
fun createANonDefault() {
A(20)
}