[build][performance] fix Windows run

This commit is contained in:
Vasily Levchenko
2017-09-08 17:24:17 +03:00
committed by Vasily Levchenko
parent d324585d5c
commit 165f0ae93c
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -318,8 +318,9 @@ task performance(type: GradleBuild) {
tasks = ['build', 'bench']
doFirst {
startParameter.projectProperties['konanPluginClasspath'] =
project(':tools:kotlin-native-gradle-plugin').tasks.getByName('jar').archivePath.canonicalPath
startParameter.projectProperties = [
'konanPluginClasspath' : project(':tools:kotlin-native-gradle-plugin').tasks.getByName('jar').archivePath.canonicalPath,
'exe_suffix': TargetManager.host.getProgramSuffix()]
}
}
+1 -1
View File
@@ -79,7 +79,7 @@ private void dumpReport(String name, ByteArrayOutputStream output) {
task konanRun(type: Exec) {
def output = new ByteArrayOutputStream()
commandLine project.file("build/konan/bin/Ring.kexe").absolutePath, "$ringWarmup", "$iterations"
commandLine project.file("build/konan/bin/Ring.${gradle.startParameter.projectProperties.exe_suffix}").absolutePath, "$ringWarmup", "$iterations"
standardOutput = output
doLast {
dumpReport('konanReport', output)