diff options
Diffstat (limited to 'benchmarkpi/vc.py')
-rwxr-xr-x | benchmarkpi/vc.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/benchmarkpi/vc.py b/benchmarkpi/vc.py index 408f479..0902061 100755 --- a/benchmarkpi/vc.py +++ b/benchmarkpi/vc.py @@ -1,13 +1,17 @@ # Author: Botao Sun <botao.sun@linaro.org> +import os import sys import time from subprocess import call from com.dtmilano.android.viewclient import ViewClient, ViewNotFoundException +parent_dir = os.path.realpath(os.path.dirname(__file__)) +f_output_result="%s/../common/output-test-result.sh" % parent_dir + def collect_score(benchmark_name, run_result, score_number, score_unit): - call(['lava-test-case', benchmark_name, '--result', run_result, '--measurement', score_number, '--units', score_unit]) + call([f_output_result, benchmark_name, run_result, score_number, score_unit]) benchmark_name = "BenchmarkPi" kwargs1 = {'verbose': False, 'ignoresecuredevice': False} |