1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 from __future__ import print_function
14 def __init__(self, kwargs):
16 self.inputfile = kwargs.get('inputfile')
17 self.task_args = kwargs.get('task-args')
18 self.task_args_file = kwargs.get('task-args-file')
19 self.keep_deploy = kwargs.get('keep-deploy')
20 self.parse_only = kwargs.get('parse-only')
21 self.output_file = kwargs.get('output-file', '/tmp/yardstick.out')
22 self.suite = kwargs.get('suite')
25 self.input_file = kwargs.get('input_file')
28 self.casename = kwargs.get('casename')
31 self.type = kwargs.get('type')
34 def print_hbar(barlen):
35 """print to stdout a horizontal bar"""