From f03dc621737a2dd712f53d4d2d07eb853efeadcf Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Fri, 13 Jul 2018 19:37:37 +0200 Subject: [PATCH] Ignore tests on big function types until master is 1.3 --- .../box/functions/bigArity/callWithIncorrectNumberOfArguments.kt | 1 + compiler/testData/codegen/box/functions/bigArity/function255.kt | 1 + .../box/functions/bigArity/instanceOfCallableReference.kt | 1 + .../codegen/box/functions/bigArity/invokeCallableReference.kt | 1 + compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt | 1 + compiler/testData/codegen/box/functions/bigArity/javaLambda.kt | 1 + compiler/testData/codegen/box/functions/bigArity/subclass.kt | 1 + .../box/javaInterop/notNullAssertions/functionWithBigArity.kt | 1 + compiler/testData/codegen/box/reflection/call/bigArity.kt | 1 + compiler/testData/codegen/box/reflection/parameters/bigArity.kt | 1 + 10 files changed, 10 insertions(+) diff --git a/compiler/testData/codegen/box/functions/bigArity/callWithIncorrectNumberOfArguments.kt b/compiler/testData/codegen/box/functions/bigArity/callWithIncorrectNumberOfArguments.kt index aa7464771aa..d6dc98dac09 100644 --- a/compiler/testData/codegen/box/functions/bigArity/callWithIncorrectNumberOfArguments.kt +++ b/compiler/testData/codegen/box/functions/bigArity/callWithIncorrectNumberOfArguments.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +FunctionTypesWithBigArity // WITH_RUNTIME // TARGET_BACKEND: JVM +// IGNORE_BACKEND: JVM, JVM_IR // FILE: J.java // import kotlin.jvm.functions.Arity; diff --git a/compiler/testData/codegen/box/functions/bigArity/function255.kt b/compiler/testData/codegen/box/functions/bigArity/function255.kt index 39c6066e8db..211e356e193 100644 --- a/compiler/testData/codegen/box/functions/bigArity/function255.kt +++ b/compiler/testData/codegen/box/functions/bigArity/function255.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +FunctionTypesWithBigArity // IGNORE_BACKEND: JS_IR +// IGNORE_BACKEND: JVM, JVM_IR class A(val value: Int) { // for (i in 1..254) { print("p${"%03d".format(i)}: A, "); if (i % 10 == 0) println() }; println() diff --git a/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt b/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt index 4edd35350dc..e094f443293 100644 --- a/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt +++ b/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +FunctionTypesWithBigArity // IGNORE_BACKEND: JS_IR, JS +// IGNORE_BACKEND: JVM, JVM_IR class A diff --git a/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt b/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt index c9509a07ba5..33d1f98f83b 100644 --- a/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt +++ b/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +FunctionTypesWithBigArity +// IGNORE_BACKEND: JVM, JVM_IR class A diff --git a/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt b/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt index afb24c958db..c78c4bee1cb 100644 --- a/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt +++ b/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt @@ -1,4 +1,5 @@ // !LANGUAGE: +FunctionTypesWithBigArity +// IGNORE_BACKEND: JVM, JVM_IR class A(val value: Int) diff --git a/compiler/testData/codegen/box/functions/bigArity/javaLambda.kt b/compiler/testData/codegen/box/functions/bigArity/javaLambda.kt index fb8080cecb7..1a21b1a7532 100644 --- a/compiler/testData/codegen/box/functions/bigArity/javaLambda.kt +++ b/compiler/testData/codegen/box/functions/bigArity/javaLambda.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +FunctionTypesWithBigArity // WITH_RUNTIME // TARGET_BACKEND: JVM +// IGNORE_BACKEND: JVM, JVM_IR // FILE: J.java // import kotlin.jvm.functions.Arity; diff --git a/compiler/testData/codegen/box/functions/bigArity/subclass.kt b/compiler/testData/codegen/box/functions/bigArity/subclass.kt index 12c3de3993a..43899108929 100644 --- a/compiler/testData/codegen/box/functions/bigArity/subclass.kt +++ b/compiler/testData/codegen/box/functions/bigArity/subclass.kt @@ -2,6 +2,7 @@ // Implementing function interface is prohibited in JavaScript // IGNORE_BACKEND: JS_IR, JS +// IGNORE_BACKEND: JVM, JVM_IR class A(val value: String) diff --git a/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionWithBigArity.kt b/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionWithBigArity.kt index c70cacf2bd2..eaeda779941 100644 --- a/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionWithBigArity.kt +++ b/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionWithBigArity.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +FunctionTypesWithBigArity // TARGET_BACKEND: JVM +// IGNORE_BACKEND: JVM, JVM_IR // WITH_RUNTIME // FILE: Test.java diff --git a/compiler/testData/codegen/box/reflection/call/bigArity.kt b/compiler/testData/codegen/box/reflection/call/bigArity.kt index 43d32de4734..cbfcbd67b82 100644 --- a/compiler/testData/codegen/box/reflection/call/bigArity.kt +++ b/compiler/testData/codegen/box/reflection/call/bigArity.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +FunctionTypesWithBigArity // IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JVM, JVM_IR // WITH_REFLECT class A { diff --git a/compiler/testData/codegen/box/reflection/parameters/bigArity.kt b/compiler/testData/codegen/box/reflection/parameters/bigArity.kt index c22d4cb175b..7adde911f0a 100644 --- a/compiler/testData/codegen/box/reflection/parameters/bigArity.kt +++ b/compiler/testData/codegen/box/reflection/parameters/bigArity.kt @@ -1,5 +1,6 @@ // !LANGUAGE: +FunctionTypesWithBigArity // IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JVM, JVM_IR // WITH_REFLECT import kotlin.test.assertEquals