aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/core/task.py
diff options
context:
space:
mode:
authorrajesh_4k <4k.rajesh@gmail.com>2017-02-27 18:09:00 +0530
committerrajesh_4k <4k.rajesh@gmail.com>2017-03-17 16:21:03 +0530
commit25b21add71fcf7c2c795bd950b5117d69fac68fb (patch)
tree987c921091e0c8a058da91c13bacb731eb01efea /yardstick/benchmark/core/task.py
parentcf967b8bf46b5b1ea77b5ca9a8ccee00fbb1e1d6 (diff)
Yardstick: User interface for Yardstick.
Currently Yardstick doesnt have any UI which gives detail analysis of the test-results. This commit generates a HTML page after the execution of a command "yardstick report generate <task-ID> <TC-name>" which intern can be executed after the execution of test-case. Used: Highcharts.js for the graphs. JIRA: YARDSTICK-280 Change-Id: Ic98cc348719f3922bff178f52e7944a4a931763a Signed-off-by: Rajesh K <4k.rajesh@gmail.com>
Diffstat (limited to 'yardstick/benchmark/core/task.py')
-rw-r--r--yardstick/benchmark/core/task.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/benchmark/core/task.py b/yardstick/benchmark/core/task.py
index 2794d84f4..e23db075e 100644
--- a/yardstick/benchmark/core/task.py
+++ b/yardstick/benchmark/core/task.py
@@ -107,6 +107,10 @@ class Task(object): # pragma: no cover
LOG.info("total finished in %d secs",
total_end_time - total_start_time)
+ scenario = scenarios[0]
+ print("To generate report execute => yardstick report generate ",
+ scenario['task_id'], scenario['tc'])
+
print("Done, exiting")
def _run(self, scenarios, run_in_parallel, output_file):