Exclude task that fails with KT-27665 (#2284)

This commit is contained in:
Pavel Punegov
2018-10-31 14:19:22 +03:00
committed by Nikolay Igotti
parent 6249f4bdfe
commit f4e225df9e
+6 -4
View File
@@ -172,13 +172,15 @@ task resultsTask() {
} }
} }
boolean isExcluded(String task) { boolean isExcluded(String dir) {
// List of tests that fail due to unresolved comiler bugs // List of tests that fail due to unresolved compiler bugs
def excluded = [ "codegen/box/functions/bigArity", "codegen/box/functions/functionExpression" ] def excluded = [ "codegen/box/functions/bigArity", // KT-26140
"codegen/box/functions/functionExpression", // KT-26973
"codegen/box/inlineClasses" ] // KT-27665
boolean result = false boolean result = false
excluded.forEach { excluded.forEach {
if (task.contains(it)) { if (dir.endsWith(it)) {
result = true result = true
} }
} }