From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 763F6A0524; Fri, 27 Nov 2020 03:56:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7BEF1CAB9; Fri, 27 Nov 2020 03:56:56 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 09595CAB9 for ; Fri, 27 Nov 2020 03:56:53 +0100 (CET) IronPort-SDR: 5pQoARnjSFSDJ+hh69bIQQEpTZOU4nEf3hHCOvzKnG8NpuUy0k4Q25kBJl05SmR3vgrrsJSDfZ 4bRBDHzEbHkA== X-IronPort-AV: E=McAfee;i="6000,8403,9817"; a="233947114" X-IronPort-AV: E=Sophos;i="5.78,373,1599548400"; d="scan'208";a="233947114" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 18:56:53 -0800 IronPort-SDR: gvRJuLJlZqAVjymwZkHEDMniCJnRXVRNNE2LBPLxLx7PITwyUc4tlFlx0A3skKyuE+GmMSd6Pk a7pvNAJqNNeg== X-IronPort-AV: E=Sophos;i="5.78,373,1599548400"; d="scan'208";a="313557323" Received: from unknown (HELO localhost.localdomain) ([10.240.183.57]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 18:56:52 -0800 From: Haiyang Zhao To: Lijuan.Tu@intel.com, dts@dpdk.org Cc: Haiyang Zhao Date: Fri, 27 Nov 2020 10:50:27 +0800 Message-Id: <20201127025029.22276-6-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201127025029.22276-1-haiyangx.zhao@intel.com> References: <20201127025029.22276-1-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 5/7] framework/json_reporter: add dpdk version in json 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" result add dpdk version in json result. Signed-off-by: Haiyang Zhao --- framework/json_reporter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/json_reporter.py b/framework/json_reporter.py index 1b15bbe..88099cb 100644 --- a/framework/json_reporter.py +++ b/framework/json_reporter.py @@ -64,6 +64,7 @@ class JSONReporter(object): if result.is_dut_failed(dut): return 'fail' target_map = {} + target_map['dpdk_version'] = result.current_dpdk_version(dut) for target in result.all_targets(dut): target_map[target] = self.__scan_target(result, dut, target) return target_map -- 2.17.1