summaryrefslogtreecommitdiffstats
path: root/dovetail/test_runner.py
diff options
context:
space:
mode:
authorLeo Wang <grakiss.wanglei@huawei.com>2016-12-14 04:20:09 -0500
committerLeo Wang <grakiss.wanglei@huawei.com>2016-12-14 04:20:09 -0500
commite5be1b8b5c5e2714ad4a558da2aa3727a70ef516 (patch)
tree6bbd744ae853e42302fb005ad69bfdf653b753d5 /dovetail/test_runner.py
parent461902c1f4f840d361d014b079371f99544e5c17 (diff)
[dovetail tool] support shell scripts for testcase validation
JIRA: DOVETAIL-46 1. for now a testcase has two kinds of validation types(functest, yardstick), and it is not enough to check the complete funcionality 2. add new validation type(shell) for extra validation of the test case to make result more accurate and more convincing. Change-Id: I5c049a71f11cca71a7914f8af704c1983aba3dca Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r--dovetail/test_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index bc0e4679..8a95b1f7 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -38,7 +38,7 @@ class DockerRunner(object):
if not self.testcase.prepare_cmd():
self.logger.error('failed to prepare testcase:%s',
- self.testcase.name())
+ self.testcase.name)
else:
for cmd in self.testcase.cmds:
Container.exec_cmd(container_id, cmd)