From 43a27ab58c0aefca082e3781da756adc4f2a0955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Sch=C3=A4fer?= Date: Fri, 5 Jul 2019 15:52:56 +0200 Subject: [PATCH] (Un)mute tests --- compiler/testData/codegen/box/assert/alwaysDisable.kt | 1 - .../box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt | 1 - .../codegen/box/assert/jvm/interfaceAssertionsDisabled.kt | 1 - compiler/testData/codegen/box/assert/jvm/lambdaNotEvaluated.kt | 1 - .../testData/codegen/box/assert/jvm/localAnonymousFunction.kt | 1 - compiler/testData/codegen/box/assert/jvm/localClass.kt | 1 - compiler/testData/codegen/box/assert/jvm/localFunction.kt | 1 - compiler/testData/codegen/box/assert/jvm/localLambda.kt | 1 - compiler/testData/codegen/box/assert/jvm/localObject.kt | 1 - compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt | 1 - compiler/testData/codegen/box/assert/jvm/ordinary.kt | 1 - .../codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt | 1 - .../codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt | 1 - .../boxInline/assert/jvmAssertInlineFunctionAssertionsEnabled.kt | 1 + compiler/testData/codegen/boxInline/assert/jvmCompanion.kt | 1 + compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt | 1 + 16 files changed, 3 insertions(+), 13 deletions(-) diff --git a/compiler/testData/codegen/box/assert/alwaysDisable.kt b/compiler/testData/codegen/box/assert/alwaysDisable.kt index 75612319850..b3039412e24 100644 --- a/compiler/testData/codegen/box/assert/alwaysDisable.kt +++ b/compiler/testData/codegen/box/assert/alwaysDisable.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=always-disable diff --git a/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt b/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt index 4311b1ab1b2..b94528d63d5 100644 --- a/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt +++ b/compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt index 46a38a07057..023a189eccf 100644 --- a/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt +++ b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/lambdaNotEvaluated.kt b/compiler/testData/codegen/box/assert/jvm/lambdaNotEvaluated.kt index 38701ae27a5..02c0d488a54 100644 --- a/compiler/testData/codegen/box/assert/jvm/lambdaNotEvaluated.kt +++ b/compiler/testData/codegen/box/assert/jvm/lambdaNotEvaluated.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.kt b/compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.kt index b294abdb5eb..6bcd5092ed2 100644 --- a/compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.kt +++ b/compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/localClass.kt b/compiler/testData/codegen/box/assert/jvm/localClass.kt index aa5c58871ee..6369b054fbb 100644 --- a/compiler/testData/codegen/box/assert/jvm/localClass.kt +++ b/compiler/testData/codegen/box/assert/jvm/localClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/localFunction.kt b/compiler/testData/codegen/box/assert/jvm/localFunction.kt index 4a2e0c3da44..79d0ee1850e 100644 --- a/compiler/testData/codegen/box/assert/jvm/localFunction.kt +++ b/compiler/testData/codegen/box/assert/jvm/localFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/localLambda.kt b/compiler/testData/codegen/box/assert/jvm/localLambda.kt index fb09e0286ae..8b84cdbd072 100644 --- a/compiler/testData/codegen/box/assert/jvm/localLambda.kt +++ b/compiler/testData/codegen/box/assert/jvm/localLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/localObject.kt b/compiler/testData/codegen/box/assert/jvm/localObject.kt index fd25681067b..1d5a992e10f 100644 --- a/compiler/testData/codegen/box/assert/jvm/localObject.kt +++ b/compiler/testData/codegen/box/assert/jvm/localObject.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt b/compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt index c78b1509959..518cba40697 100644 --- a/compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt +++ b/compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/ordinary.kt b/compiler/testData/codegen/box/assert/jvm/ordinary.kt index 98d089df110..198579a1e74 100644 --- a/compiler/testData/codegen/box/assert/jvm/ordinary.kt +++ b/compiler/testData/codegen/box/assert/jvm/ordinary.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt b/compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt index a692541856f..1981ecc6c7a 100644 --- a/compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt +++ b/compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt b/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt index a7cc7819c20..a3425c11bf5 100644 --- a/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt +++ b/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/boxInline/assert/jvmAssertInlineFunctionAssertionsEnabled.kt b/compiler/testData/codegen/boxInline/assert/jvmAssertInlineFunctionAssertionsEnabled.kt index 023594d2059..7ca5edebf37 100644 --- a/compiler/testData/codegen/boxInline/assert/jvmAssertInlineFunctionAssertionsEnabled.kt +++ b/compiler/testData/codegen/boxInline/assert/jvmAssertInlineFunctionAssertionsEnabled.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_IR // FILE: inline.kt // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/boxInline/assert/jvmCompanion.kt b/compiler/testData/codegen/boxInline/assert/jvmCompanion.kt index 666681aeffe..9bda2055a4a 100644 --- a/compiler/testData/codegen/boxInline/assert/jvmCompanion.kt +++ b/compiler/testData/codegen/boxInline/assert/jvmCompanion.kt @@ -1,4 +1,5 @@ // TARGET_BACKEND: JVM +// IGNORE_BACKEND: JVM_IR // FILE: inline.kt // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt b/compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt index 649e1f76645..78be1670ff2 100644 --- a/compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt +++ b/compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt @@ -1,4 +1,5 @@ // TARGET_BACKEND: JVM +// IGNORE_BACKEND: JVM_IR // FILE: inline.kt // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME