diff options
author | 2016-06-01 18:44:39 +0000 | |
---|---|---|
committer | 2016-06-01 18:44:39 +0000 | |
commit | 6a75ef2591b93d05c96a9aace7266dcf952fa495 (patch) | |
tree | 911167262797ba3bd23b5fba60e57295a2a48424 /func/cli.py | |
parent | 052df6190466f5b9f2722fa1885cf08f6da1e629 (diff) | |
parent | 1dd916e557d60a05dcedc0e741ab7cbb94f85c64 (diff) |
Merge "Read the proxy info from testcase, and set it to hosts when dhrystone benchmarks test."
Diffstat (limited to 'func/cli.py')
-rw-r--r-- | func/cli.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/func/cli.py b/func/cli.py index 03a5cc69..76e0e19a 100644 --- a/func/cli.py +++ b/func/cli.py @@ -87,7 +87,7 @@ class cli(): obj='' obj = Env_setup() if os.path.isfile('./test_cases/'+args.lab.lower()+'/'+suite[0]+'/' +benchmarks[items]): - [benchmark, roles, vm_info, benchmark_details, pip] = obj.parse('./test_cases/' + [benchmark, roles, vm_info, benchmark_details, pip, proxy_info] = obj.parse('./test_cases/' +args.lab.lower()+'/'+suite[0]+'/'+benchmarks[items]) if len(vm_info) != 0: @@ -101,7 +101,8 @@ class cli(): obj.roles_dict.items(), self._get_fname(benchmarks[items]), benchmark_details, - obj.ip_pw_dict.items()) + obj.ip_pw_dict.items(), + proxy_info) else: print (benchmarks[items], ' is not a Template in the Directory - \ Enter a Valid file name. or use qtip.py -h for list') |