build: Fix execution of Ring benchmark

This commit is contained in:
Ilya Matveev
2017-11-16 16:56:01 +07:00
committed by ilmat192
parent e4fc1eda7c
commit f4d31f479f
+1 -1
View File
@@ -75,7 +75,7 @@ private void dumpReport(String name, ByteArrayOutputStream output) {
task konanRun(type: Exec) {
def output = new ByteArrayOutputStream()
commandLine project.file("build/konan/bin/Ring.${gradle.startParameter.projectProperties.exe_suffix}").absolutePath, "$ringWarmup", "$iterations"
commandLine konanArtifacts.Ring.getByTarget('host').artifact.absolutePath, "$ringWarmup", "$iterations"
standardOutput = output
doLast {
dumpReport('konanReport', output)