diff options
author | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-10-28 09:22:18 +0800 |
---|---|---|
committer | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-11-01 14:48:21 +0800 |
commit | 1036c7393215f69c9e4097c0ab793df5065befbb (patch) | |
tree | 67a311ec8b9cfd15a607be2e9fbd5cb7c91e8fec /scripts/ref_results/index_calculation.py | |
parent | 5e05382c7238017d25548829893445c566239f1e (diff) |
Bugfix:Fix index always be 0 problem.
modification:
Add testcase yaml format auto in index_calculate;
Delete generator_ref_json.py
Fix SSL AES arg value wrong problems when calling 'get_index'
JIRA:QTIP-130
Change-Id: Ic05e4ed6b63e4011a2113f11bc84763303546c73
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Diffstat (limited to 'scripts/ref_results/index_calculation.py')
-rw-r--r-- | scripts/ref_results/index_calculation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ref_results/index_calculation.py b/scripts/ref_results/index_calculation.py index 4ead79ff..95c3c4a6 100644 --- a/scripts/ref_results/index_calculation.py +++ b/scripts/ref_results/index_calculation.py @@ -28,7 +28,7 @@ def generic_index(dict_gen, testcase, reference_num, *args): result = 0 for k, v in dict_gen.iteritems(): dict_temp = dict_gen[k] - if dict_gen[k]['name'] == str(testcase): + if dict_gen[k]['name'] == '{0}.yaml'.format(testcase): count = count + 1 for arg in args: if arg == args[c - 1]: |