From 3a93cab3b64ededab1049368801993d546cbe8a7 Mon Sep 17 00:00:00 2001 From: Mikhail Zarechenskiy Date: Sat, 17 Nov 2018 22:55:18 +0300 Subject: [PATCH] Mark JVM specific test with `TARGET_BACKEND` directive This is needed to avoid test failing for Kotlin/Native --- .../mapInlineClassesWithSuppressWildcardsMode.kt | 2 +- .../js/test/semantics/IrJsCodegenBoxTestGenerated.java | 5 ----- .../kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java | 5 ----- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/compiler/testData/codegen/box/inlineClasses/mapInlineClassesWithSuppressWildcardsMode.kt b/compiler/testData/codegen/box/inlineClasses/mapInlineClassesWithSuppressWildcardsMode.kt index 6d1fa6cdea7..c9462d97687 100644 --- a/compiler/testData/codegen/box/inlineClasses/mapInlineClassesWithSuppressWildcardsMode.kt +++ b/compiler/testData/codegen/box/inlineClasses/mapInlineClassesWithSuppressWildcardsMode.kt @@ -1,5 +1,5 @@ // WITH_RUNTIME -// IGNORE_BACKEND: JS, JS_IR +// TARGET_BACKEND: JVM class Foo(val x: Int) diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java index 103a920ed7d..2b776d54a10 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java @@ -10485,11 +10485,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/kt27706.kt"); } - @TestMetadata("mapInlineClassesWithSuppressWildcardsMode.kt") - public void testMapInlineClassesWithSuppressWildcardsMode() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/mapInlineClassesWithSuppressWildcardsMode.kt"); - } - @TestMetadata("noAssertionsOnInlineClassBasedOnNullableType.kt") public void testNoAssertionsOnInlineClassBasedOnNullableType() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/noAssertionsOnInlineClassBasedOnNullableType.kt"); diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index 6edc7958187..d8db2f9c948 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -11540,11 +11540,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/kt27706.kt"); } - @TestMetadata("mapInlineClassesWithSuppressWildcardsMode.kt") - public void testMapInlineClassesWithSuppressWildcardsMode() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/mapInlineClassesWithSuppressWildcardsMode.kt"); - } - @TestMetadata("noAssertionsOnInlineClassBasedOnNullableType.kt") public void testNoAssertionsOnInlineClassBasedOnNullableType() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/noAssertionsOnInlineClassBasedOnNullableType.kt");