Use newer version of Kotlin/Native in the testNativeCompilerDownloading

This commit is contained in:
Pavel Punegov
2021-05-13 00:37:58 +03:00
committed by TeamCityServer
parent 13fd2a24ea
commit 238ada04c0
@@ -888,16 +888,22 @@ class GeneralNativeIT : BaseGradleIT() {
assertNotContains(NO_NATIVE_STDLIB_PROPERTY_WARNING) assertNotContains(NO_NATIVE_STDLIB_PROPERTY_WARNING)
} }
build("tasks", "-Pkotlin.native.version=1.3-eap-10779") { build("tasks", "-Pkotlin.native.version=1.5.20-dev-5613") {
assertSuccessful() assertSuccessful()
assertContainsRegex("Kotlin/Native distribution: .*kotlin-native-(macos|linux|windows)-1\\.3-eap-10779".toRegex()) assertContainsRegex(
"Kotlin/Native distribution: .*kotlin-native-prebuilt-(macos|linux|windows)-1\\.5\\.20-dev-5613"
.toRegex()
)
assertNotContains("Project property 'org.jetbrains.kotlin.native.version' is deprecated") assertNotContains("Project property 'org.jetbrains.kotlin.native.version' is deprecated")
} }
// Deprecated property // Deprecated property
build("tasks", "-Porg.jetbrains.kotlin.native.version=1.3-eap-10779") { build("tasks", "-Porg.jetbrains.kotlin.native.version=1.5.20-dev-5613") {
assertSuccessful() assertSuccessful()
assertContainsRegex("Kotlin/Native distribution: .*kotlin-native-(macos|linux|windows)-1\\.3-eap-10779".toRegex()) assertContainsRegex(
"Kotlin/Native distribution: .*kotlin-native-prebuilt-(macos|linux|windows)-1\\.5\\.20-dev-5613"
.toRegex()
)
assertContains("Project property 'org.jetbrains.kotlin.native.version' is deprecated") assertContains("Project property 'org.jetbrains.kotlin.native.version' is deprecated")
} }
} }