summaryrefslogtreecommitdiffstats
path: root/dovetail/test_runner.py
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-03-22 05:25:54 -0400
committerMatthewLi <matthew.lijun@huawei.com>2017-04-01 00:02:50 -0400
commitfc04c41594a8f30e2e79b1e452b87844ee077f30 (patch)
tree57d81d88bc288505a8b0eae722209972553ea546 /dovetail/test_runner.py
parentaa8654d4f3f727f99016aaa540c8d5aa3f79edcb (diff)
refstack result parse
JIRA: DOVETAIL-375 1, together with other testsuite from functest, such as tempest etc. this should merge after https://gerrit.opnfv.org/gerrit/#/c/31313/ 2, delete some unnecessary definition 3, bugfix of docker cp inside container, see https://build.opnfv.org/ci/view/dovetail/job/dovetail-compass-baremetal-debug-master/361/console 4, disable tempest testcaes since changed to refstack_defcore Change-Id: I67503e348af4a3f697f1b4106bfe81c05add8aa0 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r--dovetail/test_runner.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index 32a18743..2c1b7fd6 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -48,9 +48,10 @@ class DockerRunner(object):
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)
-
+ self.testcase.mk_src_file()
+ src_path = self.testcase.pre_copy_src_path(self.type)
+ ret, msg = Container.pre_copy(container_id, src_path,
+ dest_path)
if not self.testcase.prepared():
prepare_failed = False
cmds = self.testcase.pre_condition()