summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rames <alexandre.rames@linaro.org>2015-08-20 18:28:16 +0100
committerAlexandre Rames <alexandre.rames@linaro.org>2015-08-26 10:55:10 +0000
commite0af14a00617be860830c72bc8cd8bb84de612ad (patch)
treeb95acaf7ab032b6d0e510ae72910790087a49b6c
parent64c97ef45f8f5de5e97af25508cbec09740d352b (diff)
Fix the `run.py` script when running on host.
The path to the built classes was incorrect. Change-Id: I351e609b0c55cfc874043575b80ce15fe45b988d
-rwxr-xr-xbenchmarking/java-ubenchs/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarking/java-ubenchs/run.py b/benchmarking/java-ubenchs/run.py
index 28bdb1f..d177edd 100755
--- a/benchmarking/java-ubenchs/run.py
+++ b/benchmarking/java-ubenchs/run.py
@@ -34,7 +34,7 @@ dir_benchmarks = os.path.join(dir_pwd, 'benchmarks')
dir_framework = os.path.join(dir_pwd, 'framework')
dir_tools = os.path.join(dir_pwd, 'tools')
dir_build = os.path.join(dir_pwd, 'build')
-dir_build_java_class = os.path.join(dir_build, 'java_class')
+dir_build_java_classes = os.path.join(dir_build, 'classes')
bench_runner_main = 'com.arm.microbench.RunBench'
# The script must be executed from an Android environment, which will be passed
@@ -119,7 +119,7 @@ def adb_shell(command):
def host_java(command):
VerbosePrint(' '.join(command))
- p = subprocess.Popen(command, cwd = dir_build_java_class,
+ p = subprocess.Popen(command, cwd = dir_build_java_classes,
stdout = subprocess.PIPE, stderr = subprocess.PIPE)
return p.communicate()