diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2015-03-19 13:11:30 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2015-03-20 17:12:34 +0800 |
commit | bb1d6b1cb8cdcadd0a76d4f048d2831ef1170f9b (patch) | |
tree | 077102acc860351c445e64d3b3bdc51f55e5673b /scimark | |
parent | 11b3ba6ed690e07e3a3b9da5e9cddde58e48719d (diff) |
add flag to indicate if the we record the result in the local csv file
test locally with several apks,
and update javawhetstone and scimark for 5.1
Change-Id: Idd58bc3f2ac9f142ae662f39844c5c1cb0b7c8a6
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'scimark')
-rw-r--r-- | scimark/vc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scimark/vc.py b/scimark/vc.py index a8a7eb9..d059c43 100644 --- a/scimark/vc.py +++ b/scimark/vc.py @@ -30,12 +30,12 @@ while(not finished): if results.getText().find("Done") > 0: finished = True print "benchmark finished" - for line in results.getText().replace(": ?", ":").split("?"): + for line in results.getText().split("\n"): + line = str(line.strip()) key_val = line.split(":") if len(key_val) == 2: if key_val[0].strip() in keys: key = key_val[0].strip().replace(' ', '_').replace('(', '').replace(')', '').replace(',', '') - print "%s=%s" % (key, key_val[1].strip()) call([f_output_result, key, 'pass', key_val[1].strip(), 'Mflops']) except ViewNotFoundException: pass |