From a2f3e633c29228838c70eceddc79583d7e931739 Mon Sep 17 00:00:00 2001 From: Pavel Punegov <32519625+PavelPunegov@users.noreply.github.com> Date: Wed, 11 Apr 2018 14:24:12 +0300 Subject: [PATCH] Fix debugger tests --- .../kotlin/org/jetbrains/kotlin/compiletest/DistProperties.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.native/debugger-tests/src/main/kotlin/org/jetbrains/kotlin/compiletest/DistProperties.kt b/backend.native/debugger-tests/src/main/kotlin/org/jetbrains/kotlin/compiletest/DistProperties.kt index ccceae8033a..adb36046366 100644 --- a/backend.native/debugger-tests/src/main/kotlin/org/jetbrains/kotlin/compiletest/DistProperties.kt +++ b/backend.native/debugger-tests/src/main/kotlin/org/jetbrains/kotlin/compiletest/DistProperties.kt @@ -8,7 +8,7 @@ import java.nio.file.Paths object DistProperties { private val dist: Path = Paths.get(requireProp("konan.home")) - private val konancDriver = if (HostManager.host.family == Family.WINDOWS) "konanc.bat" else "konanc" + private val konancDriver = if (HostManager.host.family == Family.MINGW) "konanc.bat" else "konanc" val konanc: Path = dist.resolve("bin/$konancDriver") val lldb: Path = Paths.get("lldb") val lldbPrettyPrinters: Path = dist.resolve("tools/konan_lldb.py")