From 93a589b9ba9ae2dd4ad211198587a7136f30b80b Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Fri, 9 Jun 2017 13:58:34 +0300 Subject: [PATCH] Enable windows specific driver tests. --- .../src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index 71c359e2212..eefe68a8ba4 100644 --- a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -33,7 +33,8 @@ abstract class KonanTest extends JavaExec { def launcherBc = new File("${dist.canonicalPath}/lib/launcher.bc").absolutePath def startKtBc = new File("${dist.canonicalPath}/lib/start.kt.bc").absolutePath def stdlibKtBc = new File("${dist.canonicalPath}/lib/stdlib.kt.bc").absolutePath - def konanc = new File("${dist.canonicalPath}/bin/konanc").absolutePath + def konancDriver = project.isWindows() ? "konanc.bat" : "konanc" + def konanc = new File("${dist.canonicalPath}/bin/$konancDriver").absolutePath def mainC = 'main.c' def outputSourceSetName = "testOutputLocal" String outputDirectory = null @@ -267,9 +268,6 @@ class RunDriverKonanTest extends KonanTest { RunDriverKonanTest() { super() dependsOn(project.rootProject.tasks['cross_dist']) - if (project.isWindows()) { - this.disabled = true - } } void compileTest(List filesToCompile, String exe) {