From 629be10a537638cb57793337c746d75ae9b7287e Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Mon, 24 Apr 2017 17:43:14 +0700 Subject: [PATCH] Ignore native backend in some box tests --- compiler/testData/codegen/box/arrays/kt17134.kt | 1 + .../codegen/box/callableReference/bound/genericValOnLHS.kt | 2 ++ .../collectionLiterals/collectionLiteralsInArgumentPosition.kt | 1 + .../box/collectionLiterals/collectionLiteralsWithConstants.kt | 1 + .../box/collectionLiterals/collectionLiteralsWithVarargs.kt | 1 + .../box/collectionLiterals/defaultAnnotationParameterValues.kt | 1 + .../box/delegatedProperty/getDelegateWithoutReflection.kt | 1 + 7 files changed, 8 insertions(+) diff --git a/compiler/testData/codegen/box/arrays/kt17134.kt b/compiler/testData/codegen/box/arrays/kt17134.kt index 887b949baaa..515d0aceeb9 100644 --- a/compiler/testData/codegen/box/arrays/kt17134.kt +++ b/compiler/testData/codegen/box/arrays/kt17134.kt @@ -1,5 +1,6 @@ //WITH_RUNTIME // IGNORE_BACKEND: JS +// IGNORE_BACKEND: NATIVE object A { @JvmStatic fun main(args: Array) { diff --git a/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt b/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt index 8911473c689..e3a16aa52ae 100644 --- a/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt +++ b/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt @@ -1,3 +1,5 @@ +// IGNORE_BACKEND: NATIVE + class Generic

(val p: P) class Host { diff --git a/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsInArgumentPosition.kt b/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsInArgumentPosition.kt index f36122ea0a0..ccab06759ae 100644 --- a/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsInArgumentPosition.kt +++ b/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsInArgumentPosition.kt @@ -2,6 +2,7 @@ // WITH_REFLECT // IGNORE_BACKEND: JS +// IGNORE_BACKEND: NATIVE import java.util.Arrays import kotlin.reflect.KClass diff --git a/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithConstants.kt b/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithConstants.kt index 72381b5137f..48d382901d4 100644 --- a/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithConstants.kt +++ b/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithConstants.kt @@ -2,6 +2,7 @@ // WITH_REFLECT // IGNORE_BACKEND: JS +// IGNORE_BACKEND: NATIVE import java.util.Arrays import kotlin.reflect.KFunction0 diff --git a/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithVarargs.kt b/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithVarargs.kt index eaeeab4e98d..fb8982083db 100644 --- a/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithVarargs.kt +++ b/compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithVarargs.kt @@ -2,6 +2,7 @@ // WITH_REFLECT // IGNORE_BACKEND: JS +// IGNORE_BACKEND: NATIVE import java.util.Arrays import kotlin.reflect.KClass diff --git a/compiler/testData/codegen/box/collectionLiterals/defaultAnnotationParameterValues.kt b/compiler/testData/codegen/box/collectionLiterals/defaultAnnotationParameterValues.kt index a8ba49def4d..644243153a2 100644 --- a/compiler/testData/codegen/box/collectionLiterals/defaultAnnotationParameterValues.kt +++ b/compiler/testData/codegen/box/collectionLiterals/defaultAnnotationParameterValues.kt @@ -2,6 +2,7 @@ // WITH_REFLECT // IGNORE_BACKEND: JS +// IGNORE_BACKEND: NATIVE import java.util.Arrays import kotlin.reflect.KClass diff --git a/compiler/testData/codegen/box/delegatedProperty/getDelegateWithoutReflection.kt b/compiler/testData/codegen/box/delegatedProperty/getDelegateWithoutReflection.kt index 5e8026a79a0..d897d52b0b4 100644 --- a/compiler/testData/codegen/box/delegatedProperty/getDelegateWithoutReflection.kt +++ b/compiler/testData/codegen/box/delegatedProperty/getDelegateWithoutReflection.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: JS +// IGNORE_BACKEND: NATIVE // No kotlin-reflect.jar in this test // WITH_RUNTIME