From 29e5ad5abed5405f93ff95c891acb77f0601ce5e Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Thu, 9 Mar 2017 16:37:21 +0300 Subject: [PATCH] Mute tests with '::class' in native backend --- compiler/testData/codegen/box/casts/functions/asFunKBig.kt | 2 +- .../testData/codegen/box/casts/functions/reifiedAsFunKBig.kt | 2 +- compiler/testData/codegen/box/classLiteral/bound/smartCast.kt | 1 + compiler/testData/codegen/box/ranges/safeCallRangeTo.kt | 2 +- .../codegen/box/reflection/classLiterals/genericClass.kt | 1 + .../codegen/box/reflection/classLiterals/simpleClassLiteral.kt | 1 + .../codegen/box/reflection/classes/localClassSimpleName.kt | 1 + .../box/reflection/noReflectAtRuntime/simpleClassLiterals.kt | 1 + 8 files changed, 8 insertions(+), 3 deletions(-) diff --git a/compiler/testData/codegen/box/casts/functions/asFunKBig.kt b/compiler/testData/codegen/box/casts/functions/asFunKBig.kt index 43df48d37b6..e6b457326ed 100644 --- a/compiler/testData/codegen/box/casts/functions/asFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/asFunKBig.kt @@ -1,5 +1,5 @@ // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS, NATIVE // WITH_RUNTIME // This is a big, ugly, semi-auto generated test. diff --git a/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt index d853a01bb9d..af43807ed25 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt @@ -1,5 +1,5 @@ // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS, NATIVE // WITH_RUNTIME // This is a big, ugly, semi-auto generated test. diff --git a/compiler/testData/codegen/box/classLiteral/bound/smartCast.kt b/compiler/testData/codegen/box/classLiteral/bound/smartCast.kt index 7b66b1e1786..f7832e00d15 100644 --- a/compiler/testData/codegen/box/classLiteral/bound/smartCast.kt +++ b/compiler/testData/codegen/box/classLiteral/bound/smartCast.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // KT-16291 Smart cast doesn't work when getting class of instance class Foo(val s: String) { diff --git a/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt b/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt index 0d277d3c2bb..e1eb200a582 100644 --- a/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt +++ b/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt @@ -1,5 +1,5 @@ // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS, NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt b/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt index c80289cb43b..5c0fabfb976 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // WITH_REFLECT import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt index 2749cd70720..966c774df65 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // WITH_REFLECT class A diff --git a/compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt b/compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt index 027c49b58a8..c3dd9ed83ee 100644 --- a/compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt +++ b/compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // WITH_REFLECT import kotlin.reflect.KClass diff --git a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt index 0dac03d9c76..dffd69ffd7e 100644 --- a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt +++ b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // WITH_RUNTIME