From patchwork Thu May 26 02:08:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yingya Han X-Patchwork-Id: 111874 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5614BA0548; Thu, 26 May 2022 04:08:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50E7740150; Thu, 26 May 2022 04:08:56 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id D844340146 for ; Thu, 26 May 2022 04:08:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653530935; x=1685066935; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8lDNhhf7Eq6TAwBXHCd/bejJOZZ9CDYXXcP9qTiQgeg=; b=R+EqQO9G5H/ocDBwuPLxbqfQS9r0k5dnJDwq06+mNBtVN8cVD5I044K4 InrpE57sXsDTlTt70QRYJcrV1GlRzhv3bWKpXdmVVvc58FYExejo+GkKl XeAtqAdDTbqxTD6guAjoI9w3U6KVgDR+yBObtgs8sNC/LpqLR4W23IZLa QTym6pZrtFAXA6ZNUaIIq7nPzFAqkAx9xOXWgREVun6Ich1TrHgvlt6WR lm8Q18hM3yTFjBG1LqlmJjbURIcyRQx9YA1WsJOZ6PlQki/6LwSguWlnh 2EVESlyNjVBsYp/F28U855PAhO+/8gZuDwqA2B91O377JyWWp6KG4I+Yq w==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="274102447" X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="274102447" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 19:08:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="602666096" Received: from dpdk-lijuan-icelake4.sh.intel.com ([10.67.118.254]) by orsmga008.jf.intel.com with ESMTP; 25 May 2022 19:08:52 -0700 From: Yingya Han To: dts@dpdk.org Cc: Yingya Han Subject: [dts][PATCH V3]tests/perf_test_base: remove duplicate cores Date: Thu, 26 May 2022 10:08:49 +0800 Message-Id: <20220526020849.3703186-1-yingyax.han@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 Signed-off-by: Yingya Han --- tests/perf_test_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/perf_test_base.py b/tests/perf_test_base.py index d60572e0..c108a228 100644 --- a/tests/perf_test_base.py +++ b/tests/perf_test_base.py @@ -1362,6 +1362,7 @@ class PerfTestBase(object): # ignore first 2 cores _corelist = (corelist * (total // len(corelist) + 1))[:total] [grp[index].append(core) for index, core in enumerate(_corelist)] + _corelist = list(set(_corelist)) [ configs.append( [