From 4f1ed2f1126e9272cf7238dcac82c02155072c7a Mon Sep 17 00:00:00 2001 From: Victor Petukhov Date: Wed, 24 Mar 2021 15:50:37 +0300 Subject: [PATCH] Don't generate tests on top-down completion of the builder inference for WASM --- ...tionBreakedByNonBuilderInferenceSession.kt | 1 + ...ompletionWithThreeBuilderInferenceCalls.kt | 1 + ...WithThreeBuilderInferenceCallsSameLevel.kt | 1 + ...nCompletionWithTwoBuilderInferenceCalls.kt | 1 + .../IrCodegenBoxWasmTestGenerated.java | 20 ------------------- 5 files changed, 4 insertions(+), 20 deletions(-) diff --git a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionBreakedByNonBuilderInferenceSession.kt b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionBreakedByNonBuilderInferenceSession.kt index 4cfedaca855..fa3cf069c26 100644 --- a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionBreakedByNonBuilderInferenceSession.kt +++ b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionBreakedByNonBuilderInferenceSession.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // !DIAGNOSTICS: -UNUSED_PARAMETER -EXPERIMENTAL_IS_NOT_ENABLED // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCalls.kt b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCalls.kt index c29ba629fc9..1dc5a2728ee 100644 --- a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCalls.kt +++ b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCalls.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // !DIAGNOSTICS: -UNUSED_PARAMETER -EXPERIMENTAL_IS_NOT_ENABLED // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCallsSameLevel.kt b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCallsSameLevel.kt index f7d7d7b4e8d..fbc2060c1eb 100644 --- a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCallsSameLevel.kt +++ b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCallsSameLevel.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // !DIAGNOSTICS: -UNUSED_PARAMETER -EXPERIMENTAL_IS_NOT_ENABLED // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithTwoBuilderInferenceCalls.kt b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithTwoBuilderInferenceCalls.kt index 44920b5d9dc..ec3dcc88182 100644 --- a/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithTwoBuilderInferenceCalls.kt +++ b/compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithTwoBuilderInferenceCalls.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // !DIAGNOSTICS: -UNUSED_PARAMETER -EXPERIMENTAL_IS_NOT_ENABLED // WITH_RUNTIME diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java index 30c14d86823..18605827157 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java @@ -6297,26 +6297,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest public void testSubstituteStubTypeIntolambdaParameterDescriptor() throws Exception { runTest("compiler/testData/codegen/box/inference/builderInference/substituteStubTypeIntolambdaParameterDescriptor.kt"); } - - @TestMetadata("topDownCompletionBreakedByNonBuilderInferenceSession.kt") - public void testTopDownCompletionBreakedByNonBuilderInferenceSession() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/topDownCompletionBreakedByNonBuilderInferenceSession.kt"); - } - - @TestMetadata("topDownCompletionWithThreeBuilderInferenceCalls.kt") - public void testTopDownCompletionWithThreeBuilderInferenceCalls() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCalls.kt"); - } - - @TestMetadata("topDownCompletionWithThreeBuilderInferenceCallsSameLevel.kt") - public void testTopDownCompletionWithThreeBuilderInferenceCallsSameLevel() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithThreeBuilderInferenceCallsSameLevel.kt"); - } - - @TestMetadata("topDownCompletionWithTwoBuilderInferenceCalls.kt") - public void testTopDownCompletionWithTwoBuilderInferenceCalls() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/topDownCompletionWithTwoBuilderInferenceCalls.kt"); - } } }