diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle index efcd5d65a75..8391668b92a 100644 --- a/kotlin-native/backend.native/tests/build.gradle +++ b/kotlin-native/backend.native/tests/build.gradle @@ -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" diff --git a/kotlin-native/backend.native/tests/testLibrary/kotlin/test_platform_lib.kt b/kotlin-native/backend.native/tests/testLibrary/kotlin/test_platform_lib.kt deleted file mode 100644 index cac5e26b17c..00000000000 --- a/kotlin-native/backend.native/tests/testLibrary/kotlin/test_platform_lib.kt +++ /dev/null @@ -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()