aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ref_results
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-10-13 23:43:31 +0800
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-10-20 22:41:26 +0800
commit6a0eaa8c0b7bd74261a43e805e7d8cd8498e7845 (patch)
tree2f841c16968edf63a3593d2e0cea4b0d48712fa9 /scripts/ref_results
parent00928695ecae5e7565bc82d22bb807d2603a6d98 (diff)
Push test results to testdb at the end of qtip_server job.
JIRA:QTIP-99 Change-Id: I2a3ba25c1bcb66cf71a65757c3f003838dca614f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Diffstat (limited to 'scripts/ref_results')
-rw-r--r--scripts/ref_results/suite_result.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ref_results/suite_result.py b/scripts/ref_results/suite_result.py
index d0b4647f..4d9eae08 100644
--- a/scripts/ref_results/suite_result.py
+++ b/scripts/ref_results/suite_result.py
@@ -15,7 +15,8 @@ logger = logger_utils.QtipLogger('suite_result').get
def get_benchmark_result(benchmark_name, suite_name):
- benchmark_indices = importlib.import_module('{0}_benchmarks_indices'.format(suite_name))
+ benchmark_indices = importlib.import_module('scripts.ref_results'
+ '.{0}_benchmarks_indices'.format(suite_name))
methodToCall = getattr(benchmark_indices, '{0}_index'.format(benchmark_name))
return methodToCall()