summaryrefslogtreecommitdiffstats
path: root/func/args_handler.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-07Rename `suit` to `suite`Yujun Zhang1-6/+6
We should use correct words for naming. Change-Id: Ia1ec690fca62259b5f226e2d6941a507cc61786e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-01Running a single benchmark as an option for user.linux_geek1-0/+4
JIRA: QTIP-104 Change-Id: I4413d1e2670192b86af0aad62fb2752d2709fa14 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-09-23Return the ansible playbook running results in driver.py and args_handler.pyzhifeng.jiang1-5/+6
JIRA:QTIP-99 Change-Id: I875ad52bc69a843e39deb92ad45da90c2e737aae Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-20Run benchmark test in restful server post apizhifeng.jiang1-6/+10
modification: Call ansible async in restful server post api Set the job state 'finished' when finish benchmark test Terminate the next benchmark in restful server delete api job result will be in next commit JIRA:QTIP-97 Change-Id: I252482dddd9b35ba33f992e8ea19037d8919fad6 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-08Remove os environment in driver.py so that it can be called by restful serverzhifeng.jiang1-4/+7
modification: Change os environments to parameters in driver.py Pass the parameters in cli.py and arg_handler.py JIRA:QTIP-97 Change-Id: Id67acb7e0ac46fa9e0e32481e947055b6d37dd95 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-21Code refactoring cli.py so that it can be reused by restful server.zhifeng.jiang1-0/+59
modification: Move function in cli.py to args_handler.py Add unit test for args_handler.py Add unit test for cli.py Delete print in driver.py to pass unit test JIRA:QTIP-99 Change-Id: Ib670d7dff494f3e04cdbe1de5c247d382b1052c1 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>