From 0fbc42de03fddb4c6de36b3481ef820c5d754fbd Mon Sep 17 00:00:00 2001 From: Pavel Kunyavskiy Date: Tue, 25 Jul 2023 15:14:32 +0200 Subject: [PATCH] [K/N] Remove interop_kt49034_objcprotocol test It doesn't check anything meaningful after d797505f06 ^KT-56028 --- kotlin-native/backend.native/tests/build.gradle | 8 -------- .../interop/objc/kt49034/objcprotocol/kt49034.def | 1 - .../interop/objc/kt49034/objcprotocol/kt49034.h | 1 - .../interop/objc/kt49034/objcprotocol/main.kt | 14 -------------- 4 files changed, 24 deletions(-) delete mode 100644 kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.def delete mode 100644 kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.h delete mode 100644 kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/main.kt diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle index 47178c14d9c..55e59d50f07 100644 --- a/kotlin-native/backend.native/tests/build.gradle +++ b/kotlin-native/backend.native/tests/build.gradle @@ -4682,14 +4682,6 @@ if (PlatformInfo.isAppleTarget(project)) { UtilsKt.dependsOnPlatformLibs(it) } - interopTest("interop_kt49034_objcprotocol") { - disabled = isK2(project) // KT-56028 - interop = 'kt49034_objcprotocol' - source = 'interop/objc/kt49034/objcprotocol/main.kt' - - // The test depends on collision between kt49034.__darwin_fp_control and platform.darwin.__darwin_fp_control - UtilsKt.dependsOnPlatformLibs(it) - } interopTest("interop_objc_global_initializer") { useGoldenData = true diff --git a/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.def b/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.def deleted file mode 100644 index bc752fc0d3e..00000000000 --- a/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.def +++ /dev/null @@ -1 +0,0 @@ -language = Objective-C \ No newline at end of file diff --git a/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.h b/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.h deleted file mode 100644 index 97e4b2d69e9..00000000000 --- a/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/kt49034.h +++ /dev/null @@ -1 +0,0 @@ -@protocol __darwin_fp_control; \ No newline at end of file diff --git a/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/main.kt b/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/main.kt deleted file mode 100644 index 905089a5be2..00000000000 --- a/kotlin-native/backend.native/tests/interop/objc/kt49034/objcprotocol/main.kt +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. - * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. - */ - -import objcnames.protocols.__darwin_fp_control - -open class C - -class D : C<__darwin_fp_control>() - -fun main() { - println(D()) -} \ No newline at end of file