From 17d59e0daac45c7c6376c6d23e50c3016df80276 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Mon, 1 Feb 2021 18:36:27 +0300 Subject: [PATCH] [Test] Support skip of android codegen tests with new ASSERTION_MODE directive --- .../kotlin/android/tests/CodegenTestsOnAndroidGenerator.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/android-tests/tests/org/jetbrains/kotlin/android/tests/CodegenTestsOnAndroidGenerator.kt b/compiler/android-tests/tests/org/jetbrains/kotlin/android/tests/CodegenTestsOnAndroidGenerator.kt index d5ecd9425a6..cb34c29952a 100644 --- a/compiler/android-tests/tests/org/jetbrains/kotlin/android/tests/CodegenTestsOnAndroidGenerator.kt +++ b/compiler/android-tests/tests/org/jetbrains/kotlin/android/tests/CodegenTestsOnAndroidGenerator.kt @@ -275,7 +275,6 @@ class CodegenTestsOnAndroidGenerator private constructor(private val pathManager //TODO support JvmPackageName if (fullFileText.contains("@file:JvmPackageName(")) continue // TODO: Support jvm assertions - if (fullFileText.contains("// KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm")) continue if (fullFileText.contains("// ASSERTIONS_MODE: jvm")) continue val targets = InTextDirectivesUtils.findLinesWithPrefixesRemoved(fullFileText, "// JVM_TARGET:")