From fe566e2c731c05a1b0e191523d86585e14b0068f Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Fri, 2 Oct 2020 23:04:45 +0300 Subject: [PATCH] Exclude coroutines/multiModule tests (KT-40121) --- .../src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index 59a58c98256..01786c7dde6 100644 --- a/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -410,13 +410,14 @@ fun runTest() { "external/compiler/compileKotlinAgainstKotlin/specialBridgesInDependencies.kt", // FIXME: inherits final class "external/compiler/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt", // KT-40137 "external/compiler/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt", // KT-33091 - "external/compiler/codegen/box/multiplatform/multiModule/expectActualLink.kt" // KT-41901 + "external/compiler/codegen/box/multiplatform/multiModule/expectActualLink.kt", // KT-41901 + "external/compiler/codegen/box/coroutines/multiModule/" // KT-40121 ] boolean isEnabledForNativeBackend(String fileName) { def text = project.buildDir.toPath().resolve(fileName).text - if (excludeList.contains(fileName.replace(File.separator, "/"))) return false + if (excludeList.any { fileName.replace(File.separator, "/").contains(it) }) return false def languageSettings = findLinesWithPrefixesRemoved(text, '// !LANGUAGE: ') if (!languageSettings.empty) {