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 AF8565682 for ; Fri, 7 Aug 2015 08:03:22 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 06 Aug 2015 23:03:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,628,1432623600"; d="scan'208";a="537566864" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 06 Aug 2015 23:03:20 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t7763IC6008318; Fri, 7 Aug 2015 14:03:18 +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 t7763Gth000903; Fri, 7 Aug 2015 14:03:18 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t7763Gx1000899; Fri, 7 Aug 2015 14:03:16 +0800 From: "huilong,xu" To: dts@dpdk.org Date: Fri, 7 Aug 2015 14:03:07 +0800 Message-Id: <1438927390-855-3-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1438927390-855-1-git-send-email-huilongx.xu@intel.com> References: <1438927390-855-1-git-send-email-huilongx.xu@intel.com> Subject: [dts] [PATCH V1 2/5] add N/A result in test report 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:03:23 -0000 From: huilong xu Signed-off-by: huilong xu --- framework/excel_reporter.py | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/framework/excel_reporter.py b/framework/excel_reporter.py index 809dead..2030d87 100644 --- a/framework/excel_reporter.py +++ b/framework/excel_reporter.py @@ -85,13 +85,15 @@ class ExcelReporter(object): self.sheet.write(0, 7, 'Pass', self.header_style) self.sheet.write(0, 8, 'Fail', self.header_style) self.sheet.write(0, 9, 'Blocked', self.header_style) - self.sheet.write(0, 10, 'Not Run', self.header_style) - self.sheet.write(0, 11, 'Total', self.header_style) + self.sheet.write(0, 10, 'N/A', self.header_style) + self.sheet.write(0, 11, 'Not Run', self.header_style) + self.sheet.write(0, 12, 'Total', self.header_style) self.sheet.write(1, 7, Formula('COUNTIF(F2:F2000,"PASSED")')) self.sheet.write(1, 8, Formula('COUNTIF(F2:F2000,"FAILED*") + COUNTIF(F2:F2000,"IXA*")')) self.sheet.write(1, 9, Formula('COUNTIF(F2:F2000,"BLOCKED*")')) - self.sheet.write(1, 11, Formula('H2+I2+J2+K2')) + self.sheet.write(1, 10, Formula('COUNTIF(F2:F2000,"N/A*")')) + self.sheet.write(1, 12, Formula('H2+I2+J2+K2+L2')) self.sheet.col(0).width = 4000 self.sheet.col(1).width = 7500 @@ -105,6 +107,7 @@ class ExcelReporter(object): self.sheet.col(9).width = 3000 self.sheet.col(10).width = 3000 self.sheet.col(11).width = 3000 + self.sheet.col(12).width = 3000 def __styles(self): header_pattern = xlwt.Pattern() -- 1.7.4.4