From 192f311128f3625c856f7af1dc09d273b002b6a2 Mon Sep 17 00:00:00 2001 From: Ilmir Usmanov Date: Fri, 15 Jun 2018 15:43:56 +0300 Subject: [PATCH] Minor. Ignore test is JS_IR. --- .../codegen/box/coroutines/multiModule/inlineWithJava.kt | 2 +- .../js/test/semantics/IrJsCodegenBoxTestGenerated.java | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava.kt index eddb7ccc0fd..468cb0ef4c5 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: NATIVE, JS +// IGNORE_BACKEND: NATIVE, JS, JS_IR // WITH_COROUTINES // COMMON_COROUTINES_TEST // MODULE: lib 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 378d360f8cf..598af11994a 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 @@ -6841,7 +6841,13 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { @TestMetadata("inlineWithJava.kt") public void testInlineWithJava_1_2() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava.kt"); - doTestWithCoroutinesPackageReplacement(fileName, "kotlin.coroutines.experimental"); + try { + doTestWithCoroutinesPackageReplacement(fileName, "kotlin.coroutines.experimental"); + } + catch (Throwable ignore) { + return; + } + throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); } @TestMetadata("simple.kt")