[K/N][test] Remove obsolete test on KlibInstall task

This test relied on the almost obsolete klib installation feature.
General linkage with a libraries already covered by various tests.
This commit is contained in:
Pavel Punegov
2023-10-31 14:12:05 +01:00
committed by Space Team
parent 9961780fbd
commit fb66626240
2 changed files with 0 additions and 30 deletions
@@ -44,8 +44,6 @@ ext.testOutputRoot = rootProject.file("test.output").absolutePath
ext.platformManager = project.project(":kotlin-native").platformManager
ext.target = platformManager.targetManager(project.testTarget).target
ext.testLibraryDir = "${ext.testOutputRoot}/klib/platform/${project.target.name}"
// Add executor to run tests depending on a target
// NOTE: If this persists in a gradle daemon, environment update (e.g. an Xcode update) may lead to execution failures.
project.extensions.executor = ExecutorServiceKt.create(project)
@@ -2118,20 +2116,6 @@ standaloneTest("link_default_libs") {
UtilsKt.dependsOnPlatformLibs(it)
}
//standaloneTest("link_testLib_explicitly1") {
// // there is no testLibrary for cross targets yet.
// enabled = project.target.name == project.hostName
// dependsOn installTestLib
// useGoldenData = true
// source = "link/testLib_explicitly1.kt"
// // We force library inclusion, so need to see the warning banner.
// flags = ['-l', 'testLibrary', '-r', testLibraryDir]
// doLast {
// def file = new File("$testLibraryDir/testLibrary")
// file.deleteDir()
// }
//}
linkTest("no_purge_for_dependencies") {
useGoldenData = true
source = "link/purge1/prog.kt"
@@ -1,14 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package test.konan.platform
fun produceMessage() {
println("""This is a side effect of a test library linked into the binary.
You should not be seeing this.
""")
}
val x: Unit = produceMessage()