test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] fix skip case comments error
@ 2015-11-05 10:27 xu,huilong
  2015-11-05 13:00 ` Liu, Yong
  0 siblings, 1 reply; 4+ messages in thread
From: xu,huilong @ 2015-11-05 10:27 UTC (permalink / raw)
  To: dts

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 framework/checkCase.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/checkCase.py b/framework/checkCase.py
index 6026abe..e7b22f1 100644
--- a/framework/checkCase.py
+++ b/framework/checkCase.py
@@ -112,6 +112,7 @@ class check_case_skip():
 
     def case_skip(self, case_name):
         skip_flage = False
+        self.comments = ""
         for rule in filter_case[1:]:
             # check case name
             if case_name == rule[0]:
-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [dts] [PATCH] fix skip case comments error
@ 2015-10-23  3:05 xu,huilong
  2015-10-23  5:04 ` Liu, Yong
  0 siblings, 1 reply; 4+ messages in thread
From: xu,huilong @ 2015-10-23  3:05 UTC (permalink / raw)
  To: dts

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 framework/checkCase.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/checkCase.py b/framework/checkCase.py
index 9e1dca8..6026abe 100644
--- a/framework/checkCase.py
+++ b/framework/checkCase.py
@@ -162,6 +162,8 @@ class check_case_support(check_case_skip):
                         break
 
                 if support_flag is False:
+                    # empty last skip case comments
+                    self.comments = ''
                     if 'message' in support_function_dict:
                         for i in support_function_dict['message']:
                             self.comments += '%s,' % rule[i]
-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-05 12:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-05 10:27 [dts] [PATCH] fix skip case comments error xu,huilong
2015-11-05 13:00 ` Liu, Yong
  -- strict thread matches above, loose matches on Subject: below --
2015-10-23  3:05 xu,huilong
2015-10-23  5:04 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).