Test loggin only on 64bit x86 linux
This commit is contained in:
parent
bb622b9420
commit
a7818e7b15
@ -37,13 +37,7 @@ version = ReleaseInfo.version
|
|||||||
|
|
||||||
val ideaActive = System.getProperty("idea.active") == "true"
|
val ideaActive = System.getProperty("idea.active") == "true"
|
||||||
|
|
||||||
fun getHostOsName(): String {
|
|
||||||
val target = System.getProperty("os.name")
|
|
||||||
if (target == "Linux") return "linux"
|
|
||||||
if (target.startsWith("Windows")) return "windows"
|
|
||||||
if (target.startsWith("Mac")) return "macos"
|
|
||||||
return "unknown"
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
val hostOsName = getHostOsName()
|
val hostOsName = getHostOsName()
|
||||||
@ -248,7 +242,7 @@ tasks {
|
|||||||
platforms = listOf("Common")
|
platforms = listOf("Common")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (getHostOsName() == "linux") {
|
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64g") {
|
||||||
|
|
||||||
val jvmTest by getting(Test::class) {
|
val jvmTest by getting(Test::class) {
|
||||||
testLogging {
|
testLogging {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user