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 D12D3A00C2; Wed, 17 Mar 2021 08:25:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A47ED242B28; Wed, 17 Mar 2021 08:25:38 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E2B5E4014D for ; Wed, 17 Mar 2021 08:25:36 +0100 (CET) IronPort-SDR: chiU/SqYfvTi5Qf5r+ZgUEp9ZP9M3+lYkl/IPLhh74zCpysoaAS4J5yHgfGHfe3hKvAI3asBqv GJzJdIv2tRag== X-IronPort-AV: E=McAfee;i="6000,8403,9925"; a="209369024" X-IronPort-AV: E=Sophos;i="5.81,255,1610438400"; d="scan'208";a="209369024" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2021 00:25:36 -0700 IronPort-SDR: OW0NrBw7JXPl7HToXWBFD6HhtT/tmeZB7Y+WuTA7cuGyAvo7gbWrJvCh9uG0SPciqXsvtvjEZS mLirLRCoWC1A== X-IronPort-AV: E=Sophos;i="5.81,255,1610438400"; d="scan'208";a="405829276" Received: from unknown (HELO localhost.localdomain) ([10.240.183.57]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2021 00:25:34 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: Lijuan.Tu@intel.com, Haiyang Zhao Date: Wed, 17 Mar 2021 15:16:20 +0800 Message-Id: <20210317071625.13041-1-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1 0/5] framework: add a proposal of recognizing pkgs 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" Now there are os default/comms/wireless pkgs for CVL NIC, and they support different protocals. Some suite like l2tp_esp_coverage are partly support these pkgs, we replace the pkg in suite to support the case in the past, but this may occur exception and the result may not be we want, so we provide a new proposal by adding a decorate above test case to check if the pkg support current case, and do not replace pkg in suite. This patch set is the proposal of framework modification. Haiyang Zhao (5): framework/exception: add new exception VerifySkip framework/test_case: handle the VerifySkip exception and add some functions nics/net_device: add attribute pkg and get method framework/dut: get nic package in dut prerequisites tests: add nic and pkg check for rss_gtpu framework/dut.py | 23 +++- framework/exception.py | 13 +++ framework/test_case.py | 102 +++++++++++++++--- nics/net_device.py | 13 ++- tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py | 5 +- tests/TestSuite_cvl_advanced_rss_gtpu.py | 5 +- 6 files changed, 143 insertions(+), 18 deletions(-) -- 2.17.1