From f9809d5a738626e7caf2d059360699685f990445 Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Thu, 19 Oct 2017 19:35:06 +0300 Subject: [PATCH] Minor: replace IGNORE_BACKEND with TARGET_BACKEND for the test what should be run only on JVM The test was written to check the case for Platform Types which now exists only on JVM. --- .../codegen/box/boxingOptimization/kt19767_3.kt | 2 +- .../js/test/semantics/JsCodegenBoxTestGenerated.java | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/compiler/testData/codegen/box/boxingOptimization/kt19767_3.kt b/compiler/testData/codegen/box/boxingOptimization/kt19767_3.kt index cf8f6d9063e..dcb40477e81 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt19767_3.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt19767_3.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // FILE: M.java 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 c237a5f1c77..df0e1eeff72 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 @@ -1178,18 +1178,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { doTest(fileName); } - @TestMetadata("kt19767_3.kt") - public void testKt19767_3() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt19767_3.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - @TestMetadata("kt19767_chain.kt") public void testKt19767_chain() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt19767_chain.kt");