diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2017-03-22 02:39:25 -0400 |
---|---|---|
committer | Jun Li <matthew.lijun@huawei.com> | 2017-03-30 07:25:47 +0000 |
commit | d2a04a76f9f03ca4c34cfed335c14d7c3319c634 (patch) | |
tree | 236429b66a2e41f922f5da3e645c44221ea06c51 /dovetail/test_runner.py | |
parent | e0f4b3a6f279e8e3f4bc05307d60d6983cc60735 (diff) |
dovetail tool: refstack testcase integration
JIRA: DOVETAIL-370
Change-Id: I60c9f431358f848e24abcb865c4b2ca8c3b2d843
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r-- | dovetail/test_runner.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py index ea58768c..a67a6314 100644 --- a/dovetail/test_runner.py +++ b/dovetail/test_runner.py @@ -45,6 +45,11 @@ class DockerRunner(object): self.logger.debug('container id:%s', container_id) + dest_path = self.testcase.pre_copy_dest_path() + if dest_path: + src_path = self.testcase.mk_src_file() + ret, msg = Container.pre_copy(container_id, src_path, dest_path) + if not self.testcase.prepared(): prepare_failed = False cmds = self.testcase.pre_condition() |