From 0ebb39a26eaf5f4aff9003e551e2fffd3c93c6ef Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Mon, 1 Feb 2021 18:59:11 +0300 Subject: [PATCH] [Test] Exclude multimodule tests from codegen tests on android --- .../kotlin/android/tests/CodegenTestsOnAndroidGenerator.kt | 1 + 1 file changed, 1 insertion(+) 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 cb34c29952a..174d86088d5 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 @@ -276,6 +276,7 @@ class CodegenTestsOnAndroidGenerator private constructor(private val pathManager if (fullFileText.contains("@file:JvmPackageName(")) continue // TODO: Support jvm assertions if (fullFileText.contains("// ASSERTIONS_MODE: jvm")) continue + if (fullFileText.contains("// MODULE: ")) continue val targets = InTextDirectivesUtils.findLinesWithPrefixesRemoved(fullFileText, "// JVM_TARGET:") val isAtLeastJvm8Target = !targets.contains(JvmTarget.JVM_1_6.description)