Don't fail when output directory not specified for "friend" build target

#KT-10505 Fixed
This commit is contained in:
Zalim Bashorov
2016-01-12 23:32:46 +03:00
parent 3df091e7cf
commit d9af9472f0
5 changed files with 37 additions and 2 deletions
@@ -728,6 +728,10 @@ class KotlinJpsBuildTest : AbstractKotlinJpsBuildTestCase() {
doTest()
}
fun testKotlinProjectWithEmptyProductionOutputDirWithoutSrcDir() {
doTest()
}
private fun BuildResult.checkErrors() {
val actualErrors = getMessages(BuildMessage.Kind.ERROR)
.map { it as CompilerMessage }