diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2016-01-13 18:56:20 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2016-01-13 18:58:36 +0800 |
commit | ecf4c4e5e84edffd825fa857cc37167d93351f63 (patch) | |
tree | 5413374de0f27cd56b0e1067eb66ddba75348424 | |
parent | d0628747807f7f3ec0de328f08a1b0163b304fa8 (diff) |
antutu6.0: add prefix for test items
Change-Id: I6f893d0752dde32e2ea7b736b57180ee5fce9e82
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-x | antutu6.0/vc.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/antutu6.0/vc.py b/antutu6.0/vc.py index af75492..310cc23 100755 --- a/antutu6.0/vc.py +++ b/antutu6.0/vc.py @@ -51,10 +51,10 @@ def parse_result(item): root).getText().strip() try: score = int(score) - call([f_output_result, item.upper(), 'pass', str(score), 'points']) + call([f_output_result, "antutu6_%s" % item.upper(), 'pass', str(score), 'points']) antutu_sum = antutu_sum + int(score) except ValueError: - call([f_output_result, item.upper(), 'faile']) + call([f_output_result, "antutu6_%s" % item.upper(), 'faile']) subitems = vc.findViewById("com.antutu.ABenchMark:id/lv_child_item", root) @@ -70,10 +70,10 @@ def parse_result(item): ch).getText().strip() try: subitem_score = int(subitem_score) - call([f_output_result, subitem_key, + call([f_output_result, "antutu6_%s" % subitem_key, 'pass', str(subitem_score), 'points']) except ValueError: - call([f_output_result, subitem_key, 'fail']) + call([f_output_result, "antutu6_%s" % subitem_key, 'fail']) def main(): @@ -117,7 +117,7 @@ def main(): parse_result("ux") parse_result("3d") - call([f_output_result, "AnTuTu6.0_total", 'pass', + call([f_output_result, "antutu6_total", 'pass', str(antutu_sum), 'points']) if __name__ == '__main__': |