[Test] Move KotlinAgainstKotlin tests under BlackBoxCodegen tests

This commit is contained in:
Dmitriy Novozhilov
2021-01-22 15:13:50 +03:00
parent 1ea4fa4464
commit 5c8d555808
147 changed files with 3749 additions and 2743 deletions
@@ -97,7 +97,12 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
testClass<AbstractLightAnalysisModeTest> {
// "ranges/stepped" is excluded because it contains hundreds of generated tests and only have a box() method.
// There isn't much to be gained from running light analysis tests on them.
model("codegen/box", targetBackend = TargetBackend.JVM, skipIgnored = true, excludeDirs = listOf("ranges/stepped"))
model(
"codegen/box",
targetBackend = TargetBackend.JVM,
skipIgnored = true,
excludeDirs = listOf("ranges/stepped", "compileKotlinAgainstKotlin")
)
}
testClass<AbstractKapt3BuilderModeBytecodeShapeTest> {
@@ -263,10 +268,6 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
)
}
testClass<AbstractCompileKotlinAgainstKotlinTest> {
model("compileKotlinAgainstKotlin")
}
testClass<AbstractCompileKotlinAgainstKotlinJdk15Test> {
model("compileKotlinAgainstKotlinJdk15")
}
@@ -403,15 +404,12 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
)
}
testClass<AbstractIrCompileKotlinAgainstKotlinTest> {
model("compileKotlinAgainstKotlin", targetBackend = TargetBackend.JVM_IR)
}
testClass<AbstractJvmIrAgainstOldBoxTest> {
model("compileKotlinAgainstKotlin", targetBackend = TargetBackend.JVM_MULTI_MODULE_IR_AGAINST_OLD)
model("codegen/box/compileKotlinAgainstKotlin", targetBackend = TargetBackend.JVM_MULTI_MODULE_IR_AGAINST_OLD)
}
testClass<AbstractJvmOldAgainstIrBoxTest> {
model(
"compileKotlinAgainstKotlin",
"codegen/box/compileKotlinAgainstKotlin",
targetBackend = TargetBackend.JVM_MULTI_MODULE_OLD_AGAINST_IR
)
}
@@ -501,10 +499,6 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
testClass<AbstractFirBlackBoxAgainstJavaCodegenTest> {
model("codegen/boxAgainstJava", targetBackend = TargetBackend.JVM_IR, excludeDirs = listOf("oldLanguageVersions"))
}
testClass<AbstractFirCompileKotlinAgainstKotlinTest> {
model("compileKotlinAgainstKotlin", targetBackend = TargetBackend.JVM_IR)
}
}
testGroup(