From c9c50ff73c44b25a0269f37e8d446e291b41370f Mon Sep 17 00:00:00 2001 From: Sergej Jaskiewicz Date: Mon, 3 Oct 2022 16:48:39 +0200 Subject: [PATCH] [JS IR] Disable some flaky stepping tests ^KT-54283 --- .../testData/debug/stepping/tryCatchExpression.kt | 2 +- compiler/testData/debug/stepping/tryCatchFinally.kt | 2 +- .../kotlin/js/test/ir/IrJsSteppingTestGenerated.java | 12 ------------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/compiler/testData/debug/stepping/tryCatchExpression.kt b/compiler/testData/debug/stepping/tryCatchExpression.kt index 4ae726a89a4..1fd7254b34c 100644 --- a/compiler/testData/debug/stepping/tryCatchExpression.kt +++ b/compiler/testData/debug/stepping/tryCatchExpression.kt @@ -1,5 +1,5 @@ // FILE: test.kt - +// DONT_TARGET_EXACT_BACKEND: JS_IR (KT-54283) fun foo() { try { mightThrow() diff --git a/compiler/testData/debug/stepping/tryCatchFinally.kt b/compiler/testData/debug/stepping/tryCatchFinally.kt index bb741e8a739..1a42269b54f 100644 --- a/compiler/testData/debug/stepping/tryCatchFinally.kt +++ b/compiler/testData/debug/stepping/tryCatchFinally.kt @@ -1,4 +1,4 @@ - +// DONT_TARGET_EXACT_BACKEND: JS_IR (KT-54283) // FILE: test.kt fun foo() { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsSteppingTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsSteppingTestGenerated.java index 1eeb114e697..1d90d3db8e7 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsSteppingTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsSteppingTestGenerated.java @@ -493,18 +493,6 @@ public class IrJsSteppingTestGenerated extends AbstractIrJsSteppingTest { runTest("compiler/testData/debug/stepping/tryCatch.kt"); } - @Test - @TestMetadata("tryCatchExpression.kt") - public void testTryCatchExpression() throws Exception { - runTest("compiler/testData/debug/stepping/tryCatchExpression.kt"); - } - - @Test - @TestMetadata("tryCatchFinally.kt") - public void testTryCatchFinally() throws Exception { - runTest("compiler/testData/debug/stepping/tryCatchFinally.kt"); - } - @Test @TestMetadata("tryFinally.kt") public void testTryFinally() throws Exception {