Remove tests on -Xuse-ir compiler flag

This flag is going to be removed because old backend is not supported
anymore, therefore there's no need to test it.
This commit is contained in:
Alexander Udalov
2023-05-19 16:54:29 +02:00
committed by Space Team
parent 22096cec3c
commit bb4bb58453
61 changed files with 24 additions and 429 deletions
@@ -74,7 +74,7 @@ class CompilerOptionsProjectIT : KGPBaseTest() {
| apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0
| progressiveMode = true
| optIn.add("my.custom.OptInAnnotation")
| freeCompilerArgs.add("-Xuse-ir")
| freeCompilerArgs.add("-Xdebug")
| }
|}
""".trimMargin()
@@ -105,9 +105,9 @@ class CompilerOptionsProjectIT : KGPBaseTest() {
"Compiler arguments does not contain '-opt-in my.custom.OptInAnnotation': $compilationArgs"
}
assert(compilationArgs.contains("-Xuse-ir")) {
assert(compilationArgs.contains("-Xdebug")) {
printBuildOutput()
"Compiler arguments does not contain '-Xuse-ir': $compilationArgs"
"Compiler arguments does not contain '-Xdebug': $compilationArgs"
}
}
}
@@ -132,7 +132,7 @@ class CompilerOptionsProjectIT : KGPBaseTest() {
| apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0
| progressiveMode = true
| optIn.add("my.custom.OptInAnnotation")
| freeCompilerArgs.add("-Xuse-ir")
| freeCompilerArgs.add("-Xdebug")
| }
|
| sourceSets.all {