512efb9649
The test infrastructure for analysis supports binary module tests, but the binary build does not use another binary module as a dependency when it passes the class path. As a result, each binary module build does not work when they have dependency on each other. This commit fixes the issue by 1. Topological sort in the order of dependency graph for test modules. 2. Pass module paths as extra class paths when they have dependency on each other. ^KT-64994
7 lines
344 B
Plaintext
Vendored
7 lines
344 B
Plaintext
Vendored
MODULE_FRAGMENT
|
|
FILE fqName:<root> fileName:main.kt
|
|
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Int
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun test (): kotlin.Int declared in <root>'
|
|
CALL 'public final fun bar (): kotlin.Int declared in p2' type=kotlin.Int origin=null
|