Add JVM ABI K1/K2 consistency tests

This commit is contained in:
vladislav.grechko
2023-12-26 10:18:19 +00:00
committed by Space Team
parent 5a1fb78fcd
commit 34bac48541
1104 changed files with 88413 additions and 66 deletions
@@ -80,6 +80,24 @@ fun generateJUnit5CompilerTests(args: Array<String>, mainClassName: String?) {
model("codegen/box", excludeDirs = k2BoxTestDir)
}
// We split JVM ABI tests into two parts, to avoid creation of a huge file, unable to analyze by IntelliJ with default settings
testClass<AbstractJvmAbiConsistencyTest>("JvmAbiConsistencyTestBoxGenerated") {
model("codegen/box", excludeDirs = k2BoxTestDir)
}
testClass<AbstractJvmAbiConsistencyTest>("JvmAbiConsistencyTestRestGenerated") {
model("codegen/boxInline")
model("codegen/boxModernJdk")
model("codegen/bytecodeText")
model("codegen/bytecodeListing")
model("codegen/composeLike")
model("codegen/composeLikeBytecodeText")
model("codegen/defaultArguments")
model("codegen/dumpDeclarations")
model("codegen/script", pattern = "^(.*)\\.kts?$", excludedPattern = excludedCustomTestdataPattern)
}
testClass<AbstractIrBlackBoxCodegenWithIrInlinerTest> {
model("codegen/box", excludeDirs = k2BoxTestDir)
}