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 68989A00C5; Wed, 8 Jul 2020 10:05:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E9CA1DBB8; Wed, 8 Jul 2020 10:05:37 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3384A1D9D9 for ; Wed, 8 Jul 2020 10:05:35 +0200 (CEST) IronPort-SDR: qOD645SzrWz3UqwgEYS5FqaPw4/jSYgB50jyVSkvHf3k1OIPFL5QCrMzFVw341mOTOIwfiCcvi wNGB+3EhieZA== X-IronPort-AV: E=McAfee;i="6000,8403,9675"; a="146825931" X-IronPort-AV: E=Sophos;i="5.75,327,1589266800"; d="scan'208";a="146825931" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 01:05:34 -0700 IronPort-SDR: LDxTkG0v7LDhZFBqbtaqflvE9Q0WAXDqmZbM4wAFra456gBbQ1QDQtm2CeJjFC7qRyOHQon2cL kZrnAicmowiA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,327,1589266800"; d="scan'208";a="267061242" Received: from unknown (HELO dpdk-MoYuFen06.sh.intel.com) ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 08 Jul 2020 01:05:33 -0700 From: yufengmx To: dts@dpdk.org, lijuan.tu@intel.com, lihongx.ma@intel.com Cc: yufengmx Date: Wed, 8 Jul 2020 16:04:23 +0800 Message-Id: <20200708080423.29453-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200708080423.29453-1-yufengx.mo@intel.com> References: <20200708080423.29453-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 1/1] l3fwd: update throughput delta 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" Throughput delta = run value - expected value. Signed-off-by: yufengmx --- tests/l3fwd_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py index a6e26b0..1f4d037 100644 --- a/tests/l3fwd_base.py +++ b/tests/l3fwd_base.py @@ -827,11 +827,12 @@ class L3fwdBase(object): expected, pps, round(gap, 2)) self.logger.error(msg) else: + expected = pps msg = ('{0} {1} expected throughput value is not set, ' 'ignore check').format(config, frame_size) self.logger.warning(msg) status = 'pass' - js_results.append([status, [pps, linerate - pps], percentage, config, frame_size]) + js_results.append([status, [pps, pps - expected], percentage, config, frame_size]) # save data with json format self.__save_throughput_result(self.__cur_case, js_results) # display result table -- 2.21.0