summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/yardstick
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-02-24 08:59:11 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2017-02-24 09:46:21 +0100
commit498efbd7ddce3cdb90f6818f7a88dcfd9b50ba84 (patch)
treefa89bf4184fb1711c45747f55cac76d5192eb763 /utils/test/reporting/yardstick
parent88cd7e80f8413dee424b870b157ced56a7e9eab9 (diff)
Add storperf reportign status page
Create associated static storperf page Prepare vsperf, qtip, bottlenecks Put Yardstick scenario class into utils directory Change-Id: I874d1733fe3f37dc5dd557559478e7e0b25371d7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/yardstick')
-rw-r--r--utils/test/reporting/yardstick/reporting-status.py2
-rw-r--r--utils/test/reporting/yardstick/scenarioResult.py29
2 files changed, 1 insertions, 30 deletions
diff --git a/utils/test/reporting/yardstick/reporting-status.py b/utils/test/reporting/yardstick/reporting-status.py
index a0f0b0184..12f42ca31 100644
--- a/utils/test/reporting/yardstick/reporting-status.py
+++ b/utils/test/reporting/yardstick/reporting-status.py
@@ -10,7 +10,7 @@ import datetime
import jinja2
import os
-import scenarioResult as sr
+import utils.scenarioResult as sr
from scenarios import config as cf
# manage conf
diff --git a/utils/test/reporting/yardstick/scenarioResult.py b/utils/test/reporting/yardstick/scenarioResult.py
deleted file mode 100644
index 1f7eb2b24..000000000
--- a/utils/test/reporting/yardstick/scenarioResult.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/python
-#
-# This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-
-
-class ScenarioResult(object):
- def __init__(self, status, four_days_score='', ten_days_score='',
- score_percent=0.0):
- self.status = status
- self.four_days_score = four_days_score
- self.ten_days_score = ten_days_score
- self.score_percent = score_percent
-
- def getStatus(self):
- return self.status
-
- def getTenDaysScore(self):
- return self.ten_days_score
-
- def getFourDaysScore(self):
- return self.four_days_score
-
- def getScorePercent(self):
- return self.score_percent