From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id AC7405A0C for ; Fri, 7 Aug 2015 08:30:02 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 06 Aug 2015 23:30:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,628,1432623600"; d="scan'208";a="779506724" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by orsmga002.jf.intel.com with ESMTP; 06 Aug 2015 23:30:01 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 7 Aug 2015 14:30:00 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.18]) by shsmsx102.ccr.corp.intel.com ([169.254.2.126]) with mapi id 14.03.0224.002; Fri, 7 Aug 2015 14:29:58 +0800 From: "Xu, HuilongX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1 3/5] add case skip result when case running Thread-Index: AQHQ0Ncabxt87oJgFEOEl5NaVxR/B54AEyZw Date: Fri, 7 Aug 2015 06:29:58 +0000 Message-ID: References: <1438927390-855-1-git-send-email-huilongx.xu@intel.com> <1438927390-855-4-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E10EB6813@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E10EB6813@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 3/5] add case skip result when case running X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 06:30:03 -0000 Ok, I will update it at v2 version. > -----Original Message----- > From: Liu, Yong > Sent: Friday, August 07, 2015 2:06 PM > To: Xu, HuilongX; dts@dpdk.org > Subject: RE: [dts] [PATCH V1 3/5] add case skip result when case running >=20 > One comment for add blank line. >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilong,xu > > Sent: Friday, August 07, 2015 2:03 PM > > To: dts@dpdk.org > > Subject: [dts] [PATCH V1 3/5] add case skip result when case running > > > > From: huilong xu > > > > > > Signed-off-by: huilong xu > > --- > > framework/test_result.py | 5 +++++ > > 1 files changed, 5 insertions(+), 0 deletions(-) > > > > diff --git a/framework/test_result.py b/framework/test_result.py > > index 79faee1..2e62d9e 100644 > > --- a/framework/test_result.py > > +++ b/framework/test_result.py > > @@ -157,6 +157,11 @@ class Result(object): > > """ > > self.__set_test_case_result(result=3D'PASSED', message=3D'') > > > > + def test_case_skip(self,message): > > + """ > > + set last test case add as N/A > > + """ > > + self.__set_test_case_result(result=3D'N/A', message=3Dmessage) >=20 > Add blank line here. >=20 > > def test_case_failed(self, message): > > """ > > Set last test case added as FAILED > > -- > > 1.7.4.4