Update tests after switching to LV 1.9

This commit is contained in:
Dmitriy Novozhilov
2023-01-23 11:34:48 +02:00
committed by Space Team
parent 66544a4e00
commit 88efa6bfb6
279 changed files with 1520 additions and 1239 deletions
@@ -239,17 +239,24 @@ abstract class ExecutionStrategyIT : KGPDaemonsBaseTest() {
}
protected open fun setupProject(project: TestProject) {
project.subProject("app").buildGradle.append(
//language=Groovy
"""
|
|tasks
| .withType(org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile)
| .configureEach {
| kotlinOptions.allWarningsAsErrors = true
| }
""".trimMargin()
)
project.subProject("app").apply {
buildGradle.append(
//language=Groovy
"""
|tasks
| .withType(org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile)
| .configureEach {
| kotlinOptions.allWarningsAsErrors = true
| }
|
|tasks
| .withType(org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile)
| .configureEach {
| kotlinOptions.allWarningsAsErrors = false
| }
""".trimMargin()
)
}
}
protected abstract fun BuildResult.checkOutput(project: TestProject)
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -1,2 +1,3 @@
kotlin.incremental.js.klib=true
kotlin.incremental.js.ir=true
kotlin.incremental.js.ir=true
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1,13 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
@@ -0,0 +1,14 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -1 +1 @@
kotlin.js.compiler=legacy
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -1 +1,2 @@
kotlin.js.compiler=legacy
kotlin.js.compiler=legacy
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -1 +1,2 @@
kotlin.tests.individualTaskReports=true
kotlin.tests.individualTaskReports=true
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -1 +1,2 @@
kotlin.mpp.enableCompatibilityMetadataVariant=true
kotlin.mpp.enableCompatibilityMetadataVariant=true
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -0,0 +1 @@
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
@@ -58,6 +58,11 @@
<goals>
<goal>compile</goal>
</goals>
<configuration>
<args>
<arg>-Xallow-any-scripts-in-source-roots</arg>
</args>
</configuration>
</execution>
<execution>
<id>test-compile</id>
@@ -79,4 +84,4 @@
</plugins>
</build>
</project>
</project>
+2
View File
@@ -49,6 +49,8 @@ public final enum class A.D.E : kotlin/Enum<A.D.E> {
E2,
// module name: test-module
// has Enum.entries
}
// A$D$F.class
// ------------------------------------------