From e04b1b9a22f93bb1783ff9e82486aec38dcb0efb Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Thu, 23 Jun 2016 10:01:27 +0100 Subject: results: Write trafficgen results into CSV Write test results provided by traffic generator into CSV file also in case, that trafficgen mode is selected. JIRA: VSPERF-288 Change-Id: Ib55f9f81aadef7dd20a5dce4b000dc2c9607cb95 Signed-off-by: Martin Klozik Reviewed-by: Maryam Tahhan Reviewed-by: Al Morton Reviewed-by: Christian Trautman --- vsperf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vsperf') diff --git a/vsperf b/vsperf index 789e5df8..f2f443be 100755 --- a/vsperf +++ b/vsperf @@ -622,6 +622,10 @@ def main(): traffic_ctl.send_traffic(traffic) _LOGGER.debug("Traffic Results:") traffic_ctl.print_results() + + # write results into CSV file + result_file = os.path.join(results_path, "result.csv") + PerformanceTestCase.write_result_to_file(traffic_ctl.get_results(), result_file) else: # configure tests if args['integration']: -- cgit 1.2.3-korg