Add project property to change port for codegen tests on different JDKs

This commit is contained in:
Alexander Udalov
2017-10-30 15:40:17 +01:00
parent 152bcda2c8
commit ccd7bfa337
+1 -2
View File
@@ -111,8 +111,7 @@ fun Project.codegenTest(target: Int, jvm: Int,
codegenTest(target = 6, jvm = 6, jdk = "JDK_18") {
dependsOn(":compiler:tests-common-jvm6:build")
//TODO make port flexible
val port = "5100"
val port = project.property("kotlin.compiler.codegen.tests.port")?.toString() ?: "5100"
var jdkProcess: Process? = null
doFirst {