summaryrefslogtreecommitdiffstats
path: root/scripts
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
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')
-rw-r--r--scripts/__init__.py0
-rw-r--r--scripts/ref_results/suite_result.py3
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/__init__.py b/scripts/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/scripts/__init__.py
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()