Bugfix: pre_condition cmds is just executed once 25/39925/2
authorxudan <xudan16@huawei.com>
Wed, 23 Aug 2017 01:24:09 +0000 (21:24 -0400)
committerxudan <xudan16@huawei.com>
Thu, 24 Aug 2017 02:28:53 +0000 (22:28 -0400)
commit6992a014039eaea3377b984c2bddbad88ed67e2a
treeb94274c9d2ca7156ff1a067a93569d879604072d
parent90bd864487045df3dcacb32ced88ab247606e482
Bugfix: pre_condition cmds is just executed once

JIRA: DOVETAIL-489

1. All the cmds defined in pre_condition is just executed once for each type
   i.e. functest, yardstick, bottlenecks...
2. The copy cmds defined in each functest test cases are just executed for the
   first test case rather than all test cases.
3. Make the cmds to be executed for each test case.

Change-Id: I571f0eb9dd3cab77fc8597e5a9b5246398804d3e
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/test_runner.py