From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35F0CA034F; Mon, 22 Mar 2021 03:55:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30E28140EE6; Mon, 22 Mar 2021 03:55:36 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 2A95F140EE6 for ; Mon, 22 Mar 2021 03:55:35 +0100 (CET) IronPort-SDR: uSarxUbADkm9P7kczS9rOld9yKI43QX1iEvr3eLBcQ0zmBK0JILt/o7++9mKriPUJfUQC3I9ig EF3bJSJfGOMw== X-IronPort-AV: E=McAfee;i="6000,8403,9930"; a="254189572" X-IronPort-AV: E=Sophos;i="5.81,266,1610438400"; d="scan'208";a="254189572" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2021 19:55:34 -0700 IronPort-SDR: ItHgT8exoEXrVNX/ULU4+wweGvheXgC8qJnuH5ohY45xAAsspcSro+lMeDnPQ9KQSkvi4E21DF cppfNn3iLZdA== X-IronPort-AV: E=Sophos;i="5.81,266,1610438400"; d="scan'208";a="407623031" Received: from unknown (HELO localhost.localdomain) ([10.240.183.57]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2021 19:55:33 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: lijuan.tu@intel.com, Haiyang Zhao Date: Mon, 22 Mar 2021 10:46:15 +0800 Message-Id: <20210322024616.14499-6-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210322024616.14499-1-haiyangx.zhao@intel.com> References: <20210322024616.14499-1-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 5/6] framework/excel_reporter: add driver/firmware/pkg X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" add driver/firmware/pkg info in excel format result file. Signed-off-by: Haiyang Zhao --- framework/excel_reporter.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/framework/excel_reporter.py b/framework/excel_reporter.py index 89b9a175..747f577e 100644 --- a/framework/excel_reporter.py +++ b/framework/excel_reporter.py @@ -193,8 +193,20 @@ class ExcelReporter(object): def __write_nic(self, dut, target): nic = self.result.current_nic(dut, target) + driver = self.result.current_driver(dut) + kdriver = self.result.current_kdriver(dut) + firmware = self.result.current_firmware_version(dut) + pkg = self.result.current_package_version(dut) self.col += 1 + self.sheet.col(self.col).width = 32 * 256 # 32 characters self.sheet.write(self.row, self.col, nic, self.title_style) + self.sheet.write(self.row+1, self.col, 'driver: ' + driver) + self.sheet.write(self.row+2, self.col, 'kdriver: ' + kdriver) + self.sheet.write(self.row+3, self.col, 'firmware: ' + firmware) + if pkg is not None: + self.sheet.write(self.row+4, self.col, 'pkg: ' + pkg) + self.row = self.row + 1 + self.row = self.row + 3 self.__write_suites(dut, target) self.col -= 1 -- 2.17.1