From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5E3725954 for ; Fri, 7 Aug 2015 09:45:26 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 07 Aug 2015 00:45:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,628,1432623600"; d="scan'208";a="743987460" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 07 Aug 2015 00:45:07 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t777j5el032103; Fri, 7 Aug 2015 15:45:05 +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 t777j3Ao001823; Fri, 7 Aug 2015 15:45:05 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t777j3N6001819; Fri, 7 Aug 2015 15:45:03 +0800 From: "huilong,xu" To: dts@dpdk.org Date: Fri, 7 Aug 2015 15:44:54 +0800 Message-Id: <1438933497-1741-3-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 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 07:45:26 -0000 From: huilong xu Signed-off-by: huilong xu 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