summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuilong xu <huilongx.xu@intel.com>2015-08-07 15:44:55 +0800
committerMarvin Liu <yong.liu@intel.com>2015-08-10 11:19:01 +0800
commitb30fcadd34d40b8763e30b572923da6e156e8519 (patch)
treec7a343bb1196af36b72c2bf8edb4fb99906d1eb3
parenta6b78ffb596117ce273c0d77e23b2d9a2c436de7 (diff)
downloaddts-b30fcadd34d40b8763e30b572923da6e156e8519.zip
dts-b30fcadd34d40b8763e30b572923da6e156e8519.tar.gz
dts-b30fcadd34d40b8763e30b572923da6e156e8519.tar.xz
add case skip result when case running
Signed-off-by: huilong xu <huilongx.xu@intel.com>
-rw-r--r--framework/test_result.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/test_result.py b/framework/test_result.py
index 79faee1..9cef34c 100644
--- a/framework/test_result.py
+++ b/framework/test_result.py
@@ -157,6 +157,12 @@ class Result(object):
"""
self.__set_test_case_result(result='PASSED', message='')
+ def test_case_skip(self,message):
+ """
+ set last test case add as N/A
+ """
+ self.__set_test_case_result(result='N/A', message=message)
+
def test_case_failed(self, message):
"""
Set last test case added as FAILED