From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 022155954 for ; Fri, 7 Aug 2015 09:45:10 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 07 Aug 2015 00:45:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,628,1432623600"; d="scan'208";a="763854696" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 07 Aug 2015 00:45:10 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t777j8KW032122; Fri, 7 Aug 2015 15:45:08 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t777j5KV001830; Fri, 7 Aug 2015 15:45:07 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t777j5jU001826; Fri, 7 Aug 2015 15:45:05 +0800 From: "huilong,xu" To: dts@dpdk.org Date: Fri, 7 Aug 2015 15:44:55 +0800 Message-Id: <1438933497-1741-4-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1438933497-1741-1-git-send-email-huilongx.xu@intel.com> References: <1438933497-1741-1-git-send-email-huilongx.xu@intel.com> Subject: [dts] [PATCH V2 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 07:45:11 -0000 From: huilong xu Signed-off-by: huilong xu 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 -- 1.7.4.4