From patchwork Tue Apr 25 03:03:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 126495 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 59A14429E4; Tue, 25 Apr 2023 05:05:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A55F40A7E; Tue, 25 Apr 2023 05:05:38 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id DBBB9400D7 for ; Tue, 25 Apr 2023 05:05:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682391937; x=1713927937; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iSjrqN1wfIE0H70Do7flYjYMTQR2Xyzxf09LrJ+Nse4=; b=Sxcy4pHTx5IpjZ5yFV6Z+NUsJyZGGS/6Nu2hHdXghRWwROVyXjcJAflT 89WDUZ26LfPkwaci18f2PNICCLmWgvnm28a6QuMcEwkerM9OYS2Imn9mi 6NZzI9hSPTnNZnkPrV1kHzDHtlL4PH5wbdvq9IxBy85S4kkKvOiIgRSFo iydVUdg93ibpbhxMlchMeSHuOiblQLBxhg5yTjrP7hi0mPnXX7UICjDtZ olU0WwzrVzjT8hyC+Jd3cMcrFuMw7FBDCB7kct9v0khvKeuaHv8BSvtJp G7Wv5Qfo/42emdMUP/eVLCdQVXepslLMpG4stDwfDAme9MgdyPya5C751 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="326945732" X-IronPort-AV: E=Sophos;i="5.99,224,1677571200"; d="scan'208";a="326945732" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 20:05:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="939584754" X-IronPort-AV: E=Sophos;i="5.99,224,1677571200"; d="scan'208";a="939584754" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 20:05:34 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 0/2] add expected value in suite config to Date: Tue, 25 Apr 2023 11:03:42 +0800 Message-Id: <20230425030344.2958301-1-weix.ling@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 Optimize the verify expected value from hard code to read from conf/pvp_virtio_user_2M_hugepages.cfg to adapt different platform. Wei Ling (2): tests/pvp_virtio_user_2M_hugepages: add expected value in suite config to verify conf/pvp_virtio_user_2M_hugepages: add suite config to save expected value conf/pvp_virtio_user_2M_hugepages.cfg | 11 ++ .../TestSuite_pvp_virtio_user_2M_hugepages.py | 141 +++++++++++------- 2 files changed, 101 insertions(+), 51 deletions(-) create mode 100644 conf/pvp_virtio_user_2M_hugepages.cfg